Class EOS_KWS_QueryAgeGateCallbackInfo

java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.kws.callbackresults.EOS_KWS_QueryAgeGateCallbackInfo
Direct Known Subclasses:
EOS_KWS_QueryAgeGateCallbackInfo.ByReference, EOS_KWS_QueryAgeGateCallbackInfo.ByValue

@FieldOrder({"ResultCode","ClientData","CountryCode","AgeOfConsent"}) public class EOS_KWS_QueryAgeGateCallbackInfo extends com.sun.jna.Structure
Output parameters for the EOS_KWS_QueryAgeGate Function. These parameters are received through the callback provided to EOS_KWS_QueryAgeGate
Since:
8/21/2023
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Age of consent in the given country
    com.sun.jna.Pointer
    Context that was passed into EOS_KWS_QueryAgeGate
    Country code determined for this request based on the local client's ip address that the backend resolves
    The EOS_EResult code for the operation.

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EOS_KWS_QueryAgeGateCallbackInfo(com.sun.jna.Pointer peer)
     
  • Method Summary

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ResultCode

      public EOS_EResult ResultCode
      The EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.
      EOS_EResult.EOS_Success if the query completes successfully
      EOS_EResult.EOS_InvalidParameters if any of the options are incorrect
      EOS_EResult.EOS_TooManyRequests if the number of allowed queries is exceeded
    • ClientData

      public com.sun.jna.Pointer ClientData
      Context that was passed into EOS_KWS_QueryAgeGate
    • CountryCode

      public String CountryCode
      Country code determined for this request based on the local client's ip address that the backend resolves
    • AgeOfConsent

      public int AgeOfConsent
      Age of consent in the given country
  • Constructor Details

    • EOS_KWS_QueryAgeGateCallbackInfo

      public EOS_KWS_QueryAgeGateCallbackInfo()
    • EOS_KWS_QueryAgeGateCallbackInfo

      public EOS_KWS_QueryAgeGateCallbackInfo(com.sun.jna.Pointer peer)