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
Afficher le fichier Open project: eabglobal/forked--cordova-plugin-local-notifications

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

OnResume() public méthode

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
Résultat void

add() public méthode

Sets application live tile
public add ( string jsonArgs ) : void
jsonArgs string
Résultat void

cancel() public méthode

Clears the application live tile
public cancel ( string jsonArgs ) : void
jsonArgs string
Résultat void

cancelAll() public méthode

Clears the application live tile
public cancelAll ( string jsonArgs ) : void
jsonArgs string
Résultat void

deviceready() public méthode

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

getScheduledIds() public méthode

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

hasPermission() public méthode

public hasPermission ( string args ) : void
args string
Résultat void

isScheduled() public méthode

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

promptForPermission() public méthode

public promptForPermission ( string args ) : void
args string
Résultat void