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
{Result.InvalidParameters} if any of the options are incorrect
{Result.TooManyRequests} if the number of allowed queries is exceeded
Return Value
{Result.Success} if the query completes successfully
Parameters
KWS.KWSInterface.QueryAgeGate
Parameter Type And Name
|
Usage Information
|
QueryAgeGateOptions options
|
options required for interacting with the age gate system
|
object clientData
|
Arbitrary data that is passed back to you in the CompletionDelegate
|
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 object
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.
Because this function is asynchronous, it employs a callback of type KWS.OnQueryAgeGateCallback to report the results of its operation.
Function prototype definition for callbacks passed to {KWSInterface.QueryAgeGate}
Callback Parameters
KWS.OnQueryAgeGateCallback
Parameter Type And Name
|
Usage Information
|
QueryAgeGateCallbackInfo data
|
A EOS_KWS_QueryAgeGateCallbackInfo containing the output information and result
|