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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCustomId() Future<String?>
The custom id, if present, otherwise null. @returns A Future that completes with the custom id saved or null if no custom id is saved.
getMobileUserId() Future<int?>
The mobile user id, if present, otherwise null. @returns A Future that completes with the mobile user id saved or null if no mobile id is saved.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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