updateAPNsDeviceToken method

  1. @Deprecated("Use [bindDeviceToken] instead")
Future<void> updateAPNsDeviceToken(
  1. String token
)

~english Updates the APNs push token.

Param token The APNs push token.

Throws A description of the issue that caused this exception. See EMError ~end

~chinese 更新苹果推送(APNs)token。

Param token 要更新的苹果推送(APNs)token。

Throws 如果有异常会在此抛出,包括错误码和错误信息,详见 EMError。 ~end

Implementation

@Deprecated("Use [bindDeviceToken] instead")

/// ~english
/// Updates the APNs push token.
///
/// Param [token] The APNs push token.
///
/// **Throws** A description of the issue that caused this exception. See [EMError]
/// ~end
///
/// ~chinese
/// 更新苹果推送(APNs)token。
///
/// Param [token] 要更新的苹果推送(APNs)token。
///
/// **Throws** 如果有异常会在此抛出,包括错误码和错误信息,详见 [EMError]。
/// ~end
Future<void> updateAPNsDeviceToken(String token) async {
  throw UnimplementedError("not implemented");
}