init

public static void init(Context context, String appKey)

Initialization.

Parameters

context

The context.

appKey

The unique key for the app.


public static void init(Context context, String appKey, InitOption initOption, boolean isPushEnable)

Initialization (call initialization in the main process of the application). Use this interface when users set their own push server address.

Parameters

context

The context.

appKey

The unique key of the app.