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
Parameters
EOS_KWS_QueryAgeGate
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.
Because this function is asynchronous, it employs a callback of type EOS_KWS_OnQueryAgeGateCallback to report the results of its operation.
Function prototype definition for callbacks passed to EOS_KWS_QueryAgeGate
Callback Parameters
EOS_KWS_OnQueryAgeGateCallback
Parameter Type And Name
|
Usage Information
|
const EOS_KWS_QueryAgeGateCallbackInfo* Data
|
A EOS_KWS_QueryAgeGateCallbackInfo containing the output information and result
|
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
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 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.
Because this function is asynchronous, it employs a callback of type EOS_KWS_OnQueryAgeGateCallback to report the results of its operation.
Function prototype definition for callbacks passed to EOS_KWS_QueryAgeGate
Callback Parameters
KWS.OnQueryAgeGateCallback
Parameter Type And Name
|
Usage Information
|
QueryAgeGateCallbackInfo data
|
A EOS_KWS_QueryAgeGateCallbackInfo containing the output information and result
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no