EOS_KWS_QueryAgeGate

EOS API reference page for EOS_KWS_QueryAgeGate

This function is part of the [KWS Interface](Interfaces/KWS).

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

Parameter Type And Name

Usage Information

EOS_HKWS Handle

const EOS_KWS_QueryAgeGateOptions* Options

options required for interacting with the age gate system

void* ClientData

Arbitrary data that is passed back to you in the CompletionDelegate

const EOS_KWS_OnQueryAgeGateCallback CompletionDelegate

A callback that is fired when the operation completes, either successfully or in error

This function is asynchronous; the EOS SDK guarantees that your callback (the CompletionDelegate parameter) will run when the operation completes, regardless of whether it succeeds or fails. Use the void* parameter to pass any contextual information the callback may need in order to react properly. Relevant information can be copied from the EOS SDK's cache while the callback function is running. You do not need to remove the callback function.

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 Name

Usage Information

const EOS_KWS_QueryAgeGateCallbackInfo* Data

A EOS_KWS_QueryAgeGateCallbackInfo containing the output information and result

Related API Members