mUniSm.Core.mEventManager

Summary

Event monitoring manager Used for login, push notification, launching applications with custom URL scheme, etc.

Relation

mUniSm.Core.mMonoBehaviour

Property

Instance Event monitoring manager Used for login, push notification, launching applications with custom URL scheme, etc.

Method

InvokeOrientation(UnityEngine.DeviceOrientation) Ignition event when terminal orientation changed
AddOrientation(UnityEngine.Component,System.Action{UnityEngine.DeviceOrientation}) Registering an event to be executed when the orientation of the terminal is changed
RegisterEventID(System.String) Register event ID
UnregisterEventID(System.String) Unregister event ID
IsRegisteredEventID(System.String) Check if event ID is registered.
IsReceivedLoginInformation( ) Investigate whether you have already received login information Used when executing processing beforehand if already received
AddLogin(System.Action{System.String},System.Action{System.String}) Add a login event
AddURLScheme(System.Action{System.String}) Add a custom URL Scheme event
AddPush(System.Action{System.Collections.Generic.Dictionary{System.String,System.String}}) Add a push event
AddExternalMessage(System.Func{System.String,System.Boolean},System.Boolean) Adds the external message.
RemoveExternalMessage(mUniSm.Core.ExternalEvent) Removes the external message.
InvokeExternalMethod(System.String,System.String,System.String,System.String) Invokes the external method.
ClearLoginEvents( ) Initialize login event
ClearURLSchemeEvents( ) Initialize custom URL Scheme events
ClearPushEvents( ) Initialize Push events
ClearExternalMessageEvents( ) Initialize external message events
AddAuthorizedFailed(System.Action) Adds a authorized failed event.
ClearAuthorizedFailed( ) Initialize authorized failed events.
OnAuthorizedFailed( ) Receive authorized failed event.
OnLoginReceived(System.String) Receive login event from native object etc Event callback
OnLoginSuccessReceived(System.String) Receive login success event from native object etc Event callback
OnLoginFailedReceived(System.String) Receive login failed success event from native object etc Event callback
OnLogoutReceived(System.Boolean,System.Int32) Event callback at logout
OnURLSchemeReceived(System.String) Callback at startup via custom URL scheme
OnPushReceived(System.Collections.Generic.Dictionary{System.String,System.String}) Callback on startup via push
OnRecevedExternalMessage(System.String) Callback at external method ( like js ).

Reference