UserWise Unity SDK  3.0.0
Public Member Functions | Events | List of all members
UserWiseSDK.Emails.EmailsModule Class Reference

Acts as the public interface used when interfacing with email-related settings for the player More...

Inheritance diagram for UserWiseSDK.Emails.EmailsModule:
UserWiseSDK.Common.Modules.IModule

Public Member Functions

void SetEmailAddress (string emailAddress, Action< bool > completed)
 Updates the player's email address with the provided one. More...
 
void DeleteEmailAddress (bool optOut, Action< bool > completed)
 Deletes the player's currently registered email address, and optionally fully opts the player out of ever receiving emails again. More...
 
string GetModuleName ()
 Returns the module name. More...
 

Events

EventHandler< OnLoadedEventArgsOnLoaded
 
- Events inherited from UserWiseSDK.Common.Modules.IModule
EventHandler< OnLoadedEventArgsOnLoaded
 

Detailed Description

Acts as the public interface used when interfacing with email-related settings for the player

Member Function Documentation

◆ DeleteEmailAddress()

void UserWiseSDK.Emails.EmailsModule.DeleteEmailAddress ( bool  optOut,
Action< bool >  completed 
)
inline

Deletes the player's currently registered email address, and optionally fully opts the player out of ever receiving emails again.

Parameters
optoutIf true, the player will never receive an email from UserWise again.

◆ GetModuleName()

string UserWiseSDK.Emails.EmailsModule.GetModuleName ( )

Returns the module name.

Implements UserWiseSDK.Common.Modules.IModule.

◆ SetEmailAddress()

void UserWiseSDK.Emails.EmailsModule.SetEmailAddress ( string  emailAddress,
Action< bool >  completed 
)
inline

Updates the player's email address with the provided one.

Parameters
emailAddressEmail address to update the player with.

The documentation for this class was generated from the following file: