Interface Notification

Hierarchy

Index

Properties

Methods

Properties

public audioStreamType: number

public bubbleParent: boolean

public contentIntent: PendingIntent

public contentText: string

public contentTitle: string

public contentView: RemoteViews

public defaults: number

public deleteIntent: PendingIntent

public flags: number

public icon: any

public ledARGB: number

public ledOffMS: number

public ledOnMS: number

public number: number

public sound: string

public tickerText: string

public when: any

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public fireEvent(name: string, event: Dictionary)

Parameters

public getAudioStreamType(): number

Returns

number

public getBubbleParent(): boolean

Returns

boolean

public getContentIntent(): PendingIntent

Returns

PendingIntent

public getContentText(): string

Returns

string

public getContentTitle(): string

Returns

string

public getDefaults(): number

Returns

number

public getDeleteIntent(): PendingIntent

Returns

PendingIntent

public getFlags(): number

Returns

number

public getIcon(): any

Returns

any

public getLedARGB(): number

Returns

number

public getLedOffMS(): number

Returns

number

public getLedOnMS(): number

Returns

number

public getNumber(): number

Returns

number

public getSound(): string

Returns

string

public getTickerText(): string

Returns

string

public getWhen(): any

Returns

any

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public setAudioStreamType(audioStreamType: number)

Parameters

  • audioStreamType: number

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setContentIntent(contentIntent: PendingIntent)

Parameters

public setContentText(contentText: string)

Parameters

  • contentText: string

public setContentTitle(contentTitle: string)

Parameters

  • contentTitle: string

public setContentView(contentView: RemoteViews)

Parameters

public setDefaults(defaults: number)

Parameters

  • defaults: number

public setDeleteIntent(deleteIntent: PendingIntent)

Parameters

public setFlags(flags: number)

Parameters

  • flags: number

public setIcon(icon: number)

Parameters

  • icon: number

public setIcon(icon: string)

Parameters

  • icon: string

public setLatestEventInfo(contentTitle: string, contentText: string, contentIntent: PendingIntent)

Parameters

  • contentTitle: string
  • contentText: string
  • contentIntent: PendingIntent

public setLedARGB(ledARGB: number)

Parameters

  • ledARGB: number

public setLedOffMS(ledOffMS: number)

Parameters

  • ledOffMS: number

public setLedOnMS(ledOnMS: number)

Parameters

  • ledOnMS: number

public setNumber(number: number)

Parameters

  • number: number

public setSound(sound: string)

Parameters

  • sound: string

public setTickerText(tickerText: string)

Parameters

  • tickerText: string

public setWhen(when: Date)

Parameters

  • when: Date

public setWhen(when: number)

Parameters

  • when: number