Interface RemoteViews

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

public layoutId: number

public packageName: string

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 getBubbleParent(): boolean

Returns

boolean

public getLayoutId(): number

Returns

number

public getPackageName(): string

Returns

string

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

Parameters

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

public setBoolean(viewId: number, methodName: string, value: boolean)

Parameters

  • viewId: number
  • methodName: string
  • value: boolean

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setChronometer(viewId: number, base: Date, format: string, started: boolean)

Parameters

  • viewId: number
  • base: Date
  • format: string
  • started: boolean

public setDouble(viewId: number, methodName: string, value: number)

Parameters

  • viewId: number
  • methodName: string
  • value: number

public setImageViewResource(viewId: number, srcId: number)

Parameters

  • viewId: number
  • srcId: number

public setImageViewUri(viewId: number, uri: string)

Parameters

  • viewId: number
  • uri: string

public setInt(viewId: number, methodName: string, value: number)

Parameters

  • viewId: number
  • methodName: string
  • value: number

public setOnClickPendingIntent(viewId: number, pendingIntent: PendingIntent)

Parameters

public setProgressBar(viewId: number, max: number, progress: number, indeterminate: boolean)

Parameters

  • viewId: number
  • max: number
  • progress: number
  • indeterminate: boolean

public setString(viewId: number, methodName: string, value: string)

Parameters

  • viewId: number
  • methodName: string
  • value: string

public setTextColor(viewId: number, color: number)

Parameters

  • viewId: number
  • color: number

public setTextViewText(viewId: number, text: string)

Parameters

  • viewId: number
  • text: string

public setUri(viewId: number, methodName: string, value: string)

Parameters

  • viewId: number
  • methodName: string
  • value: string

public setViewVisibility(viewId: number, visibility: number)

Parameters

  • viewId: number
  • visibility: number