Module Android

Index

Variables

Modules

Interfaces

Functions

Variables

ACTION_AIRPLANE_MODE_CHANGED: string

ACTION_ALL_APPS: string

ACTION_ANSWER: string

ACTION_ATTACH_DATA: string

ACTION_BATTERY_CHANGED: string

ACTION_BATTERY_LOW: string

ACTION_BATTERY_OKAY: string

ACTION_BOOT_COMPLETED: string

ACTION_BUG_REPORT: string

ACTION_CALL: string

ACTION_CALL_BUTTON: string

ACTION_CAMERA_BUTTON: string

ACTION_CHOOSER: string

ACTION_CLOSE_SYSTEM_DIALOGS: string

ACTION_CONFIGURATION_CHANGED: string

ACTION_CREATE_SHORTCUT: string

ACTION_DATE_CHANGED: string

ACTION_DEFAULT: string

ACTION_DELETE: string

ACTION_DEVICE_STORAGE_LOW: string

ACTION_DIAL: string

ACTION_EDIT: string

ACTION_GET_CONTENT: string

ACTION_GTALK_SERVICE_CONNECTED: string

ACTION_GTALK_SERVICE_DISCONNECTED: string

ACTION_HEADSET_PLUG: string

ACTION_INPUT_METHOD_CHANGED: string

ACTION_INSERT: string

ACTION_INSERT_OR_EDIT: string

ACTION_MAIN: string

ACTION_MANAGE_PACKAGE_STORAGE: string

ACTION_MEDIA_BAD_REMOVAL: string

ACTION_MEDIA_BUTTON: string

ACTION_MEDIA_CHECKING: string

ACTION_MEDIA_EJECT: string

ACTION_MEDIA_MOUNTED: string

ACTION_MEDIA_NOFS: string

ACTION_MEDIA_REMOVED: string

ACTION_MEDIA_SCANNER_FINISHED: string

ACTION_MEDIA_SCANNER_SCAN_FILE: string

ACTION_MEDIA_SCANNER_STARTED: string

ACTION_MEDIA_SHARED: string

ACTION_MEDIA_UNMOUNTABLE: string

ACTION_MEDIA_UNMOUNTED: string

ACTION_NEW_OUTGOING_CALL: string

ACTION_PACKAGE_ADDED: string

ACTION_PACKAGE_CHANGED: string

ACTION_PACKAGE_DATA_CLEARED: string

ACTION_PACKAGE_INSTALL: string

ACTION_PACKAGE_REMOVED: string

ACTION_PACKAGE_REPLACED: string

ACTION_PACKAGE_RESTARTED: string

ACTION_PICK: string

ACTION_PICK_ACTIVITY: string

ACTION_POWER_CONNECTED: string

ACTION_POWER_DISCONNECTED: string

ACTION_POWER_USAGE_SUMMARY: string

ACTION_PROVIDER_CHANGED: string

ACTION_REBOOT: string

ACTION_RUN: string

ACTION_SCREEN_OFF: string

ACTION_SCREEN_ON: string

ACTION_SEARCH: string

ACTION_SEARCH_LONG_PRESS: string

ACTION_SEND: string

ACTION_SENDTO: string

ACTION_SEND_MULTIPLE: string

ACTION_SET_WALLPAPER: string

ACTION_SHUTDOWN: string

ACTION_SYNC: string

ACTION_SYSTEM_TUTORIAL: string

ACTION_TIME_CHANGED: string

ACTION_TIME_TICK: string

ACTION_UID_REMOVED: string

ACTION_UMS_CONNECTED: string

ACTION_UMS_DISCONNECTED: string

ACTION_USER_PRESENT: string

ACTION_VIEW: string

ACTION_VOICE_COMMAND: string

ACTION_WALLPAPER_CHANGED: string

ACTION_WEB_SEARCH: string

CATEGORY_ALTERNATIVE: string

CATEGORY_BROWSABLE: string

CATEGORY_DEFAULT: string

CATEGORY_DEVELOPMENT_PREFERENCE: string

CATEGORY_EMBED: string

CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST: string

CATEGORY_HOME: string

CATEGORY_INFO: string

CATEGORY_LAUNCHER: string

CATEGORY_MONKEY: string

CATEGORY_OPENABLE: string

CATEGORY_PREFERENCE: string

CATEGORY_SAMPLE_CODE: string

CATEGORY_SELECTED_ALTERNATIVE: string

CATEGORY_TAB: string

CATEGORY_TEST: string

CATEGORY_UNIT_TEST: string

DEFAULT_ALL: number

DEFAULT_LIGHTS: number

DEFAULT_SOUND: number

DEFAULT_VIBRATE: number

EXTRA_ALARM_COUNT: string

EXTRA_BCC: string

EXTRA_CC: string

EXTRA_DATA_REMOVED: string

EXTRA_DONT_KILL_APP: string

EXTRA_EMAIL: string

EXTRA_INTENT: string

EXTRA_KEY_EVENT: string

EXTRA_PHONE_NUMBER: string

EXTRA_REPLACING: string

EXTRA_SHORTCUT_ICON: string

EXTRA_SHORTCUT_ICON_RESOURCE: string

EXTRA_SHORTCUT_INTENT: string

EXTRA_SHORTCUT_NAME: string

EXTRA_STREAM: string

EXTRA_SUBJECT: string

EXTRA_TEMPLATE: string

EXTRA_TEXT: string

EXTRA_TITLE: string

EXTRA_UID: string

FILL_IN_ACTION: number

FILL_IN_CATEGORIES: number

FILL_IN_COMPONENT: number

FILL_IN_DATA: number

FILL_IN_PACKAGE: number

FLAG_ACTIVITY_BROUGHT_TO_FRONT: number

FLAG_ACTIVITY_CLEAR_TOP: number

FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET: number

FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS: number

FLAG_ACTIVITY_FORWARD_RESULT: number

FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY: number

FLAG_ACTIVITY_MULTIPLE_TASK: number

FLAG_ACTIVITY_NEW_TASK: number

FLAG_ACTIVITY_NO_ANIMATION: number

FLAG_ACTIVITY_NO_HISTORY: number

FLAG_ACTIVITY_NO_USER_ACTION: number

FLAG_ACTIVITY_PREVIOUS_IS_TOP: number

FLAG_ACTIVITY_REORDER_TO_FRONT: number

FLAG_ACTIVITY_RESET_TASK_IF_NEEDED: number

FLAG_ACTIVITY_SINGLE_TOP: number

FLAG_AUTO_CANCEL: number

FLAG_CANCEL_CURRENT: number

FLAG_DEBUG_LOG_RESOLUTION: number

FLAG_FROM_BACKGROUND: number

FLAG_GRANT_READ_URI_PERMISSION: number

FLAG_GRANT_WRITE_URI_PERMISSION: number

FLAG_INSISTENT: number

FLAG_NO_CLEAR: number

FLAG_NO_CREATE: number

FLAG_ONE_SHOT: number

FLAG_ONGOING_EVENT: number

FLAG_ONLY_ALERT_ONCE: number

FLAG_RECEIVER_REGISTERED_ONLY: number

FLAG_SHOW_LIGHTS: number

FLAG_UPDATE_CURRENT: number

NAVIGATION_MODE_STANDARD: number

NAVIGATION_MODE_TABS: number

PENDING_INTENT_FOR_ACTIVITY: number

PENDING_INTENT_FOR_BROADCAST: number

PENDING_INTENT_FOR_SERVICE: number

PENDING_INTENT_MAX_VALUE: number

RESULT_CANCELED: number

RESULT_FIRST_USER: number

RESULT_OK: number

SCREEN_ORIENTATION_BEHIND: number

SCREEN_ORIENTATION_LANDSCAPE: number

SCREEN_ORIENTATION_NOSENSOR: number

SCREEN_ORIENTATION_PORTRAIT: number

SCREEN_ORIENTATION_SENSOR: number

SCREEN_ORIENTATION_UNSPECIFIED: number

SCREEN_ORIENTATION_USER: number

SHOW_AS_ACTION_ALWAYS: number

SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW: number

SHOW_AS_ACTION_IF_ROOM: number

SHOW_AS_ACTION_NEVER: number

SHOW_AS_ACTION_WITH_TEXT: number

START_NOT_STICKY: number

START_REDELIVER_INTENT: number

STREAM_ALARM: number

STREAM_DEFAULT: number

STREAM_MUSIC: number

STREAM_NOTIFICATION: number

STREAM_RING: number

STREAM_SYSTEM: number

STREAM_VOICE_CALL: number

URI_INTENT_SCHEME: number

bubbleParent: boolean

currentActivity: Activity

currentService: Service

Functions

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

Parameters

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

applyProperties(props: Dictionary)

Parameters

createBroadcastIntent(options: BroadcastIntentOptions): Intent

Parameters

Returns

Intent

createBroadcastReceiver(parameters?: Dictionary): BroadcastReceiver

Parameters

Returns

BroadcastReceiver

createIntent(parameters?: Dictionary): Intent

Parameters

Returns

Intent

createIntentChooser(intent: Intent, title: string): Intent

Parameters

  • intent: Intent
  • title: string

Returns

Intent

createNotification(parameters?: Dictionary): Notification

Parameters

Returns

Notification

createPendingIntent(parameters?: Dictionary): PendingIntent

Parameters

Returns

PendingIntent

createRemoteViews(parameters?: Dictionary): RemoteViews

Parameters

Returns

RemoteViews

createService(intent: Intent): Service

Parameters

Returns

Service

createServiceIntent(options: ServiceIntentOptions): Intent

Parameters

Returns

Intent

fireEvent(name: string, event: Dictionary)

Parameters

getBubbleParent(): boolean

Returns

boolean

getCurrentActivity(): Activity

Returns

Activity

getCurrentService(): Service

Returns

Service

isServiceRunning(intent: Intent): boolean

Parameters

Returns

boolean

registerBroadcastReceiver(broadcastReceiver: BroadcastReceiver, actions: Array<String>)

Parameters

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

Parameters

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

setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

startService(intent: Intent)

Parameters

stopService(intent: Intent)

Parameters

unregisterBroadcastReceiver(broadcastReceiver: BroadcastReceiver)

Parameters