C# Class Cordova.Extension.Commands.LocalNotification

Implementes access to application live tiles http://msdn.microsoft.com/en-us/library/hh202948(v=VS.92).aspx
Inheritance: BaseCommand
Mostrar archivo Open project: eabglobal/forked--cordova-plugin-local-notifications

Public Methods

Method Description
OnPause ( object sender, DeactivatedEventArgs e ) : void

Occurs when the application is being deactivated.

OnResume ( object sender, Microsoft.Phone.Shell.ActivatedEventArgs e ) : void

Occurs when the application is being made active after previously being put into a dormant state or tombstoned.

add ( string jsonArgs ) : void

Sets application live tile

cancel ( string jsonArgs ) : void

Clears the application live tile

cancelAll ( string jsonArgs ) : void

Clears the application live tile

deviceready ( string jsonArgs ) : void

Informs that the device is ready and the deviceready event has been fired

getScheduledIds ( string jsonArgs ) : void

Retrieves a list with all currently pending notifications

hasPermission ( string args ) : void
isScheduled ( string jsonArgs ) : void

Checks wether a notification with an ID is scheduled

promptForPermission ( string args ) : void

Private Methods

Method Description
ApplicationState ( ) : String

Retrieves the application state Either "background" or "foreground"

CreateTileData ( Cordova.Extension.Commands.Options options ) : FlipTileData

Creates tile data

FireEvent ( string Event, string Id, string JSON = "" ) : void

Fires the given event.

Method Details

OnPause() public method

Occurs when the application is being deactivated.
public OnPause ( object sender, DeactivatedEventArgs e ) : void
sender object
e DeactivatedEventArgs
return void

OnResume() public method

Occurs when the application is being made active after previously being put into a dormant state or tombstoned.
public OnResume ( object sender, Microsoft.Phone.Shell.ActivatedEventArgs e ) : void
sender object
e Microsoft.Phone.Shell.ActivatedEventArgs
return void

add() public method

Sets application live tile
public add ( string jsonArgs ) : void
jsonArgs string
return void

cancel() public method

Clears the application live tile
public cancel ( string jsonArgs ) : void
jsonArgs string
return void

cancelAll() public method

Clears the application live tile
public cancelAll ( string jsonArgs ) : void
jsonArgs string
return void

deviceready() public method

Informs that the device is ready and the deviceready event has been fired
public deviceready ( string jsonArgs ) : void
jsonArgs string
return void

getScheduledIds() public method

Retrieves a list with all currently pending notifications
public getScheduledIds ( string jsonArgs ) : void
jsonArgs string
return void

hasPermission() public method

public hasPermission ( string args ) : void
args string
return void

isScheduled() public method

Checks wether a notification with an ID is scheduled
public isScheduled ( string jsonArgs ) : void
jsonArgs string
return void

promptForPermission() public method

public promptForPermission ( string args ) : void
args string
return void