Skip to main content

SDK Initialization

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see InitSDK for Unreal Engine SDK.

Initializes the SDK.

note

Before calling Player Network SDK module functions, you must first initialize the Player Network SDK.

caution

On Windows devices, you must first call SetDefaultUserStorage.

Function definition

public static void InitSDK();

Code sample

INTLAPI.IsDebug = true; // Set Player Network SDK to Debug mode so that you can print out logs of more levels. The default value is false.
INTLAPI.InitSDK();