C# Class ChatterBox.Client.Universal.App

Provides application-specific behavior to supplement the default Application class.
Show file Open project: openpeer/ChatterBox

Public Methods

Method Description
App ( ) : ChatterBox.Client.Common.Avatars

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

ShowDialog ( string message ) : void
UnRegisterAllBackgroundTask ( ) : void

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs e ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.

OnWindowCreated ( WindowCreatedEventArgs args ) : void

Private Methods

Method Description
App_OnDisconnectedFromHub ( ) : void
ConnectHubClient ( ) : void
CurrentDomain_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

OnOrientationChanged ( Windows sender, object args ) : void
OnResuming ( object sender, object e ) : void
OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

ProcessLaunchArgument ( ToastNotificationLaunchArguments launchArg ) : void
QuitApp ( ) : void
RegisterForDisplayOrientationChange ( ) : void
RegisterForPush ( TaskHelper helper, bool registerAgain = true ) : System.Threading.Tasks.Task
RegisterSessionConnectedTask ( TaskHelper helper ) : Task
RegisterSignalingTask ( TaskHelper helper, bool registerAgain = true ) : Task
Resume ( ) : void

Method Details

App() public method

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : ChatterBox.Client.Common.Avatars
return ChatterBox.Client.Common.Avatars

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
protected OnLaunched ( LaunchActivatedEventArgs e ) : void
e Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void

OnWindowCreated() protected method

protected OnWindowCreated ( WindowCreatedEventArgs args ) : void
args WindowCreatedEventArgs
return void

ShowDialog() public method

public ShowDialog ( string message ) : void
message string
return void

UnRegisterAllBackgroundTask() public method

public UnRegisterAllBackgroundTask ( ) : void
return void