EOS API reference page for EOS_KWS_QueryAgeGate

3 mins to read

This function is part of the KWS Interface.


This interface is not available for general access at this time. Query the client's country and age permissions for client side reasoning about the possible need enforce age based restrictions

Return Value

  • EOS_Success if the query completes successfully

  • EOS_InvalidParameters if any of the options are incorrect

  • EOS_TooManyRequests if the number of allowed queries is exceeded



Parameter Type And NameUsage Information
const EOS_KWS_QueryAgeGateOptions* Optionsoptions required for interacting with the age gate system
void* ClientDataArbitrary data that is passed back to you in the CompletionDelegate
const EOS_KWS_OnQueryAgeGateCallback CompletionDelegateA callback that is fired when the operation completes, either successfully or in error

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_KWS_OnQueryAgeGateCallback to report the results of its operation.

Callback Remarks

Function prototype definition for callbacks passed to EOS_KWS_QueryAgeGate

Callback Parameters


Parameter Type And NameUsage Information
const EOS_KWS_QueryAgeGateCallbackInfo* DataA EOS_KWS_QueryAgeGateCallbackInfo containing the output information and result