setMobileUserId static method
Set the mobile user id of the user currently logged in MBurger. After setting this id the new audience data are sent to the server.
NOTE: The mobile user id is not sent automatically when a user log in/log out with MBAuth. It will be implemented in the future but at the moment you have to set and remove it manually.
@param mobileUserId The mobile user id, this value is saved and will be sent until removeMobileUserId
is called.
Implementation
static Future<void> setMobileUserId(int mobileUserId) {
return MBAudienceManager.shared.setMobileUserId(mobileUserId);
}