MBAudienceIdsManager class

Class used to save and retrieve custom id and mobile user id. It used the shared_preferences package to save them.

Constructors

MBAudienceIdsManager()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getCustomId() Future<String>
The custom id, if present, otherwise null. @returns A Future that completes with the custom id saved.
getMobileUserId() Future<int>
The mobile user id, if present, otherwise null. @returns A Future that completes with the mobile user id saved.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeCustomId() Future<void>
Removes the custom id, if present.
removeMobileUserId() Future<void>
Removes the mobile user id, if present.
setCustomId(String customId) Future<void>
Sets and saves a custom id. @param customId The custom id that will be saved.
setMobileUserId(int mobileUserId) Future<void>
Sets and saves the mobile user id. @param mobileUserId The mobile user id that will be saved.
toString() String
A string representation of this object. [...]
inherited

Operators

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