isAaidCollectionDisabled static method

Future<bool> isAaidCollectionDisabled()

Check if AAID collection is currently disabled (Android only) Returns true if AAID collection is disabled, false otherwise

Implementation

static Future<bool> isAaidCollectionDisabled() async {
  try {
    final bool result = await _channel.invokeMethod('isAaidCollectionDisabled');
    return result;
  } on PlatformException catch (e) {
    developer.log('Failed to check AAID collection status: ${e.message}',
        error: e, name: packageName);
    return false;
  }
}