Fetch
Fetch cached DeepLink data from the SDK.
Timing for calling Fetch function:
- Call when the app starts.When the SDK acquires data, it does not know whether the engine layer has set callbacks and is ready to receive data, thus
Fetchneeds to be called to actively fetch the DeepLink data cached by the SDK. - Call upon receiving a DeepLink callback.Receiving a DeepLink callback indicates the SDK has received DeepLink data, and
Fetchshould be called to obtain the latest data.
Common scenario: app is activated through external links while running in the background.
note
After calling Fetch, the SDK's cached data will be cleared.
Function definition
static FString Fetch();
Code sample
FString url = UINTLSDKAPI::Fetch();
Return Value
The Fetch function returns a JSON string with two keys: url and params.
Example:
{
"url":"https://sdk-deeplink-confs.intlgame.com/help?d=h&a=b",
"params":{
"a":"b",
"d":"h"
}
}