getTrackingAuthorizationStatus static method
Implementation
static Future<AdmostTrackingAuthorizationStatus>
getTrackingAuthorizationStatus() async {
if (Platform.isIOS) {
final int? status =
await _channel.invokeMethod<int?>('getTrackingAuthorizationStatus');
return AdmostTrackingAuthorizationStatus.values[status ?? 0];
}
return AdmostTrackingAuthorizationStatus.authorized;
}