C# Class UnityUI.iOS.AppDelegate

Inheritance: Unity.Platform.IPhone.IPhoneUIApplicationDelegate
Afficher le fichier Open project: Appverse/appverse-mobile Class Usage Examples

Méthodes publiques

Свойство Type Description
MAIN_HTML_PATTERN string

Méthodes publiques

Méthode Description
AppDelegate ( ) : System
AppDelegate ( IntPtr ptr ) : System
AppDelegate ( NSObjectFlag flag ) : System
ApplicationSignificantTimeChange ( UIApplication application ) : void
AwakeFromNib ( ) : void
BindCustomViewController ( ) : UnityUI.iOS.UnityUI_iOSViewController
ChangedStatusBarFrame ( UIApplication application, CGRect oldStatusBarFrame ) : void
DetectWebViewLoadFinishedEvent ( UIApplication application, NSDictionary launchOptions ) : void
DidChangeStatusBarOrientation ( UIApplication application, UIInterfaceOrientation oldStatusBarOrientation ) : void
DidEnterBackground ( UIApplication application ) : void
DismissSplashScreen ( ) : bool
DoesNotRecognizeSelector ( ObjCRuntime sel ) : void
FinishedLaunching ( UIApplication application, NSDictionary launchOptions ) : bool
FinishedLaunching ( UIApplication application ) : void
GetListeningPort ( ) : int
HandleOpenURL ( UIApplication application, NSUrl url ) : bool
MainUIViewController ( ) : UIKit.UIViewController
MainViewController ( ) : UnityUI.iOS.UnityUI_iOSViewController
OnActivated ( UIApplication application ) : void
OnResignActivation ( UIApplication application ) : void
PerformSelector ( ObjCRuntime sel, NSObject obj, double delay ) : void
ReceiveMemoryWarning ( UIApplication application ) : void
ReceivedLocalNotification ( UIApplication application, UILocalNotification localNotification ) : void

Sent to the delegate when a running application receives a local notification.

RespondsToSelector ( ObjCRuntime sel ) : bool
SecurityChecksPassed ( ) : bool
SetDataDetectorTypes ( ) : void
SetMainUIViewControllerAsTopController ( bool topController ) : void
ShowSplashScreen ( UIInterfaceOrientation orientation ) : bool
WillChangeStatusBarFrame ( UIApplication application, CGRect newStatusBarFrame ) : void
WillChangeStatusBarOrientation ( UIApplication application, UIInterfaceOrientation newStatusBarOrientation, double duration ) : void
WillEnterForeground ( UIApplication application ) : void
WillTerminate ( UIApplication application ) : void
loadApplicationPreferences ( ) : void
processLaunchData ( ) : void

Processes the launch data received when launched externally (using custom scheme url).

processLaunchOptions ( NSDictionary options, bool fromFinishedLaunching, UIApplicationState applicationState ) : void

Processes any received launch options.

Méthodes protégées

Méthode Description
GetIPCDefaultPort ( NSDictionary settings ) : int

loadSettings ( ) : NSDictionary

Loads the default settings from custom PLIST file.

log ( string message ) : void
openSocketListener ( int port ) : void

Open Socket listener on specific port

Private Methods

Méthode Description
InitializeAppverseContext ( ) : void

Initializes the appverse context exposing data to the WebView Javascript DOM.

InitializeUnity ( ) : void
InitializeUnityServer ( ) : void
InitializeUnityView ( ) : void
NotifyEnterBackground ( ) : void
NotifyEnterForeground ( ) : void
PlayNotificationSound ( String soundName ) : void
ProcessLocalNotification ( UIApplicationState applicationState, UILocalNotification localNotification ) : void

Processes the local notification.

ShowNotificationAlert ( string title, string message ) : void

Manually shows a notification alert.

UpdateApplicationIconBadgeNumber ( int badge ) : void
closeOpenedSocketListener ( ) : void

Closing Opened SocketListener

openSocketListener ( NSDictionary settings ) : void
performSecurityChecks ( ) : bool

Method Details

AppDelegate() public méthode

public AppDelegate ( ) : System
Résultat System

AppDelegate() public méthode

public AppDelegate ( IntPtr ptr ) : System
ptr System.IntPtr
Résultat System

AppDelegate() public méthode

public AppDelegate ( NSObjectFlag flag ) : System
flag NSObjectFlag
Résultat System

ApplicationSignificantTimeChange() public méthode

public ApplicationSignificantTimeChange ( UIApplication application ) : void
application UIApplication
Résultat void

AwakeFromNib() public méthode

public AwakeFromNib ( ) : void
Résultat void

BindCustomViewController() public abstract méthode

public abstract BindCustomViewController ( ) : UnityUI.iOS.UnityUI_iOSViewController
Résultat UnityUI.iOS.UnityUI_iOSViewController

ChangedStatusBarFrame() public méthode

public ChangedStatusBarFrame ( UIApplication application, CGRect oldStatusBarFrame ) : void
application UIApplication
oldStatusBarFrame CGRect
Résultat void

DetectWebViewLoadFinishedEvent() public abstract méthode

public abstract DetectWebViewLoadFinishedEvent ( UIApplication application, NSDictionary launchOptions ) : void
application UIApplication
launchOptions NSDictionary
Résultat void

DidChangeStatusBarOrientation() public méthode

public DidChangeStatusBarOrientation ( UIApplication application, UIInterfaceOrientation oldStatusBarOrientation ) : void
application UIApplication
oldStatusBarOrientation UIInterfaceOrientation
Résultat void

DidEnterBackground() public méthode

public DidEnterBackground ( UIApplication application ) : void
application UIApplication
Résultat void

DismissSplashScreen() public méthode

public DismissSplashScreen ( ) : bool
Résultat bool

DoesNotRecognizeSelector() public méthode

public DoesNotRecognizeSelector ( ObjCRuntime sel ) : void
sel ObjCRuntime
Résultat void

FinishedLaunching() public méthode

public FinishedLaunching ( UIApplication application, NSDictionary launchOptions ) : bool
application UIApplication
launchOptions NSDictionary
Résultat bool

FinishedLaunching() public méthode

public FinishedLaunching ( UIApplication application ) : void
application UIApplication
Résultat void

GetIPCDefaultPort() protected static méthode

protected static GetIPCDefaultPort ( NSDictionary settings ) : int
settings NSDictionary
Résultat int

GetListeningPort() public méthode

public GetListeningPort ( ) : int
Résultat int

HandleOpenURL() public méthode

public HandleOpenURL ( UIApplication application, NSUrl url ) : bool
application UIApplication
url NSUrl
Résultat bool

MainUIViewController() public méthode

public MainUIViewController ( ) : UIKit.UIViewController
Résultat UIKit.UIViewController

MainViewController() public méthode

public MainViewController ( ) : UnityUI.iOS.UnityUI_iOSViewController
Résultat UnityUI.iOS.UnityUI_iOSViewController

OnActivated() public méthode

public OnActivated ( UIApplication application ) : void
application UIApplication
Résultat void

OnResignActivation() public méthode

public OnResignActivation ( UIApplication application ) : void
application UIApplication
Résultat void

PerformSelector() public méthode

public PerformSelector ( ObjCRuntime sel, NSObject obj, double delay ) : void
sel ObjCRuntime
obj NSObject
delay double
Résultat void

ReceiveMemoryWarning() public méthode

public ReceiveMemoryWarning ( UIApplication application ) : void
application UIApplication
Résultat void

ReceivedLocalNotification() public méthode

Sent to the delegate when a running application receives a local notification.
public ReceivedLocalNotification ( UIApplication application, UILocalNotification localNotification ) : void
application UIApplication Application.
localNotification UILocalNotification Local notification.
Résultat void

RespondsToSelector() public méthode

public RespondsToSelector ( ObjCRuntime sel ) : bool
sel ObjCRuntime
Résultat bool

SecurityChecksPassed() public méthode

public SecurityChecksPassed ( ) : bool
Résultat bool

SetDataDetectorTypes() public abstract méthode

public abstract SetDataDetectorTypes ( ) : void
Résultat void

SetMainUIViewControllerAsTopController() public méthode

public SetMainUIViewControllerAsTopController ( bool topController ) : void
topController bool
Résultat void

ShowSplashScreen() public méthode

public ShowSplashScreen ( UIInterfaceOrientation orientation ) : bool
orientation UIInterfaceOrientation
Résultat bool

WillChangeStatusBarFrame() public méthode

public WillChangeStatusBarFrame ( UIApplication application, CGRect newStatusBarFrame ) : void
application UIApplication
newStatusBarFrame CGRect
Résultat void

WillChangeStatusBarOrientation() public méthode

public WillChangeStatusBarOrientation ( UIApplication application, UIInterfaceOrientation newStatusBarOrientation, double duration ) : void
application UIApplication
newStatusBarOrientation UIInterfaceOrientation
duration double
Résultat void

WillEnterForeground() public méthode

public WillEnterForeground ( UIApplication application ) : void
application UIApplication
Résultat void

WillTerminate() public méthode

public WillTerminate ( UIApplication application ) : void
application UIApplication
Résultat void

loadApplicationPreferences() public méthode

public loadApplicationPreferences ( ) : void
Résultat void

loadSettings() protected méthode

Loads the default settings from custom PLIST file.
protected loadSettings ( ) : NSDictionary
Résultat NSDictionary

log() protected méthode

protected log ( string message ) : void
message string
Résultat void

openSocketListener() protected méthode

Open Socket listener on specific port
protected openSocketListener ( int port ) : void
port int
Résultat void

processLaunchData() public méthode

Processes the launch data received when launched externally (using custom scheme url).
public processLaunchData ( ) : void
Résultat void

processLaunchOptions() public méthode

Processes any received launch options.
public processLaunchOptions ( NSDictionary options, bool fromFinishedLaunching, UIApplicationState applicationState ) : void
options NSDictionary Options.
fromFinishedLaunching bool True if this method comes from the 'FinishedLaunching' delegated method
applicationState UIApplicationState The application state that received the special launch options
Résultat void

Property Details

MAIN_HTML_PATTERN public_oe static_oe property

public static string MAIN_HTML_PATTERN
Résultat string