loadConsentViewWithType static method

Future<void> loadConsentViewWithType(
  1. String consentViewType
)

Starts the consent view load process for consentViewType.

Native SDK Reference

  • iOS: loadConsentViewWithType

Implementation

static Future<void> loadConsentViewWithType(String consentViewType) async {
  if (!Platform.isIOS) {
    return;
  }
  final args = OutgoingValueParser.loadConsentViewWithType(consentViewType);
  return _channel.invokeMethod('loadConsentViewWithType', args);
}