enableOppoPush method

void enableOppoPush(
  1. String appKey,
  2. String secret
)

~english Enable OPPO PUSH on OPPO devices.

Param appKey The app ID for OPPO PUSH.

Param secret The app secret for OPPO PUSH. ~end

~chinese 开启 Oppo 推送。

Param appId Oppo 推送的 App ID。

Param appKey Oppo 推送的 App Key。 ~end

Implementation

void enableOppoPush(String appKey, String secret) {
  _pushConfig.enableOppoPush = true;
  _pushConfig.oppoAppKey = appKey;
  _pushConfig.oppoAppSecret = secret;
}