UnityPrivacyApi class

The generated classes set the channels to call the methods in the corresponding kotlin UnityPrivacyApi interface and swift UnityPrivacyApi protocol from the dart layer.

Constructors

UnityPrivacyApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for UnityPrivacyApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCCPAConsent(bool ccpaConsent) Future<void>
Used to configure CCPA consent on the Android or iOS Unity SDK
setGDPRConsent(bool gdprConsent) Future<void>
Used to configure GDPR consent on the Android or iOS Unity SDK
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

pigeonChannelCodec → const MessageCodec<Object?>