getCallingAttributionTag method

  1. @native
  2. @RequiresApiOrNoop(30)
Future<String?> getCallingAttributionTag()

Supported starting from Android Q, returns null on lower versions.

getCallingAttributionTag(): String? https://developer.android.com/reference/kotlin/android/content/ContentProvider#getcallingattributiontag

Implementation

@native
@RequiresApiOrNoop(30)
Future<String?> getCallingAttributionTag() async {
  return _methodChannel.invokeMethod<String>('getCallingAttributionTag');
}