C# Class UnityRuntimeWindowsPhone.MainPage

Inheritance: IRTBridge
Show file Open project: Appverse/appverse-mobile

Public Methods

Method Description
DismissSplashScreen ( ) : System.Threading.Tasks.Task

Dismisses Appverse SplashScreen

LoadHtml ( string sHtml ) : System.Threading.Tasks.Task
MainPage ( ) : Appverse.Platform.IPhone
MainPage ( ) : Newtonsoft.Json
OpenBrowser ( string sTitleBar, string sUrl ) : System.Threading.Tasks.Task

Opens a secondary browser.

ProcessPushNotification ( LaunchActivatedEventArgs ev ) : System.Threading.Tasks.Task

Notifies the javascript layer when the application has been launched using a notification

ShowCameraView ( CameraOptions options ) : System.Threading.Tasks.Task

Launches the CameraView in photo mode

ShowDetectQrView ( bool autoHandleQrCode, CameraOptions options ) : System.Threading.Tasks.Task

Shows the CameraView in QR Detection mode

ShowPhotoPicker ( ) : System.Threading.Tasks.Task

Shows the PhotoPicker native object

ShowSplashScreen ( ) : System.Threading.Tasks.Task

Shows Appverse SplashScreen

Protected Methods

Method Description
OnNavigatedFrom ( NavigationEventArgs e ) : void

Invoked when this page is being navigated away.

OnNavigatedTo ( NavigationEventArgs e ) : void

Invoked when this page is about to be displayed in a Frame.

Private Methods

Method Description
CurrentOnVisibilityChanged ( object sender, VisibilityChangedEventArgs visibilityChangedEventArgs ) : void

Method called when the app is sent to background/foreground

GetSnapshotOnActivated ( CoreApplicationView sender, IActivatedEventArgs args ) : void

Method Called when the app is activated after a PhotoPicker has been launched

HandleBackButton ( ) : void

Handles the back button.

HideSplashStoryBoard_OnCompleted ( object sender, object e ) : void

Callback called when the Appverse SplashScreen is dismissed

MainGridFadeOutStoryBoard_Completed ( object sender, object e ) : void

Callback executed when the Main Grid fade out animation is completed

MainPage_BackPressed ( object sender, BackPressedEventArgs e ) : void

Overrides the back button press to navigate in the WebView's back stack instead of the application's.

MainPage_KeyboardHiding ( InputPane sender, InputPaneVisibilityEventArgs args ) : void
MainPage_KeyboardShowing ( InputPane sender, InputPaneVisibilityEventArgs args ) : void
NavigateToAuxBrowserPage ( string sTitleBar, string sUrl ) : void
NavigateToCameraViewPage ( CameraViewInitObject parameter ) : void
WebViewControl_NavigationCompleted ( WebView sender, WebViewNavigationCompletedEventArgs args ) : void
WebViewControl_NavigationStarting ( WebView sender, WebViewNavigationStartingEventArgs args ) : void
WebViewControl_ScriptNotify ( object sender, NotifyEventArgs e ) : void

Handles the ScriptNotify event of the WebViewControl control.

Method Details

DismissSplashScreen() public method

Dismisses Appverse SplashScreen
public DismissSplashScreen ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

LoadHtml() public method

public LoadHtml ( string sHtml ) : System.Threading.Tasks.Task
sHtml string
return System.Threading.Tasks.Task

MainPage() public method

public MainPage ( ) : Appverse.Platform.IPhone
return Appverse.Platform.IPhone

MainPage() public method

public MainPage ( ) : Newtonsoft.Json
return Newtonsoft.Json

OnNavigatedFrom() protected method

Invoked when this page is being navigated away.
protected OnNavigatedFrom ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page is navigating.
return void

OnNavigatedTo() protected method

Invoked when this page is about to be displayed in a Frame.
protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs Event data that describes how this page was reached. /// This parameter is typically used to configure the page.
return void

OpenBrowser() public method

Opens a secondary browser.
public OpenBrowser ( string sTitleBar, string sUrl ) : System.Threading.Tasks.Task
sTitleBar string The browser's title.
sUrl string The URL to load.
return System.Threading.Tasks.Task

ProcessPushNotification() public method

Notifies the javascript layer when the application has been launched using a notification
public ProcessPushNotification ( LaunchActivatedEventArgs ev ) : System.Threading.Tasks.Task
ev Windows.ApplicationModel.Activation.LaunchActivatedEventArgs The LaunchActivatedEventArgs received on application start
return System.Threading.Tasks.Task

ShowCameraView() public method

Launches the CameraView in photo mode
public ShowCameraView ( CameraOptions options ) : System.Threading.Tasks.Task
options Unity.Core.Media.Camera.CameraOptions
return System.Threading.Tasks.Task

ShowDetectQrView() public method

Shows the CameraView in QR Detection mode
public ShowDetectQrView ( bool autoHandleQrCode, CameraOptions options ) : System.Threading.Tasks.Task
autoHandleQrCode bool
options Unity.Core.Media.Camera.CameraOptions
return System.Threading.Tasks.Task

ShowPhotoPicker() public method

Shows the PhotoPicker native object
public ShowPhotoPicker ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

ShowSplashScreen() public method

Shows Appverse SplashScreen
public ShowSplashScreen ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task