C# Класс Cordova.Extension.Commands.LocalNotification

Implementes access to application live tiles http://msdn.microsoft.com/en-us/library/hh202948(v=VS.92).aspx
Наследование: BaseCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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.

Описание методов

OnPause() публичный Метод

Occurs when the application is being deactivated.
public OnPause ( object sender, DeactivatedEventArgs e ) : void
sender object
e DeactivatedEventArgs
Результат void

OnResume() публичный Метод

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
Результат void

add() публичный Метод

Sets application live tile
public add ( string jsonArgs ) : void
jsonArgs string
Результат void

cancel() публичный Метод

Clears the application live tile
public cancel ( string jsonArgs ) : void
jsonArgs string
Результат void

cancelAll() публичный Метод

Clears the application live tile
public cancelAll ( string jsonArgs ) : void
jsonArgs string
Результат void

deviceready() публичный Метод

Informs that the device is ready and the deviceready event has been fired
public deviceready ( string jsonArgs ) : void
jsonArgs string
Результат void

getScheduledIds() публичный Метод

Retrieves a list with all currently pending notifications
public getScheduledIds ( string jsonArgs ) : void
jsonArgs string
Результат void

hasPermission() публичный Метод

public hasPermission ( string args ) : void
args string
Результат void

isScheduled() публичный Метод

Checks wether a notification with an ID is scheduled
public isScheduled ( string jsonArgs ) : void
jsonArgs string
Результат void

promptForPermission() публичный Метод

public promptForPermission ( string args ) : void
args string
Результат void