getOAID method

  1. @override
Future<String?> getOAID()
override

异步获取 OAID 或 AAID

Implementation

@override
Future<String?> getOAID() async {
  try {
    return await methodChannel.invokeMethod<String?>('getOAID');
  } on PlatformException catch (e) {
    throw OaidException(code: e.code, message: e.message);
  }
}