enableMeiZuPush method

  1. @Deprecated('Use [EMPushManager.bindDeviceToken] instead.')
void enableMeiZuPush(
  1. String appId,
  2. String appKey
)

~english Enables MeiZu Push on MeiZu devices. Param appId The app ID for MeiZu Push. Param appKey The app key for MeiZu Push. ~end

~chinese 开启魅族推送. Param appId 魅族 App ID. Param appKey 魅族 App Key. ~end

Implementation

@Deprecated('Use [EMPushManager.bindDeviceToken] instead.')

/// ~english
/// Enables MeiZu Push on MeiZu devices.
/// Param [appId] The app ID for MeiZu Push.
/// Param [appKey] The app key for MeiZu Push.
/// ~end
///
/// ~chinese
/// 开启魅族推送.
/// Param [appId] 魅族 App ID.
/// Param [appKey] 魅族 App Key.
/// ~end
void enableMeiZuPush(String appId, String appKey) {
  _pushConfig.mzAppId = appId;
  _pushConfig.mzAppKey = appKey;
}