EOS_Presence_QueryPresence

EOS API reference page for EOS_Presence_QueryPresence

2 분 소요

This function is part of the Presence Interface.

Remarks

Query a user's presence. This must complete successfully before CopyPresence will have valid results. If HasPresence returns true for a remote user, this does not need to be called.

Parameters

EOS_Presence_QueryPresence

Parameter Type And NameUsage Information
EOS_HPresence Handle
const EOS_Presence_QueryPresenceOptions* OptionsObject containing properties related to who is querying presence and for what user
void* ClientDataOptional pointer to help track this request, that is returned in the completion callback
const EOS_Presence_OnQueryPresenceCompleteCallback CompletionDelegatePointer to a function that handles receiving the completion information

Callback Function Information

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

Callback Remarks

Callback for information related to EOS_Presence_QueryPresence finishing.

Callback Parameters

EOS_Presence_OnQueryPresenceCompleteCallback

Parameter Type And NameUsage Information
const EOS_Presence_QueryPresenceCallbackInfo* Data