Interface Activity

Hierarchy

Index

Properties

Methods

Properties

public actionBar: ActionBar

public bubbleParent: boolean

public intent: Intent

public onCreateOptionsMenu: (...args: any[]) => any

public onPrepareOptionsMenu: (...args: any[]) => any

public requestedOrientation: number

Methods

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

Parameters

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

public applyProperties(props: Dictionary)

Parameters

public finish()

public fireEvent(name: string, event: Dictionary)

Parameters

public getActionBar(): ActionBar

Returns

ActionBar

public getBubbleParent(): boolean

Returns

boolean

public getIntent(): Intent

Returns

Intent

public getOnCreateOptionsMenu(): (...args: any[]) => any

Returns

(...args: any[]) => any

public getOnPrepareOptionsMenu(): (...args: any[]) => any

Returns

(...args: any[]) => any

public getString(resourceId: number, format: any): string

Parameters

  • resourceId: number
  • format: any

Returns

string

public invalidateOptionsMenu()

public openOptionsMenu()

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

Parameters

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

public sendBroadcast(intent: Intent)

Parameters

public sendBroadcastWithPermission(intent: Intent, receiverPermission?: string)

Parameters

  • intent: Intent
  • receiverPermission?: string optional

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setOnCreateOptionsMenu(onCreateOptionsMenu: (...args: any[]) => any)

Parameters

  • onCreateOptionsMenu: (...args: any[]) => any

public setOnPrepareOptionsMenu(onPrepareOptionsMenu: (...args: any[]) => any)

Parameters

  • onPrepareOptionsMenu: (...args: any[]) => any

public setRequestedOrientation(orientation: number)

Parameters

  • orientation: number

public setResult(resultCode: number, intent?: Intent)

Parameters

  • resultCode: number
  • intent?: Intent optional

public startActivity(intent: Intent)

Parameters

public startActivityForResult(intent: Intent, callback: (...args: any[]) => any)

Parameters

  • intent: Intent
  • callback: (...args: any[]) => any