showConsentUI static method

Future<int?> showConsentUI(
  1. OTDevicePermission permissionType
)

Show Consent UIs for Age Gate, IDFA Returns int? with the resulting value of the prompt

Implementation

static Future<int?> showConsentUI(OTDevicePermission permissionType) async {
  final int? status = await _channel.invokeMethod(
      'showConsentUI', {'permissionType': permissionType.index});
  return status;
}