This plugin allows to receive push notifications. The Android implementation uses
Google's GCM (Google Cloud Messaging) service,
whereas the iOS version is based on Apple APNS Notifications
public screenLeft:number
public screenTop:number
public sessionStorage:Storage
public status:string
Methods
public addEventListener(type: ""batterystatus"", listener: (ev: BatteryStatusEvent) => any, useCapture?: boolean)
Adds a listener for an event from the BatteryStatus plugin.
Parameters
type: ""batterystatus""
the event to listen for
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.
listener: (ev: BatteryStatusEvent) => any
the function that executes when the event fires. The function is
passed an BatteryStatusEvent object as a parameter.
useCapture?: booleanoptional
public addEventListener(type: ""batterycritical"", listener: (ev: BatteryStatusEvent) => any, useCapture?: boolean)
Adds a listener for an event from the BatteryStatus plugin.
Parameters
type: ""batterycritical""
the event to listen for
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.
listener: (ev: BatteryStatusEvent) => any
the function that executes when the event fires. The function is
passed an BatteryStatusEvent object as a parameter.
useCapture?: booleanoptional
public addEventListener(type: ""batterylow"", listener: (ev: BatteryStatusEvent) => any, useCapture?: boolean)
Adds a listener for an event from the BatteryStatus plugin.
Parameters
type: ""batterylow""
the event to listen for
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.
listener: (ev: BatteryStatusEvent) => any
the function that executes when the event fires. The function is
passed an BatteryStatusEvent object as a parameter.
useCapture?: booleanoptional
public addEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean)
Adds a listener for an event from the BatteryStatus plugin.
Parameters
type: string
the event to listen for
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.
listener: (ev: Event) => any
the function that executes when the event fires. The function is
passed an BatteryStatusEvent object as a parameter.
useCapture?: booleanoptional
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public atob(encodedString: string): string
Parameters
encodedString: string
Returns
string
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public attachEvent(event: string, listener: EventListener): boolean
Parameters
event: string
listener: EventListener
Returns
boolean
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public btoa(rawString: string): string
Parameters
rawString: string
Returns
string
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public captureEvents()
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearImmediate(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearInterval(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public clearTimeout(handle: number)
Parameters
handle: number
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public createPopup(arguments?: any): MSPopupWindow
Parameters
arguments?: anyoptional
Returns
MSPopupWindow
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public detachEvent(event: string, listener: EventListener)
Parameters
event: string
listener: EventListener
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public dispatchEvent(evt: Event): boolean
Parameters
evt: Event
Returns
boolean
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public execScript(code: string, language?: string): any
Parameters
code: string
language?: stringoptional
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public item(index: any): any
Parameters
index: any
Returns
any
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveBy(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public moveTo(x?: number, y?: number)
Parameters
x?: numberoptional
y?: numberoptional
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msClearImmediate(handle: number)
Parameters
handle: number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msSetImmediate(expression: any, args?: Array<any>): number
Parameters
expression: any
args?: Array<any>optional
Returns
number
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public msWriteProfilerMark(profilerMarkName: string)
Parameters
profilerMarkName: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public navigate(url: string)
Parameters
url: string
public open(url: string, target?: ""_self"", options?: string): InAppBrowser
Opens a URL in a new InAppBrowser instance, the current browser instance, or the system browser.
Parameters
url: string
The URL to load.
target?: ""_self""optional
The target in which to load the URL, an optional parameter that defaults to _self.
options?: stringoptional
Options for the InAppBrowser. Optional, defaulting to: location=yes.
The options string must not contain any blank space, and each feature's
name/value pairs must be separated by a comma. Feature names are case insensitive.
public open(url: string, target?: ""_blank"", options?: string): InAppBrowser
Opens a URL in a new InAppBrowser instance, the current browser instance, or the system browser.
Parameters
url: string
The URL to load.
target?: ""_blank""optional
The target in which to load the URL, an optional parameter that defaults to _self.
options?: stringoptional
Options for the InAppBrowser. Optional, defaulting to: location=yes.
The options string must not contain any blank space, and each feature's
name/value pairs must be separated by a comma. Feature names are case insensitive.
public open(url: string, target?: ""_system"", options?: string): InAppBrowser
Opens a URL in a new InAppBrowser instance, the current browser instance, or the system browser.
Parameters
url: string
The URL to load.
target?: ""_system""optional
The target in which to load the URL, an optional parameter that defaults to _self.
options?: stringoptional
Options for the InAppBrowser. Optional, defaulting to: location=yes.
The options string must not contain any blank space, and each feature's
name/value pairs must be separated by a comma. Feature names are case insensitive.
public open(url: string, target?: string, options?: string, replace?: boolean): InAppBrowser
Opens a URL in a new InAppBrowser instance, the current browser instance, or the system browser.
Parameters
url: string
The URL to load.
target?: stringoptional
The target in which to load the URL, an optional parameter that defaults to _self.
options?: stringoptional
Options for the InAppBrowser. Optional, defaulting to: location=yes.
The options string must not contain any blank space, and each feature's
name/value pairs must be separated by a comma. Feature names are case insensitive.
public removeEventListener(type: ""batterystatus"", listener: (ev: BatteryStatusEvent) => any, useCapture?: boolean)
Removes a listener for an event from the BatteryStatus plugin.
Parameters
type: ""batterystatus""
The event to stop listening for.
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.
listener: (ev: BatteryStatusEvent) => any
useCapture?: booleanoptional
public removeEventListener(type: ""batterycritical"", listener: (ev: BatteryStatusEvent) => any, useCapture?: boolean)
Removes a listener for an event from the BatteryStatus plugin.
Parameters
type: ""batterycritical""
The event to stop listening for.
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.
listener: (ev: BatteryStatusEvent) => any
useCapture?: booleanoptional
public removeEventListener(type: ""batterylow"", listener: (ev: BatteryStatusEvent) => any, useCapture?: boolean)
Removes a listener for an event from the BatteryStatus plugin.
Parameters
type: ""batterylow""
The event to stop listening for.
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.
listener: (ev: BatteryStatusEvent) => any
useCapture?: booleanoptional
public removeEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean)
Removes a listener for an event from the BatteryStatus plugin.
Parameters
type: string
The event to stop listening for.
batterystatus: event fires when the percentage of battery charge
changes by at least 1 percent, or if the device is plugged in or unplugged.
batterycritical: event fires when the percentage of battery charge has reached
the critical battery threshold. The value is device-specific.
batterylow: event fires when the percentage of battery charge has
reached the low battery threshold, device-specific value.