setApplicationGroupID method
Future<TencentCloudChatPushResult>
setApplicationGroupID({
- required String applicationGroupID,
override
Implementation
@override
Future<TencentCloudChatPushResult> setApplicationGroupID({required String applicationGroupID}) async {
try {
await _methodChannel.invokeMethod("setApplicationGroupID", {"applicationGroupID": applicationGroupID});
return TencentCloudChatPushResult(code: 0);
} on PlatformException catch (e) {
return TencentCloudChatPushResult(
code: int.tryParse(e.code) ?? -1,
errorMessage: e.message,
);
}
}