bindTAThirdPlatform method

  1. @override
Future<void> bindTAThirdPlatform(
  1. String taAccountId,
  2. String taDistinctId
)
override

绑定数数账号

当前用户的数数账户 ID (#account_id) 当前用户的数数访客 ID (#distinct_id)

Implementation

@override
Future<void> bindTAThirdPlatform(String taAccountId, String taDistinctId) async{
  try {
    methodChannel.invokeMethod('bindTAThirdPlatform', {
      'taAccountId': taAccountId,
      'taDistinctId': taDistinctId,
    });
  } on PlatformException catch (e) {
    print('bindTAThirdPlatform fail: ${e.message}');
  }
}