listTags function
Android 文档 查询目标绑定标签,当前仅支持查询设备标签; 查询结果可从回调onSuccess(response)的response获取; 标签绑定成功且生效(10分钟内)后即可查询。
Implementation
Future<CommonCallbackResult> listTags(CloudPushServiceTarget target) async {
var result = await _channel.invokeMethod("listTags", target.index + 1);
return CommonCallbackResult(
isSuccessful: result["isSuccessful"],
response: result["response"],
errorCode: result["errorCode"],
errorMessage: result["errorMessage"],
iosError: result["iosError"]);
}