EOS_KWS_QueryAgeGate

EOS API reference page for EOS_KWS_QueryAgeGate

3 分で読めます

This function is part of the KWS Interface.

Remarks

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

Parameters

EOS_KWS_QueryAgeGate

Parameter Type And NameUsage Information
EOS_HKWS Handle
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

EOS_KWS_OnQueryAgeGateCallback

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