Skip to content

Instantly share code, notes, and snippets.

@roblav96
Created October 13, 2020 06:09
Show Gist options
  • Save roblav96/36797b428e33e3c1f07b3081ce7ee8c6 to your computer and use it in GitHub Desktop.
Save roblav96/36797b428e33e3c1f07b3081ce7ee8c6 to your computer and use it in GitHub Desktop.
node_modules/@nativescript/types-android/lib/android/android-platform-29.d.ts
This file has been truncated, but you can view the full file.
/// <reference path="android-declarations.d.ts"/>
declare module android {
export class Manifest extends java.lang.Object {
public static class: java.lang.Class<android.Manifest>;
public constructor();
}
export module Manifest {
export class permission extends java.lang.Object {
public static class: java.lang.Class<android.Manifest.permission>;
public static ACCEPT_HANDOVER: string;
public static ACCESS_BACKGROUND_LOCATION: string;
public static ACCESS_CHECKIN_PROPERTIES: string;
public static ACCESS_COARSE_LOCATION: string;
public static ACCESS_FINE_LOCATION: string;
public static ACCESS_LOCATION_EXTRA_COMMANDS: string;
public static ACCESS_MEDIA_LOCATION: string;
public static ACCESS_NETWORK_STATE: string;
public static ACCESS_NOTIFICATION_POLICY: string;
public static ACCESS_WIFI_STATE: string;
public static ACCOUNT_MANAGER: string;
public static ACTIVITY_RECOGNITION: string;
public static ADD_VOICEMAIL: string;
public static ANSWER_PHONE_CALLS: string;
public static BATTERY_STATS: string;
public static BIND_ACCESSIBILITY_SERVICE: string;
public static BIND_APPWIDGET: string;
public static BIND_AUTOFILL_SERVICE: string;
public static BIND_CALL_REDIRECTION_SERVICE: string;
public static BIND_CARRIER_MESSAGING_CLIENT_SERVICE: string;
public static BIND_CARRIER_MESSAGING_SERVICE: string;
public static BIND_CARRIER_SERVICES: string;
public static BIND_CHOOSER_TARGET_SERVICE: string;
public static BIND_CONDITION_PROVIDER_SERVICE: string;
public static BIND_DEVICE_ADMIN: string;
public static BIND_DREAM_SERVICE: string;
public static BIND_INCALL_SERVICE: string;
public static BIND_INPUT_METHOD: string;
public static BIND_MIDI_DEVICE_SERVICE: string;
public static BIND_NFC_SERVICE: string;
public static BIND_NOTIFICATION_LISTENER_SERVICE: string;
public static BIND_PRINT_SERVICE: string;
public static BIND_QUICK_SETTINGS_TILE: string;
public static BIND_REMOTEVIEWS: string;
public static BIND_SCREENING_SERVICE: string;
public static BIND_TELECOM_CONNECTION_SERVICE: string;
public static BIND_TEXT_SERVICE: string;
public static BIND_TV_INPUT: string;
public static BIND_VISUAL_VOICEMAIL_SERVICE: string;
public static BIND_VOICE_INTERACTION: string;
public static BIND_VPN_SERVICE: string;
public static BIND_VR_LISTENER_SERVICE: string;
public static BIND_WALLPAPER: string;
public static BLUETOOTH: string;
public static BLUETOOTH_ADMIN: string;
public static BLUETOOTH_PRIVILEGED: string;
public static BODY_SENSORS: string;
public static BROADCAST_PACKAGE_REMOVED: string;
public static BROADCAST_SMS: string;
public static BROADCAST_STICKY: string;
public static BROADCAST_WAP_PUSH: string;
public static CALL_COMPANION_APP: string;
public static CALL_PHONE: string;
public static CALL_PRIVILEGED: string;
public static CAMERA: string;
public static CAPTURE_AUDIO_OUTPUT: string;
public static CHANGE_COMPONENT_ENABLED_STATE: string;
public static CHANGE_CONFIGURATION: string;
public static CHANGE_NETWORK_STATE: string;
public static CHANGE_WIFI_MULTICAST_STATE: string;
public static CHANGE_WIFI_STATE: string;
public static CLEAR_APP_CACHE: string;
public static CONTROL_LOCATION_UPDATES: string;
public static DELETE_CACHE_FILES: string;
public static DELETE_PACKAGES: string;
public static DIAGNOSTIC: string;
public static DISABLE_KEYGUARD: string;
public static DUMP: string;
public static EXPAND_STATUS_BAR: string;
public static FACTORY_TEST: string;
public static FOREGROUND_SERVICE: string;
public static GET_ACCOUNTS: string;
public static GET_ACCOUNTS_PRIVILEGED: string;
public static GET_PACKAGE_SIZE: string;
public static GET_TASKS: string;
public static GLOBAL_SEARCH: string;
public static INSTALL_LOCATION_PROVIDER: string;
public static INSTALL_PACKAGES: string;
public static INSTALL_SHORTCUT: string;
public static INSTANT_APP_FOREGROUND_SERVICE: string;
public static INTERNET: string;
public static KILL_BACKGROUND_PROCESSES: string;
public static LOCATION_HARDWARE: string;
public static MANAGE_DOCUMENTS: string;
public static MANAGE_OWN_CALLS: string;
public static MASTER_CLEAR: string;
public static MEDIA_CONTENT_CONTROL: string;
public static MODIFY_AUDIO_SETTINGS: string;
public static MODIFY_PHONE_STATE: string;
public static MOUNT_FORMAT_FILESYSTEMS: string;
public static MOUNT_UNMOUNT_FILESYSTEMS: string;
public static NFC: string;
public static NFC_TRANSACTION_EVENT: string;
public static PACKAGE_USAGE_STATS: string;
public static PERSISTENT_ACTIVITY: string;
public static PROCESS_OUTGOING_CALLS: string;
public static READ_CALENDAR: string;
public static READ_CALL_LOG: string;
public static READ_CONTACTS: string;
public static READ_EXTERNAL_STORAGE: string;
public static READ_INPUT_STATE: string;
public static READ_LOGS: string;
public static READ_PHONE_NUMBERS: string;
public static READ_PHONE_STATE: string;
public static READ_SMS: string;
public static READ_SYNC_SETTINGS: string;
public static READ_SYNC_STATS: string;
public static READ_VOICEMAIL: string;
public static REBOOT: string;
public static RECEIVE_BOOT_COMPLETED: string;
public static RECEIVE_MMS: string;
public static RECEIVE_SMS: string;
public static RECEIVE_WAP_PUSH: string;
public static RECORD_AUDIO: string;
public static REORDER_TASKS: string;
public static REQUEST_COMPANION_RUN_IN_BACKGROUND: string;
public static REQUEST_COMPANION_USE_DATA_IN_BACKGROUND: string;
public static REQUEST_DELETE_PACKAGES: string;
public static REQUEST_IGNORE_BATTERY_OPTIMIZATIONS: string;
public static REQUEST_INSTALL_PACKAGES: string;
public static REQUEST_PASSWORD_COMPLEXITY: string;
public static RESTART_PACKAGES: string;
public static SEND_RESPOND_VIA_MESSAGE: string;
public static SEND_SMS: string;
public static SET_ALARM: string;
public static SET_ALWAYS_FINISH: string;
public static SET_ANIMATION_SCALE: string;
public static SET_DEBUG_APP: string;
public static SET_PREFERRED_APPLICATIONS: string;
public static SET_PROCESS_LIMIT: string;
public static SET_TIME: string;
public static SET_TIME_ZONE: string;
public static SET_WALLPAPER: string;
public static SET_WALLPAPER_HINTS: string;
public static SIGNAL_PERSISTENT_PROCESSES: string;
public static SMS_FINANCIAL_TRANSACTIONS: string;
public static START_VIEW_PERMISSION_USAGE: string;
public static STATUS_BAR: string;
public static SYSTEM_ALERT_WINDOW: string;
public static TRANSMIT_IR: string;
public static UNINSTALL_SHORTCUT: string;
public static UPDATE_DEVICE_STATS: string;
public static USE_BIOMETRIC: string;
public static USE_FINGERPRINT: string;
public static USE_FULL_SCREEN_INTENT: string;
public static USE_SIP: string;
public static VIBRATE: string;
public static WAKE_LOCK: string;
public static WRITE_APN_SETTINGS: string;
public static WRITE_CALENDAR: string;
public static WRITE_CALL_LOG: string;
public static WRITE_CONTACTS: string;
public static WRITE_EXTERNAL_STORAGE: string;
public static WRITE_GSERVICES: string;
public static WRITE_SECURE_SETTINGS: string;
public static WRITE_SETTINGS: string;
public static WRITE_SYNC_SETTINGS: string;
public static WRITE_VOICEMAIL: string;
public constructor();
}
export class permission_group extends java.lang.Object {
public static class: java.lang.Class<android.Manifest.permission_group>;
public static ACTIVITY_RECOGNITION: string;
public static CALENDAR: string;
public static CALL_LOG: string;
public static CAMERA: string;
public static CONTACTS: string;
public static LOCATION: string;
public static MICROPHONE: string;
public static PHONE: string;
public static SENSORS: string;
public static SMS: string;
public static STORAGE: string;
public constructor();
}
}
}
declare module android {
export class R extends java.lang.Object {
public static class: java.lang.Class<android.R>;
public constructor();
}
export module R {
export class anim extends java.lang.Object {
public static class: java.lang.Class<android.R.anim>;
public static accelerate_decelerate_interpolator: number;
public static accelerate_interpolator: number;
public static anticipate_interpolator: number;
public static anticipate_overshoot_interpolator: number;
public static bounce_interpolator: number;
public static cycle_interpolator: number;
public static decelerate_interpolator: number;
public static fade_in: number;
public static fade_out: number;
public static linear_interpolator: number;
public static overshoot_interpolator: number;
public static slide_in_left: number;
public static slide_out_right: number;
public constructor();
}
export class animator extends java.lang.Object {
public static class: java.lang.Class<android.R.animator>;
public static fade_in: number;
public static fade_out: number;
public constructor();
}
export class array extends java.lang.Object {
public static class: java.lang.Class<android.R.array>;
public static emailAddressTypes: number;
public static imProtocols: number;
public static organizationTypes: number;
public static phoneTypes: number;
public static postalAddressTypes: number;
public constructor();
}
export class attr extends java.lang.Object {
public static class: java.lang.Class<android.R.attr>;
public static absListViewStyle: number;
public static accessibilityEventTypes: number;
public static accessibilityFeedbackType: number;
public static accessibilityFlags: number;
public static accessibilityHeading: number;
public static accessibilityLiveRegion: number;
public static accessibilityPaneTitle: number;
public static accessibilityTraversalAfter: number;
public static accessibilityTraversalBefore: number;
public static accountPreferences: number;
public static accountType: number;
public static action: number;
public static actionBarDivider: number;
public static actionBarItemBackground: number;
public static actionBarPopupTheme: number;
public static actionBarSize: number;
public static actionBarSplitStyle: number;
public static actionBarStyle: number;
public static actionBarTabBarStyle: number;
public static actionBarTabStyle: number;
public static actionBarTabTextStyle: number;
public static actionBarTheme: number;
public static actionBarWidgetTheme: number;
public static actionButtonStyle: number;
public static actionDropDownStyle: number;
public static actionLayout: number;
public static actionMenuTextAppearance: number;
public static actionMenuTextColor: number;
public static actionModeBackground: number;
public static actionModeCloseButtonStyle: number;
public static actionModeCloseDrawable: number;
public static actionModeCopyDrawable: number;
public static actionModeCutDrawable: number;
public static actionModeFindDrawable: number;
public static actionModePasteDrawable: number;
public static actionModeSelectAllDrawable: number;
public static actionModeShareDrawable: number;
public static actionModeSplitBackground: number;
public static actionModeStyle: number;
public static actionModeWebSearchDrawable: number;
public static actionOverflowButtonStyle: number;
public static actionOverflowMenuStyle: number;
public static actionProviderClass: number;
public static actionViewClass: number;
public static activatedBackgroundIndicator: number;
public static activityCloseEnterAnimation: number;
public static activityCloseExitAnimation: number;
public static activityOpenEnterAnimation: number;
public static activityOpenExitAnimation: number;
public static addPrintersActivity: number;
public static addStatesFromChildren: number;
public static adjustViewBounds: number;
public static advancedPrintOptionsActivity: number;
public static alertDialogIcon: number;
public static alertDialogStyle: number;
public static alertDialogTheme: number;
public static alignmentMode: number;
public static allContactsName: number;
public static allowAudioPlaybackCapture: number;
public static allowBackup: number;
public static allowClearUserData: number;
public static allowEmbedded: number;
public static allowParallelSyncs: number;
public static allowSingleTap: number;
public static allowTaskReparenting: number;
public static allowUndo: number;
public static alpha: number;
public static alphabeticModifiers: number;
public static alphabeticShortcut: number;
public static alwaysDrawnWithCache: number;
public static alwaysRetainTaskState: number;
public static amPmBackgroundColor: number;
public static amPmTextColor: number;
public static ambientShadowAlpha: number;
public static angle: number;
public static animateFirstView: number;
public static animateLayoutChanges: number;
public static animateOnClick: number;
public static animation: number;
public static animationCache: number;
public static animationDuration: number;
public static animationOrder: number;
public static animationResolution: number;
public static antialias: number;
public static anyDensity: number;
public static apduServiceBanner: number;
public static apiKey: number;
public static appCategory: number;
public static appComponentFactory: number;
public static author: number;
public static authorities: number;
public static autoAdvanceViewId: number;
public static autoCompleteTextViewStyle: number;
public static autoLink: number;
public static autoMirrored: number;
public static autoRemoveFromRecents: number;
public static autoSizeMaxTextSize: number;
public static autoSizeMinTextSize: number;
public static autoSizePresetSizes: number;
public static autoSizeStepGranularity: number;
public static autoSizeTextType: number;
public static autoStart: number;
public static autoText: number;
public static autoUrlDetect: number;
public static autoVerify: number;
public static autofillHints: number;
public static autofilledHighlight: number;
public static background: number;
public static backgroundDimAmount: number;
public static backgroundDimEnabled: number;
public static backgroundSplit: number;
public static backgroundStacked: number;
public static backgroundTint: number;
public static backgroundTintMode: number;
public static backupAgent: number;
public static backupInForeground: number;
public static banner: number;
public static baseline: number;
public static baselineAlignBottom: number;
public static baselineAligned: number;
public static baselineAlignedChildIndex: number;
public static bitmap: number;
public static borderlessButtonStyle: number;
public static bottom: number;
public static bottomBright: number;
public static bottomDark: number;
public static bottomLeftRadius: number;
public static bottomMedium: number;
public static bottomOffset: number;
public static bottomRightRadius: number;
public static breadCrumbShortTitle: number;
public static breadCrumbTitle: number;
public static breakStrategy: number;
public static bufferType: number;
public static button: number;
public static buttonBarButtonStyle: number;
public static buttonBarNegativeButtonStyle: number;
public static buttonBarNeutralButtonStyle: number;
public static buttonBarPositiveButtonStyle: number;
public static buttonBarStyle: number;
public static buttonCornerRadius: number;
public static buttonGravity: number;
public static buttonStyle: number;
public static buttonStyleInset: number;
public static buttonStyleSmall: number;
public static buttonStyleToggle: number;
public static buttonTint: number;
public static buttonTintMode: number;
public static cacheColorHint: number;
public static calendarTextColor: number;
public static calendarViewShown: number;
public static calendarViewStyle: number;
public static canControlMagnification: number;
public static canPerformGestures: number;
public static canRecord: number;
public static canRequestEnhancedWebAccessibility: number;
public static canRequestFilterKeyEvents: number;
public static canRequestFingerprintGestures: number;
public static canRequestTouchExplorationMode: number;
public static canRetrieveWindowContent: number;
public static candidatesTextStyleSpans: number;
public static cantSaveState: number;
public static capitalize: number;
public static category: number;
public static centerBright: number;
public static centerColor: number;
public static centerDark: number;
public static centerMedium: number;
public static centerX: number;
public static centerY: number;
public static certDigest: number;
public static checkBoxPreferenceStyle: number;
public static checkMark: number;
public static checkMarkTint: number;
public static checkMarkTintMode: number;
public static checkable: number;
public static checkableBehavior: number;
public static checkboxStyle: number;
public static checked: number;
public static checkedButton: number;
public static checkedTextViewStyle: number;
public static childDivider: number;
public static childIndicator: number;
public static childIndicatorEnd: number;
public static childIndicatorLeft: number;
public static childIndicatorRight: number;
public static childIndicatorStart: number;
public static choiceMode: number;
public static classLoader: number;
public static clearTaskOnLaunch: number;
public static clickable: number;
public static clipChildren: number;
public static clipOrientation: number;
public static clipToPadding: number;
public static closeIcon: number;
public static codes: number;
public static collapseColumns: number;
public static collapseContentDescription: number;
public static collapseIcon: number;
public static color: number;
public static colorAccent: number;
public static colorActivatedHighlight: number;
public static colorBackground: number;
public static colorBackgroundCacheHint: number;
public static colorBackgroundFloating: number;
public static colorButtonNormal: number;
public static colorControlActivated: number;
public static colorControlHighlight: number;
public static colorControlNormal: number;
public static colorEdgeEffect: number;
public static colorError: number;
public static colorFocusedHighlight: number;
public static colorForeground: number;
public static colorForegroundInverse: number;
public static colorLongPressedHighlight: number;
public static colorMode: number;
public static colorMultiSelectHighlight: number;
public static colorPressedHighlight: number;
public static colorPrimary: number;
public static colorPrimaryDark: number;
public static colorSecondary: number;
public static columnCount: number;
public static columnDelay: number;
public static columnOrderPreserved: number;
public static columnWidth: number;
public static commitIcon: number;
public static compatibleWidthLimitDp: number;
public static completionHint: number;
public static completionHintView: number;
public static completionThreshold: number;
public static configChanges: number;
public static configure: number;
public static constantSize: number;
public static content: number;
public static contentAgeHint: number;
public static contentAuthority: number;
public static contentDescription: number;
public static contentInsetEnd: number;
public static contentInsetEndWithActions: number;
public static contentInsetLeft: number;
public static contentInsetRight: number;
public static contentInsetStart: number;
public static contentInsetStartWithNavigation: number;
public static contextClickable: number;
public static contextDescription: number;
public static contextPopupMenuStyle: number;
public static contextUri: number;
public static controlX1: number;
public static controlX2: number;
public static controlY1: number;
public static controlY2: number;
public static countDown: number;
public static country: number;
public static cropToPadding: number;
public static cursorVisible: number;
public static customNavigationLayout: number;
public static customTokens: number;
public static cycles: number;
public static dashGap: number;
public static dashWidth: number;
public static data: number;
public static datePickerDialogTheme: number;
public static datePickerMode: number;
public static datePickerStyle: number;
public static dateTextAppearance: number;
public static dayOfWeekBackground: number;
public static dayOfWeekTextAppearance: number;
public static debuggable: number;
public static defaultFocusHighlightEnabled: number;
public static defaultHeight: number;
public static defaultToDeviceProtectedStorage: number;
public static defaultValue: number;
public static defaultWidth: number;
public static delay: number;
public static dependency: number;
public static descendantFocusability: number;
public static description: number;
public static detachWallpaper: number;
public static detailColumn: number;
public static detailSocialSummary: number;
public static detailsElementBackground: number;
public static dial: number;
public static dialogCornerRadius: number;
public static dialogIcon: number;
public static dialogLayout: number;
public static dialogMessage: number;
public static dialogPreferenceStyle: number;
public static dialogPreferredPadding: number;
public static dialogTheme: number;
public static dialogTitle: number;
public static digits: number;
public static directBootAware: number;
public static direction: number;
public static directionDescriptions: number;
public static directionPriority: number;
public static disableDependentsState: number;
public static disabledAlpha: number;
public static displayOptions: number;
public static dither: number;
public static divider: number;
public static dividerHeight: number;
public static dividerHorizontal: number;
public static dividerPadding: number;
public static dividerVertical: number;
public static documentLaunchMode: number;
public static drawSelectorOnTop: number;
public static drawable: number;
public static drawableBottom: number;
public static drawableEnd: number;
public static drawableLeft: number;
public static drawablePadding: number;
public static drawableRight: number;
public static drawableStart: number;
public static drawableTint: number;
public static drawableTintMode: number;
public static drawableTop: number;
public static drawingCacheQuality: number;
public static dropDownAnchor: number;
public static dropDownHeight: number;
public static dropDownHintAppearance: number;
public static dropDownHorizontalOffset: number;
public static dropDownItemStyle: number;
public static dropDownListViewStyle: number;
public static dropDownSelector: number;
public static dropDownSpinnerStyle: number;
public static dropDownVerticalOffset: number;
public static dropDownWidth: number;
public static duplicateParentState: number;
public static duration: number;
public static editTextBackground: number;
public static editTextColor: number;
public static editTextPreferenceStyle: number;
public static editTextStyle: number;
public static editable: number;
public static editorExtras: number;
public static elegantTextHeight: number;
public static elevation: number;
public static ellipsize: number;
public static ems: number;
public static enableVrMode: number;
public static enabled: number;
public static end: number;
public static endColor: number;
public static endX: number;
public static endY: number;
public static endYear: number;
public static enforceNavigationBarContrast: number;
public static enforceStatusBarContrast: number;
public static enterFadeDuration: number;
public static entries: number;
public static entryValues: number;
public static eventsInterceptionEnabled: number;
public static excludeClass: number;
public static excludeFromRecents: number;
public static excludeId: number;
public static excludeName: number;
public static exitFadeDuration: number;
public static expandableListPreferredChildIndicatorLeft: number;
public static expandableListPreferredChildIndicatorRight: number;
public static expandableListPreferredChildPaddingLeft: number;
public static expandableListPreferredItemIndicatorLeft: number;
public static expandableListPreferredItemIndicatorRight: number;
public static expandableListPreferredItemPaddingLeft: number;
public static expandableListViewStyle: number;
public static expandableListViewWhiteStyle: number;
public static exported: number;
public static externalService: number;
public static extraTension: number;
public static extractNativeLibs: number;
public static factor: number;
public static fadeDuration: number;
public static fadeEnabled: number;
public static fadeOffset: number;
public static fadeScrollbars: number;
public static fadingEdge: number;
public static fadingEdgeLength: number;
public static fadingMode: number;
public static fallbackLineSpacing: number;
public static fastScrollAlwaysVisible: number;
public static fastScrollEnabled: number;
public static fastScrollOverlayPosition: number;
public static fastScrollPreviewBackgroundLeft: number;
public static fastScrollPreviewBackgroundRight: number;
public static fastScrollStyle: number;
public static fastScrollTextColor: number;
public static fastScrollThumbDrawable: number;
public static fastScrollTrackDrawable: number;
public static fillAfter: number;
public static fillAlpha: number;
public static fillBefore: number;
public static fillColor: number;
public static fillEnabled: number;
public static fillType: number;
public static fillViewport: number;
public static filter: number;
public static filterTouchesWhenObscured: number;
public static fingerprintAuthDrawable: number;
public static finishOnCloseSystemDialogs: number;
public static finishOnTaskLaunch: number;
public static firstBaselineToTopHeight: number;
public static firstDayOfWeek: number;
public static fitsSystemWindows: number;
public static flipInterval: number;
public static focusable: number;
public static focusableInTouchMode: number;
public static focusedByDefault: number;
public static focusedMonthDateColor: number;
public static font: number;
public static fontFamily: number;
public static fontFeatureSettings: number;
public static fontProviderAuthority: number;
public static fontProviderCerts: number;
public static fontProviderPackage: number;
public static fontProviderQuery: number;
public static fontStyle: number;
public static fontVariationSettings: number;
public static fontWeight: number;
public static footerDividersEnabled: number;
public static forceDarkAllowed: number;
public static forceHasOverlappingRendering: number;
public static forceUriPermissions: number;
public static foreground: number;
public static foregroundGravity: number;
public static foregroundServiceType: number;
public static foregroundTint: number;
public static foregroundTintMode: number;
public static format: number;
public static format12Hour: number;
public static format24Hour: number;
public static fraction: number;
public static fragment: number;
public static fragmentAllowEnterTransitionOverlap: number;
public static fragmentAllowReturnTransitionOverlap: number;
public static fragmentCloseEnterAnimation: number;
public static fragmentCloseExitAnimation: number;
public static fragmentEnterTransition: number;
public static fragmentExitTransition: number;
public static fragmentFadeEnterAnimation: number;
public static fragmentFadeExitAnimation: number;
public static fragmentOpenEnterAnimation: number;
public static fragmentOpenExitAnimation: number;
public static fragmentReenterTransition: number;
public static fragmentReturnTransition: number;
public static fragmentSharedElementEnterTransition: number;
public static fragmentSharedElementReturnTransition: number;
public static freezesText: number;
public static fromAlpha: number;
public static fromDegrees: number;
public static fromId: number;
public static fromScene: number;
public static fromXDelta: number;
public static fromXScale: number;
public static fromYDelta: number;
public static fromYScale: number;
public static fullBackupContent: number;
public static fullBackupOnly: number;
public static fullBright: number;
public static fullDark: number;
public static functionalTest: number;
public static galleryItemBackground: number;
public static galleryStyle: number;
public static gestureColor: number;
public static gestureStrokeAngleThreshold: number;
public static gestureStrokeLengthThreshold: number;
public static gestureStrokeSquarenessThreshold: number;
public static gestureStrokeType: number;
public static gestureStrokeWidth: number;
public static glEsVersion: number;
public static goIcon: number;
public static gradientRadius: number;
public static grantUriPermissions: number;
public static gravity: number;
public static gridViewStyle: number;
public static groupIndicator: number;
public static hand_hour: number;
public static hand_minute: number;
public static handle: number;
public static handleProfiling: number;
public static hapticFeedbackEnabled: number;
public static hardwareAccelerated: number;
public static hasCode: number;
public static hasFragileUserData: number;
public static headerAmPmTextAppearance: number;
public static headerBackground: number;
public static headerDayOfMonthTextAppearance: number;
public static headerDividersEnabled: number;
public static headerMonthTextAppearance: number;
public static headerTimeTextAppearance: number;
public static headerYearTextAppearance: number;
public static height: number;
public static hideOnContentScroll: number;
public static hint: number;
public static homeAsUpIndicator: number;
public static homeLayout: number;
public static horizontalDivider: number;
public static horizontalGap: number;
public static horizontalScrollViewStyle: number;
public static horizontalSpacing: number;
public static host: number;
public static hotSpotX: number;
public static hotSpotY: number;
public static hyphenationFrequency: number;
public static icon: number;
public static iconPreview: number;
public static iconSpaceReserved: number;
public static iconTint: number;
public static iconTintMode: number;
public static iconifiedByDefault: number;
public static id: number;
public static identifier: number;
public static ignoreGravity: number;
public static imageButtonStyle: number;
public static imageWellStyle: number;
public static imeActionId: number;
public static imeActionLabel: number;
public static imeExtractEnterAnimation: number;
public static imeExtractExitAnimation: number;
public static imeFullscreenBackground: number;
public static imeOptions: number;
public static imeSubtypeExtraValue: number;
public static imeSubtypeLocale: number;
public static imeSubtypeMode: number;
public static immersive: number;
public static importantForAccessibility: number;
public static importantForAutofill: number;
public static inAnimation: number;
public static includeFontPadding: number;
public static includeInGlobalSearch: number;
public static indeterminate: number;
public static indeterminateBehavior: number;
public static indeterminateDrawable: number;
public static indeterminateDuration: number;
public static indeterminateOnly: number;
public static indeterminateProgressStyle: number;
public static indeterminateTint: number;
public static indeterminateTintMode: number;
public static indicatorEnd: number;
public static indicatorLeft: number;
public static indicatorRight: number;
public static indicatorStart: number;
public static inflatedId: number;
public static inheritShowWhenLocked: number;
public static initOrder: number;
public static initialKeyguardLayout: number;
public static initialLayout: number;
public static innerRadius: number;
public static innerRadiusRatio: number;
public static inputMethod: number;
public static inputType: number;
public static inset: number;
public static insetBottom: number;
public static insetLeft: number;
public static insetRight: number;
public static insetTop: number;
public static installLocation: number;
public static interactiveUiTimeout: number;
public static interpolator: number;
public static isAlwaysSyncable: number;
public static isAsciiCapable: number;
public static isAuxiliary: number;
public static isDefault: number;
public static isFeatureSplit: number;
public static isGame: number;
public static isIndicator: number;
public static isLightTheme: number;
public static isModifier: number;
public static isRepeatable: number;
public static isScrollContainer: number;
public static isSplitRequired: number;
public static isStatic: number;
public static isSticky: number;
public static isolatedProcess: number;
public static isolatedSplits: number;
public static itemBackground: number;
public static itemIconDisabledAlpha: number;
public static itemPadding: number;
public static itemTextAppearance: number;
public static justificationMode: number;
public static keepScreenOn: number;
public static key: number;
public static keyBackground: number;
public static keyEdgeFlags: number;
public static keyHeight: number;
public static keyIcon: number;
public static keyLabel: number;
public static keyOutputText: number;
public static keyPreviewHeight: number;
public static keyPreviewLayout: number;
public static keyPreviewOffset: number;
public static keySet: number;
public static keyTextColor: number;
public static keyTextSize: number;
public static keyWidth: number;
public static keyboardLayout: number;
public static keyboardMode: number;
public static keyboardNavigationCluster: number;
public static keycode: number;
public static killAfterRestore: number;
public static label: number;
public static labelFor: number;
public static labelTextSize: number;
public static languageTag: number;
public static largeHeap: number;
public static largeScreens: number;
public static largestWidthLimitDp: number;
public static lastBaselineToBottomHeight: number;
public static launchMode: number;
public static launchTaskBehindSourceAnimation: number;
public static launchTaskBehindTargetAnimation: number;
public static layerType: number;
public static layout: number;
public static layoutAnimation: number;
public static layoutDirection: number;
public static layoutMode: number;
public static layout_above: number;
public static layout_alignBaseline: number;
public static layout_alignBottom: number;
public static layout_alignEnd: number;
public static layout_alignLeft: number;
public static layout_alignParentBottom: number;
public static layout_alignParentEnd: number;
public static layout_alignParentLeft: number;
public static layout_alignParentRight: number;
public static layout_alignParentStart: number;
public static layout_alignParentTop: number;
public static layout_alignRight: number;
public static layout_alignStart: number;
public static layout_alignTop: number;
public static layout_alignWithParentIfMissing: number;
public static layout_below: number;
public static layout_centerHorizontal: number;
public static layout_centerInParent: number;
public static layout_centerVertical: number;
public static layout_column: number;
public static layout_columnSpan: number;
public static layout_columnWeight: number;
public static layout_gravity: number;
public static layout_height: number;
public static layout_margin: number;
public static layout_marginBottom: number;
public static layout_marginEnd: number;
public static layout_marginHorizontal: number;
public static layout_marginLeft: number;
public static layout_marginRight: number;
public static layout_marginStart: number;
public static layout_marginTop: number;
public static layout_marginVertical: number;
public static layout_row: number;
public static layout_rowSpan: number;
public static layout_rowWeight: number;
public static layout_scale: number;
public static layout_span: number;
public static layout_toEndOf: number;
public static layout_toLeftOf: number;
public static layout_toRightOf: number;
public static layout_toStartOf: number;
public static layout_weight: number;
public static layout_width: number;
public static layout_x: number;
public static layout_y: number;
public static left: number;
public static letterSpacing: number;
public static level: number;
public static lineHeight: number;
public static lineSpacingExtra: number;
public static lineSpacingMultiplier: number;
public static lines: number;
public static linksClickable: number;
public static listChoiceBackgroundIndicator: number;
public static listChoiceIndicatorMultiple: number;
public static listChoiceIndicatorSingle: number;
public static listDivider: number;
public static listDividerAlertDialog: number;
public static listMenuViewStyle: number;
public static listPopupWindowStyle: number;
public static listPreferredItemHeight: number;
public static listPreferredItemHeightLarge: number;
public static listPreferredItemHeightSmall: number;
public static listPreferredItemPaddingEnd: number;
public static listPreferredItemPaddingLeft: number;
public static listPreferredItemPaddingRight: number;
public static listPreferredItemPaddingStart: number;
public static listSelector: number;
public static listSeparatorTextViewStyle: number;
public static listViewStyle: number;
public static listViewWhiteStyle: number;
public static lockTaskMode: number;
public static logo: number;
public static logoDescription: number;
public static longClickable: number;
public static loopViews: number;
public static manageSpaceActivity: number;
public static mapViewStyle: number;
public static marqueeRepeatLimit: number;
public static matchOrder: number;
public static max: number;
public static maxAspectRatio: number;
public static maxButtonHeight: number;
public static maxDate: number;
public static maxEms: number;
public static maxHeight: number;
public static maxItemsPerRow: number;
public static maxLength: number;
public static maxLevel: number;
public static maxLines: number;
public static maxLongVersionCode: number;
public static maxRecents: number;
public static maxRows: number;
public static maxSdkVersion: number;
public static maxWidth: number;
public static maximumAngle: number;
public static measureAllChildren: number;
public static measureWithLargestChild: number;
public static mediaRouteButtonStyle: number;
public static mediaRouteTypes: number;
public static menuCategory: number;
public static mimeType: number;
public static min: number;
public static minAspectRatio: number;
public static minDate: number;
public static minEms: number;
public static minHeight: number;
public static minLevel: number;
public static minLines: number;
public static minResizeHeight: number;
public static minResizeWidth: number;
public static minSdkVersion: number;
public static minWidth: number;
public static minimumHorizontalAngle: number;
public static minimumVerticalAngle: number;
public static mipMap: number;
public static mirrorForRtl: number;
public static mode: number;
public static moreIcon: number;
public static multiArch: number;
public static multiprocess: number;
public static name: number;
public static navigationBarColor: number;
public static navigationBarDividerColor: number;
public static navigationContentDescription: number;
public static navigationIcon: number;
public static navigationMode: number;
public static negativeButtonText: number;
public static nestedScrollingEnabled: number;
public static networkSecurityConfig: number;
public static nextClusterForward: number;
public static nextFocusDown: number;
public static nextFocusForward: number;
public static nextFocusLeft: number;
public static nextFocusRight: number;
public static nextFocusUp: number;
public static noHistory: number;
public static nonInteractiveUiTimeout: number;
public static normalScreens: number;
public static notificationTimeout: number;
public static numColumns: number;
public static numStars: number;
public static numberPickerStyle: number;
public static numbersBackgroundColor: number;
public static numbersInnerTextColor: number;
public static numbersSelectorColor: number;
public static numbersTextColor: number;
public static numeric: number;
public static numericModifiers: number;
public static numericShortcut: number;
public static offset: number;
public static onClick: number;
public static oneshot: number;
public static opacity: number;
public static opticalInsetBottom: number;
public static opticalInsetLeft: number;
public static opticalInsetRight: number;
public static opticalInsetTop: number;
public static order: number;
public static orderInCategory: number;
public static ordering: number;
public static orderingFromXml: number;
public static orientation: number;
public static outAnimation: number;
public static outlineAmbientShadowColor: number;
public static outlineProvider: number;
public static outlineSpotShadowColor: number;
public static overScrollFooter: number;
public static overScrollHeader: number;
public static overScrollMode: number;
public static overlapAnchor: number;
public static overridesImplicitlyEnabledSubtype: number;
public static packageNames: number;
public static packageType: number;
public static padding: number;
public static paddingBottom: number;
public static paddingEnd: number;
public static paddingHorizontal: number;
public static paddingLeft: number;
public static paddingMode: number;
public static paddingRight: number;
public static paddingStart: number;
public static paddingTop: number;
public static paddingVertical: number;
public static panelBackground: number;
public static panelColorBackground: number;
public static panelColorForeground: number;
public static panelFullBackground: number;
public static panelTextAppearance: number;
public static parentActivityName: number;
public static password: number;
public static path: number;
public static pathData: number;
public static pathPattern: number;
public static pathPrefix: number;
public static patternPathData: number;
public static permission: number;
public static permissionFlags: number;
public static permissionGroup: number;
public static permissionGroupFlags: number;
public static persistableMode: number;
public static persistent: number;
public static persistentDrawingCache: number;
public static persistentWhenFeatureAvailable: number;
public static phoneNumber: number;
public static pivotX: number;
public static pivotY: number;
public static pointerIcon: number;
public static popupAnimationStyle: number;
public static popupBackground: number;
public static popupCharacters: number;
public static popupElevation: number;
public static popupEnterTransition: number;
public static popupExitTransition: number;
public static popupKeyboard: number;
public static popupLayout: number;
public static popupMenuStyle: number;
public static popupTheme: number;
public static popupWindowStyle: number;
public static port: number;
public static positiveButtonText: number;
public static preferenceCategoryStyle: number;
public static preferenceFragmentStyle: number;
public static preferenceInformationStyle: number;
public static preferenceLayoutChild: number;
public static preferenceScreenStyle: number;
public static preferenceStyle: number;
public static presentationTheme: number;
public static previewImage: number;
public static primaryContentAlpha: number;
public static priority: number;
public static privateImeOptions: number;
public static process: number;
public static progress: number;
public static progressBackgroundTint: number;
public static progressBackgroundTintMode: number;
public static progressBarPadding: number;
public static progressBarStyle: number;
public static progressBarStyleHorizontal: number;
public static progressBarStyleInverse: number;
public static progressBarStyleLarge: number;
public static progressBarStyleLargeInverse: number;
public static progressBarStyleSmall: number;
public static progressBarStyleSmallInverse: number;
public static progressBarStyleSmallTitle: number;
public static progressDrawable: number;
public static progressTint: number;
public static progressTintMode: number;
public static prompt: number;
public static propertyName: number;
public static propertyXName: number;
public static propertyYName: number;
public static protectionLevel: number;
public static publicKey: number;
public static queryActionMsg: number;
public static queryAfterZeroResults: number;
public static queryBackground: number;
public static queryHint: number;
public static quickContactBadgeStyleSmallWindowLarge: number;
public static quickContactBadgeStyleSmallWindowMedium: number;
public static quickContactBadgeStyleSmallWindowSmall: number;
public static quickContactBadgeStyleWindowLarge: number;
public static quickContactBadgeStyleWindowMedium: number;
public static quickContactBadgeStyleWindowSmall: number;
public static radioButtonStyle: number;
public static radius: number;
public static rating: number;
public static ratingBarStyle: number;
public static ratingBarStyleIndicator: number;
public static ratingBarStyleSmall: number;
public static readPermission: number;
public static recognitionService: number;
public static recreateOnConfigChanges: number;
public static recycleEnabled: number;
public static relinquishTaskIdentity: number;
public static reparent: number;
public static reparentWithOverlay: number;
public static repeatCount: number;
public static repeatMode: number;
public static reqFiveWayNav: number;
public static reqHardKeyboard: number;
public static reqKeyboardType: number;
public static reqNavigation: number;
public static reqTouchScreen: number;
public static requestLegacyExternalStorage: number;
public static requireDeviceUnlock: number;
public static required: number;
public static requiredAccountType: number;
public static requiredFeature: number;
public static requiredForAllUsers: number;
public static requiredNotFeature: number;
public static requiresFadingEdge: number;
public static requiresSmallestWidthDp: number;
public static resizeClip: number;
public static resizeMode: number;
public static resizeable: number;
public static resizeableActivity: number;
public static resource: number;
public static restoreAnyVersion: number;
public static restoreNeedsApplication: number;
public static restrictedAccountType: number;
public static restrictionType: number;
public static resumeWhilePausing: number;
public static reversible: number;
public static revisionCode: number;
public static right: number;
public static ringtonePreferenceStyle: number;
public static ringtoneType: number;
public static rotation: number;
public static rotationAnimation: number;
public static rotationX: number;
public static rotationY: number;
public static roundIcon: number;
public static rowCount: number;
public static rowDelay: number;
public static rowEdgeFlags: number;
public static rowHeight: number;
public static rowOrderPreserved: number;
public static saveEnabled: number;
public static scaleGravity: number;
public static scaleHeight: number;
public static scaleType: number;
public static scaleWidth: number;
public static scaleX: number;
public static scaleY: number;
public static scheme: number;
public static screenDensity: number;
public static screenOrientation: number;
public static screenReaderFocusable: number;
public static screenSize: number;
public static scrollHorizontally: number;
public static scrollIndicators: number;
public static scrollViewStyle: number;
public static scrollX: number;
public static scrollY: number;
public static scrollbarAlwaysDrawHorizontalTrack: number;
public static scrollbarAlwaysDrawVerticalTrack: number;
public static scrollbarDefaultDelayBeforeFade: number;
public static scrollbarFadeDuration: number;
public static scrollbarSize: number;
public static scrollbarStyle: number;
public static scrollbarThumbHorizontal: number;
public static scrollbarThumbVertical: number;
public static scrollbarTrackHorizontal: number;
public static scrollbarTrackVertical: number;
public static scrollbars: number;
public static scrollingCache: number;
public static searchButtonText: number;
public static searchHintIcon: number;
public static searchIcon: number;
public static searchMode: number;
public static searchSettingsDescription: number;
public static searchSuggestAuthority: number;
public static searchSuggestIntentAction: number;
public static searchSuggestIntentData: number;
public static searchSuggestPath: number;
public static searchSuggestSelection: number;
public static searchSuggestThreshold: number;
public static searchViewStyle: number;
public static secondaryContentAlpha: number;
public static secondaryProgress: number;
public static secondaryProgressTint: number;
public static secondaryProgressTintMode: number;
public static secureElementName: number;
public static seekBarStyle: number;
public static segmentedButtonStyle: number;
public static selectAllOnFocus: number;
public static selectable: number;
public static selectableItemBackground: number;
public static selectableItemBackgroundBorderless: number;
public static selectedDateVerticalBar: number;
public static selectedWeekBackgroundColor: number;
public static selectionDividerHeight: number;
public static sessionService: number;
public static settingsActivity: number;
public static settingsSliceUri: number;
public static setupActivity: number;
public static shadowColor: number;
public static shadowDx: number;
public static shadowDy: number;
public static shadowRadius: number;
public static shape: number;
public static shareInterpolator: number;
public static sharedUserId: number;
public static sharedUserLabel: number;
public static shell: number;
public static shortcutDisabledMessage: number;
public static shortcutId: number;
public static shortcutLongLabel: number;
public static shortcutShortLabel: number;
public static shouldDisableView: number;
public static showAsAction: number;
public static showDefault: number;
public static showDividers: number;
public static showForAllUsers: number;
public static showMetadataInPreview: number;
public static showOnLockScreen: number;
public static showSilent: number;
public static showText: number;
public static showWeekNumber: number;
public static showWhenLocked: number;
public static shownWeekCount: number;
public static shrinkColumns: number;
public static singleLine: number;
public static singleLineTitle: number;
public static singleUser: number;
public static slideEdge: number;
public static smallIcon: number;
public static smallScreens: number;
public static smoothScrollbar: number;
public static soundEffectsEnabled: number;
public static spacing: number;
public static spinnerDropDownItemStyle: number;
public static spinnerItemStyle: number;
public static spinnerMode: number;
public static spinnerStyle: number;
public static spinnersShown: number;
public static splitMotionEvents: number;
public static splitName: number;
public static splitTrack: number;
public static spotShadowAlpha: number;
public static src: number;
public static ssp: number;
public static sspPattern: number;
public static sspPrefix: number;
public static stackFromBottom: number;
public static stackViewStyle: number;
public static starStyle: number;
public static start: number;
public static startColor: number;
public static startDelay: number;
public static startOffset: number;
public static startX: number;
public static startY: number;
public static startYear: number;
public static stateListAnimator: number;
public static stateNotNeeded: number;
public static state_above_anchor: number;
public static state_accelerated: number;
public static state_activated: number;
public static state_active: number;
public static state_checkable: number;
public static state_checked: number;
public static state_drag_can_accept: number;
public static state_drag_hovered: number;
public static state_empty: number;
public static state_enabled: number;
public static state_expanded: number;
public static state_first: number;
public static state_focused: number;
public static state_hovered: number;
public static state_last: number;
public static state_long_pressable: number;
public static state_middle: number;
public static state_multiline: number;
public static state_pressed: number;
public static state_selected: number;
public static state_single: number;
public static state_window_focused: number;
public static staticWallpaperPreview: number;
public static statusBarColor: number;
public static stepSize: number;
public static stopWithTask: number;
public static streamType: number;
public static stretchColumns: number;
public static stretchMode: number;
public static strokeAlpha: number;
public static strokeColor: number;
public static strokeLineCap: number;
public static strokeLineJoin: number;
public static strokeMiterLimit: number;
public static strokeWidth: number;
public static subMenuArrow: number;
public static submitBackground: number;
public static subtitle: number;
public static subtitleTextAppearance: number;
public static subtitleTextColor: number;
public static subtitleTextStyle: number;
public static subtypeExtraValue: number;
public static subtypeId: number;
public static subtypeLocale: number;
public static suggestActionMsg: number;
public static suggestActionMsgColumn: number;
public static suggestionRowLayout: number;
public static summary: number;
public static summaryColumn: number;
public static summaryOff: number;
public static summaryOn: number;
public static supportsAssist: number;
public static supportsLaunchVoiceAssistFromKeyguard: number;
public static supportsLocalInteraction: number;
public static supportsMultipleDisplays: number;
public static supportsPictureInPicture: number;
public static supportsRtl: number;
public static supportsSwitchingToNextInputMethod: number;
public static supportsUploading: number;
public static switchMinWidth: number;
public static switchPadding: number;
public static switchPreferenceStyle: number;
public static switchStyle: number;
public static switchTextAppearance: number;
public static switchTextOff: number;
public static switchTextOn: number;
public static syncable: number;
public static tabStripEnabled: number;
public static tabStripLeft: number;
public static tabStripRight: number;
public static tabWidgetStyle: number;
public static tag: number;
public static targetActivity: number;
public static targetClass: number;
public static targetDescriptions: number;
public static targetId: number;
public static targetName: number;
public static targetPackage: number;
public static targetProcesses: number;
public static targetSandboxVersion: number;
public static targetSdkVersion: number;
public static taskAffinity: number;
public static taskCloseEnterAnimation: number;
public static taskCloseExitAnimation: number;
public static taskOpenEnterAnimation: number;
public static taskOpenExitAnimation: number;
public static taskToBackEnterAnimation: number;
public static taskToBackExitAnimation: number;
public static taskToFrontEnterAnimation: number;
public static taskToFrontExitAnimation: number;
public static tension: number;
public static testOnly: number;
public static text: number;
public static textAlignment: number;
public static textAllCaps: number;
public static textAppearance: number;
public static textAppearanceButton: number;
public static textAppearanceInverse: number;
public static textAppearanceLarge: number;
public static textAppearanceLargeInverse: number;
public static textAppearanceLargePopupMenu: number;
public static textAppearanceListItem: number;
public static textAppearanceListItemSecondary: number;
public static textAppearanceListItemSmall: number;
public static textAppearanceMedium: number;
public static textAppearanceMediumInverse: number;
public static textAppearancePopupMenuHeader: number;
public static textAppearanceSearchResultSubtitle: number;
public static textAppearanceSearchResultTitle: number;
public static textAppearanceSmall: number;
public static textAppearanceSmallInverse: number;
public static textAppearanceSmallPopupMenu: number;
public static textCheckMark: number;
public static textCheckMarkInverse: number;
public static textColor: number;
public static textColorAlertDialogListItem: number;
public static textColorHighlight: number;
public static textColorHighlightInverse: number;
public static textColorHint: number;
public static textColorHintInverse: number;
public static textColorLink: number;
public static textColorLinkInverse: number;
public static textColorPrimary: number;
public static textColorPrimaryDisableOnly: number;
public static textColorPrimaryInverse: number;
public static textColorPrimaryInverseDisableOnly: number;
public static textColorPrimaryInverseNoDisable: number;
public static textColorPrimaryNoDisable: number;
public static textColorSecondary: number;
public static textColorSecondaryInverse: number;
public static textColorSecondaryInverseNoDisable: number;
public static textColorSecondaryNoDisable: number;
public static textColorTertiary: number;
public static textColorTertiaryInverse: number;
public static textCursorDrawable: number;
public static textDirection: number;
public static textEditNoPasteWindowLayout: number;
public static textEditPasteWindowLayout: number;
public static textEditSideNoPasteWindowLayout: number;
public static textEditSidePasteWindowLayout: number;
public static textEditSuggestionItemLayout: number;
public static textFilterEnabled: number;
public static textFontWeight: number;
public static textIsSelectable: number;
public static textLocale: number;
public static textOff: number;
public static textOn: number;
public static textScaleX: number;
public static textSelectHandle: number;
public static textSelectHandleLeft: number;
public static textSelectHandleRight: number;
public static textSelectHandleWindowStyle: number;
public static textSize: number;
public static textStyle: number;
public static textSuggestionsWindowStyle: number;
public static textViewStyle: number;
public static theme: number;
public static thickness: number;
public static thicknessRatio: number;
public static thumb: number;
public static thumbOffset: number;
public static thumbPosition: number;
public static thumbTextPadding: number;
public static thumbTint: number;
public static thumbTintMode: number;
public static thumbnail: number;
public static tickMark: number;
public static tickMarkTint: number;
public static tickMarkTintMode: number;
public static tileMode: number;
public static tileModeX: number;
public static tileModeY: number;
public static timePickerDialogTheme: number;
public static timePickerMode: number;
public static timePickerStyle: number;
public static timeZone: number;
public static tint: number;
public static tintMode: number;
public static title: number;
public static titleCondensed: number;
public static titleMargin: number;
public static titleMarginBottom: number;
public static titleMarginEnd: number;
public static titleMarginStart: number;
public static titleMarginTop: number;
public static titleTextAppearance: number;
public static titleTextColor: number;
public static titleTextStyle: number;
public static toAlpha: number;
public static toDegrees: number;
public static toId: number;
public static toScene: number;
public static toXDelta: number;
public static toXScale: number;
public static toYDelta: number;
public static toYScale: number;
public static toolbarStyle: number;
public static tooltipText: number;
public static top: number;
public static topBright: number;
public static topDark: number;
public static topLeftRadius: number;
public static topOffset: number;
public static topRightRadius: number;
public static touchscreenBlocksFocus: number;
public static track: number;
public static trackTint: number;
public static trackTintMode: number;
public static transcriptMode: number;
public static transformPivotX: number;
public static transformPivotY: number;
public static transition: number;
public static transitionGroup: number;
public static transitionName: number;
public static transitionOrdering: number;
public static transitionVisibilityMode: number;
public static translateX: number;
public static translateY: number;
public static translationX: number;
public static translationY: number;
public static translationZ: number;
public static trimPathEnd: number;
public static trimPathOffset: number;
public static trimPathStart: number;
public static ttcIndex: number;
public static tunerCount: number;
public static turnScreenOn: number;
public static type: number;
public static typeface: number;
public static uiOptions: number;
public static uncertainGestureColor: number;
public static unfocusedMonthDateColor: number;
public static unselectedAlpha: number;
public static updatePeriodMillis: number;
public static use32bitAbi: number;
public static useAppZygote: number;
public static useDefaultMargins: number;
public static useEmbeddedDex: number;
public static useIntrinsicSizeAsMinimum: number;
public static useLevel: number;
public static userVisible: number;
public static usesCleartextTraffic: number;
public static value: number;
public static valueFrom: number;
public static valueTo: number;
public static valueType: number;
public static variablePadding: number;
public static vendor: number;
public static version: number;
public static versionCode: number;
public static versionCodeMajor: number;
public static versionMajor: number;
public static versionName: number;
public static verticalCorrection: number;
public static verticalDivider: number;
public static verticalGap: number;
public static verticalScrollbarPosition: number;
public static verticalSpacing: number;
public static viewportHeight: number;
public static viewportWidth: number;
public static visibility: number;
public static visible: number;
public static visibleToInstantApps: number;
public static vmSafeMode: number;
public static voiceIcon: number;
public static voiceLanguage: number;
public static voiceLanguageModel: number;
public static voiceMaxResults: number;
public static voicePromptText: number;
public static voiceSearchMode: number;
public static wallpaperCloseEnterAnimation: number;
public static wallpaperCloseExitAnimation: number;
public static wallpaperIntraCloseEnterAnimation: number;
public static wallpaperIntraCloseExitAnimation: number;
public static wallpaperIntraOpenEnterAnimation: number;
public static wallpaperIntraOpenExitAnimation: number;
public static wallpaperOpenEnterAnimation: number;
public static wallpaperOpenExitAnimation: number;
public static webTextViewStyle: number;
public static webViewStyle: number;
public static weekDayTextAppearance: number;
public static weekNumberColor: number;
public static weekSeparatorLineColor: number;
public static weightSum: number;
public static widgetCategory: number;
public static widgetFeatures: number;
public static widgetLayout: number;
public static width: number;
public static windowActionBar: number;
public static windowActionBarOverlay: number;
public static windowActionModeOverlay: number;
public static windowActivityTransitions: number;
public static windowAllowEnterTransitionOverlap: number;
public static windowAllowReturnTransitionOverlap: number;
public static windowAnimationStyle: number;
public static windowBackground: number;
public static windowBackgroundFallback: number;
public static windowClipToOutline: number;
public static windowCloseOnTouchOutside: number;
public static windowContentOverlay: number;
public static windowContentTransitionManager: number;
public static windowContentTransitions: number;
public static windowDisablePreview: number;
public static windowDrawsSystemBarBackgrounds: number;
public static windowElevation: number;
public static windowEnableSplitTouch: number;
public static windowEnterAnimation: number;
public static windowEnterTransition: number;
public static windowExitAnimation: number;
public static windowExitTransition: number;
public static windowFrame: number;
public static windowFullscreen: number;
public static windowHideAnimation: number;
public static windowIsFloating: number;
public static windowIsTranslucent: number;
public static windowLayoutInDisplayCutoutMode: number;
public static windowLightNavigationBar: number;
public static windowLightStatusBar: number;
public static windowMinWidthMajor: number;
public static windowMinWidthMinor: number;
public static windowNoDisplay: number;
public static windowNoTitle: number;
public static windowOverscan: number;
public static windowReenterTransition: number;
public static windowReturnTransition: number;
public static windowSharedElementEnterTransition: number;
public static windowSharedElementExitTransition: number;
public static windowSharedElementReenterTransition: number;
public static windowSharedElementReturnTransition: number;
public static windowSharedElementsUseOverlay: number;
public static windowShowAnimation: number;
public static windowShowWallpaper: number;
public static windowSoftInputMode: number;
public static windowSplashscreenContent: number;
public static windowSwipeToDismiss: number;
public static windowTitleBackgroundStyle: number;
public static windowTitleSize: number;
public static windowTitleStyle: number;
public static windowTransitionBackgroundFadeDuration: number;
public static windowTranslucentNavigation: number;
public static windowTranslucentStatus: number;
public static writePermission: number;
public static x: number;
public static xlargeScreens: number;
public static y: number;
public static yearListItemTextAppearance: number;
public static yearListSelectorColor: number;
public static yesNoPreferenceStyle: number;
public static zAdjustment: number;
public static zygotePreloadName: number;
public constructor();
}
export class bool extends java.lang.Object {
public static class: java.lang.Class<android.R.bool>;
public constructor();
}
export class color extends java.lang.Object {
public static class: java.lang.Class<android.R.color>;
public static background_dark: number;
public static background_light: number;
public static black: number;
public static darker_gray: number;
public static holo_blue_bright: number;
public static holo_blue_dark: number;
public static holo_blue_light: number;
public static holo_green_dark: number;
public static holo_green_light: number;
public static holo_orange_dark: number;
public static holo_orange_light: number;
public static holo_purple: number;
public static holo_red_dark: number;
public static holo_red_light: number;
public static primary_text_dark: number;
public static primary_text_dark_nodisable: number;
public static primary_text_light: number;
public static primary_text_light_nodisable: number;
public static secondary_text_dark: number;
public static secondary_text_dark_nodisable: number;
public static secondary_text_light: number;
public static secondary_text_light_nodisable: number;
public static tab_indicator_text: number;
public static tertiary_text_dark: number;
public static tertiary_text_light: number;
public static transparent: number;
public static white: number;
public static widget_edittext_dark: number;
public constructor();
}
export class dimen extends java.lang.Object {
public static class: java.lang.Class<android.R.dimen>;
public static app_icon_size: number;
public static dialog_min_width_major: number;
public static dialog_min_width_minor: number;
public static notification_large_icon_height: number;
public static notification_large_icon_width: number;
public static thumbnail_height: number;
public static thumbnail_width: number;
public constructor();
}
export class drawable extends java.lang.Object {
public static class: java.lang.Class<android.R.drawable>;
public static alert_dark_frame: number;
public static alert_light_frame: number;
public static arrow_down_float: number;
public static arrow_up_float: number;
public static bottom_bar: number;
public static btn_default: number;
public static btn_default_small: number;
public static btn_dialog: number;
public static btn_dropdown: number;
public static btn_minus: number;
public static btn_plus: number;
public static btn_radio: number;
public static btn_star: number;
public static btn_star_big_off: number;
public static btn_star_big_on: number;
public static button_onoff_indicator_off: number;
public static button_onoff_indicator_on: number;
public static checkbox_off_background: number;
public static checkbox_on_background: number;
public static dark_header: number;
public static dialog_frame: number;
public static dialog_holo_dark_frame: number;
public static dialog_holo_light_frame: number;
public static divider_horizontal_bright: number;
public static divider_horizontal_dark: number;
public static divider_horizontal_dim_dark: number;
public static divider_horizontal_textfield: number;
public static edit_text: number;
public static editbox_background: number;
public static editbox_background_normal: number;
public static editbox_dropdown_dark_frame: number;
public static editbox_dropdown_light_frame: number;
public static gallery_thumb: number;
public static ic_btn_speak_now: number;
public static ic_delete: number;
public static ic_dialog_alert: number;
public static ic_dialog_dialer: number;
public static ic_dialog_email: number;
public static ic_dialog_info: number;
public static ic_dialog_map: number;
public static ic_input_add: number;
public static ic_input_delete: number;
public static ic_input_get: number;
public static ic_lock_idle_alarm: number;
public static ic_lock_idle_charging: number;
public static ic_lock_idle_lock: number;
public static ic_lock_idle_low_battery: number;
public static ic_lock_lock: number;
public static ic_lock_power_off: number;
public static ic_lock_silent_mode: number;
public static ic_lock_silent_mode_off: number;
public static ic_media_ff: number;
public static ic_media_next: number;
public static ic_media_pause: number;
public static ic_media_play: number;
public static ic_media_previous: number;
public static ic_media_rew: number;
public static ic_menu_add: number;
public static ic_menu_agenda: number;
public static ic_menu_always_landscape_portrait: number;
public static ic_menu_call: number;
public static ic_menu_camera: number;
public static ic_menu_close_clear_cancel: number;
public static ic_menu_compass: number;
public static ic_menu_crop: number;
public static ic_menu_day: number;
public static ic_menu_delete: number;
public static ic_menu_directions: number;
public static ic_menu_edit: number;
public static ic_menu_gallery: number;
public static ic_menu_help: number;
public static ic_menu_info_details: number;
public static ic_menu_manage: number;
public static ic_menu_mapmode: number;
public static ic_menu_month: number;
public static ic_menu_more: number;
public static ic_menu_my_calendar: number;
public static ic_menu_mylocation: number;
public static ic_menu_myplaces: number;
public static ic_menu_preferences: number;
public static ic_menu_recent_history: number;
public static ic_menu_report_image: number;
public static ic_menu_revert: number;
public static ic_menu_rotate: number;
public static ic_menu_save: number;
public static ic_menu_search: number;
public static ic_menu_send: number;
public static ic_menu_set_as: number;
public static ic_menu_share: number;
public static ic_menu_slideshow: number;
public static ic_menu_sort_alphabetically: number;
public static ic_menu_sort_by_size: number;
public static ic_menu_today: number;
public static ic_menu_upload: number;
public static ic_menu_upload_you_tube: number;
public static ic_menu_view: number;
public static ic_menu_week: number;
public static ic_menu_zoom: number;
public static ic_notification_clear_all: number;
public static ic_notification_overlay: number;
public static ic_partial_secure: number;
public static ic_popup_disk_full: number;
public static ic_popup_reminder: number;
public static ic_popup_sync: number;
public static ic_search_category_default: number;
public static ic_secure: number;
public static list_selector_background: number;
public static menu_frame: number;
public static menu_full_frame: number;
public static menuitem_background: number;
public static picture_frame: number;
public static presence_audio_away: number;
public static presence_audio_busy: number;
public static presence_audio_online: number;
public static presence_away: number;
public static presence_busy: number;
public static presence_invisible: number;
public static presence_offline: number;
public static presence_online: number;
public static presence_video_away: number;
public static presence_video_busy: number;
public static presence_video_online: number;
public static progress_horizontal: number;
public static progress_indeterminate_horizontal: number;
public static radiobutton_off_background: number;
public static radiobutton_on_background: number;
public static screen_background_dark: number;
public static screen_background_dark_transparent: number;
public static screen_background_light: number;
public static screen_background_light_transparent: number;
public static spinner_background: number;
public static spinner_dropdown_background: number;
public static star_big_off: number;
public static star_big_on: number;
public static star_off: number;
public static star_on: number;
public static stat_notify_call_mute: number;
public static stat_notify_chat: number;
public static stat_notify_error: number;
public static stat_notify_missed_call: number;
public static stat_notify_more: number;
public static stat_notify_sdcard: number;
public static stat_notify_sdcard_prepare: number;
public static stat_notify_sdcard_usb: number;
public static stat_notify_sync: number;
public static stat_notify_sync_noanim: number;
public static stat_notify_voicemail: number;
public static stat_sys_data_bluetooth: number;
public static stat_sys_download: number;
public static stat_sys_download_done: number;
public static stat_sys_headset: number;
public static stat_sys_phone_call: number;
public static stat_sys_phone_call_forward: number;
public static stat_sys_phone_call_on_hold: number;
public static stat_sys_speakerphone: number;
public static stat_sys_upload: number;
public static stat_sys_upload_done: number;
public static stat_sys_vp_phone_call: number;
public static stat_sys_vp_phone_call_on_hold: number;
public static stat_sys_warning: number;
public static status_bar_item_app_background: number;
public static status_bar_item_background: number;
public static sym_action_call: number;
public static sym_action_chat: number;
public static sym_action_email: number;
public static sym_call_incoming: number;
public static sym_call_missed: number;
public static sym_call_outgoing: number;
public static sym_contact_card: number;
public static sym_def_app_icon: number;
public static title_bar: number;
public static title_bar_tall: number;
public static toast_frame: number;
public static zoom_plate: number;
public constructor();
}
export class fraction extends java.lang.Object {
public static class: java.lang.Class<android.R.fraction>;
public constructor();
}
export class id extends java.lang.Object {
public static class: java.lang.Class<android.R.id>;
public static accessibilityActionContextClick: number;
public static accessibilityActionHideTooltip: number;
public static accessibilityActionMoveWindow: number;
public static accessibilityActionPageDown: number;
public static accessibilityActionPageLeft: number;
public static accessibilityActionPageRight: number;
public static accessibilityActionPageUp: number;
public static accessibilityActionScrollDown: number;
public static accessibilityActionScrollLeft: number;
public static accessibilityActionScrollRight: number;
public static accessibilityActionScrollToPosition: number;
public static accessibilityActionScrollUp: number;
public static accessibilityActionSetProgress: number;
public static accessibilityActionShowOnScreen: number;
public static accessibilityActionShowTooltip: number;
public static addToDictionary: number;
public static autofill: number;
public static background: number;
public static button1: number;
public static button2: number;
public static button3: number;
public static candidatesArea: number;
public static checkbox: number;
public static closeButton: number;
public static content: number;
public static copy: number;
public static copyUrl: number;
public static custom: number;
public static cut: number;
public static edit: number;
public static empty: number;
public static extractArea: number;
public static hint: number;
public static home: number;
public static icon: number;
public static icon1: number;
public static icon2: number;
public static icon_frame: number;
public static input: number;
public static inputArea: number;
public static inputExtractEditText: number;
public static keyboardView: number;
public static list: number;
public static list_container: number;
public static mask: number;
public static message: number;
public static navigationBarBackground: number;
public static paste: number;
public static pasteAsPlainText: number;
public static primary: number;
public static progress: number;
public static redo: number;
public static replaceText: number;
public static secondaryProgress: number;
public static selectAll: number;
public static selectTextMode: number;
public static selectedIcon: number;
public static shareText: number;
public static startSelectingText: number;
public static statusBarBackground: number;
public static stopSelectingText: number;
public static summary: number;
public static switchInputMethod: number;
public static switch_widget: number;
public static tabcontent: number;
public static tabhost: number;
public static tabs: number;
public static text1: number;
public static text2: number;
public static textAssist: number;
public static title: number;
public static toggle: number;
public static undo: number;
public static widget_frame: number;
public constructor();
}
export class integer extends java.lang.Object {
public static class: java.lang.Class<android.R.integer>;
public static config_longAnimTime: number;
public static config_mediumAnimTime: number;
public static config_shortAnimTime: number;
public static status_bar_notification_info_maxnum: number;
public constructor();
}
export class interpolator extends java.lang.Object {
public static class: java.lang.Class<android.R.interpolator>;
public static accelerate_cubic: number;
public static accelerate_decelerate: number;
public static accelerate_quad: number;
public static accelerate_quint: number;
public static anticipate: number;
public static anticipate_overshoot: number;
public static bounce: number;
public static cycle: number;
public static decelerate_cubic: number;
public static decelerate_quad: number;
public static decelerate_quint: number;
public static fast_out_extra_slow_in: number;
public static fast_out_linear_in: number;
public static fast_out_slow_in: number;
public static linear: number;
public static linear_out_slow_in: number;
public static overshoot: number;
public constructor();
}
export class layout extends java.lang.Object {
public static class: java.lang.Class<android.R.layout>;
public static activity_list_item: number;
public static browser_link_context_header: number;
public static expandable_list_content: number;
public static list_content: number;
public static preference_category: number;
public static select_dialog_item: number;
public static select_dialog_multichoice: number;
public static select_dialog_singlechoice: number;
public static simple_dropdown_item_1line: number;
public static simple_expandable_list_item_1: number;
public static simple_expandable_list_item_2: number;
public static simple_gallery_item: number;
public static simple_list_item_1: number;
public static simple_list_item_2: number;
public static simple_list_item_activated_1: number;
public static simple_list_item_activated_2: number;
public static simple_list_item_checked: number;
public static simple_list_item_multiple_choice: number;
public static simple_list_item_single_choice: number;
public static simple_selectable_list_item: number;
public static simple_spinner_dropdown_item: number;
public static simple_spinner_item: number;
public static test_list_item: number;
public static two_line_list_item: number;
public constructor();
}
export class menu extends java.lang.Object {
public static class: java.lang.Class<android.R.menu>;
public constructor();
}
export class mipmap extends java.lang.Object {
public static class: java.lang.Class<android.R.mipmap>;
public static sym_def_app_icon: number;
public constructor();
}
export class plurals extends java.lang.Object {
public static class: java.lang.Class<android.R.plurals>;
public constructor();
}
export class raw extends java.lang.Object {
public static class: java.lang.Class<android.R.raw>;
public constructor();
}
export class style extends java.lang.Object {
public static class: java.lang.Class<android.R.style>;
public static Animation: number;
public static Animation_Activity: number;
public static Animation_Dialog: number;
public static Animation_InputMethod: number;
public static Animation_Toast: number;
public static Animation_Translucent: number;
public static DeviceDefault_ButtonBar: number;
public static DeviceDefault_ButtonBar_AlertDialog: number;
public static DeviceDefault_Light_ButtonBar: number;
public static DeviceDefault_Light_ButtonBar_AlertDialog: number;
public static DeviceDefault_Light_SegmentedButton: number;
public static DeviceDefault_SegmentedButton: number;
public static Holo_ButtonBar: number;
public static Holo_ButtonBar_AlertDialog: number;
public static Holo_Light_ButtonBar: number;
public static Holo_Light_ButtonBar_AlertDialog: number;
public static Holo_Light_SegmentedButton: number;
public static Holo_SegmentedButton: number;
public static MediaButton: number;
public static MediaButton_Ffwd: number;
public static MediaButton_Next: number;
public static MediaButton_Pause: number;
public static MediaButton_Play: number;
public static MediaButton_Previous: number;
public static MediaButton_Rew: number;
public static TextAppearance: number;
public static TextAppearance_DeviceDefault: number;
public static TextAppearance_DeviceDefault_DialogWindowTitle: number;
public static TextAppearance_DeviceDefault_Inverse: number;
public static TextAppearance_DeviceDefault_Large: number;
public static TextAppearance_DeviceDefault_Large_Inverse: number;
public static TextAppearance_DeviceDefault_Medium: number;
public static TextAppearance_DeviceDefault_Medium_Inverse: number;
public static TextAppearance_DeviceDefault_SearchResult_Subtitle: number;
public static TextAppearance_DeviceDefault_SearchResult_Title: number;
public static TextAppearance_DeviceDefault_Small: number;
public static TextAppearance_DeviceDefault_Small_Inverse: number;
public static TextAppearance_DeviceDefault_Widget: number;
public static TextAppearance_DeviceDefault_Widget_ActionBar_Menu: number;
public static TextAppearance_DeviceDefault_Widget_ActionBar_Subtitle: number;
public static TextAppearance_DeviceDefault_Widget_ActionBar_Subtitle_Inverse: number;
public static TextAppearance_DeviceDefault_Widget_ActionBar_Title: number;
public static TextAppearance_DeviceDefault_Widget_ActionBar_Title_Inverse: number;
public static TextAppearance_DeviceDefault_Widget_ActionMode_Subtitle: number;
public static TextAppearance_DeviceDefault_Widget_ActionMode_Subtitle_Inverse: number;
public static TextAppearance_DeviceDefault_Widget_ActionMode_Title: number;
public static TextAppearance_DeviceDefault_Widget_ActionMode_Title_Inverse: number;
public static TextAppearance_DeviceDefault_Widget_Button: number;
public static TextAppearance_DeviceDefault_Widget_DropDownHint: number;
public static TextAppearance_DeviceDefault_Widget_DropDownItem: number;
public static TextAppearance_DeviceDefault_Widget_EditText: number;
public static TextAppearance_DeviceDefault_Widget_IconMenu_Item: number;
public static TextAppearance_DeviceDefault_Widget_PopupMenu: number;
public static TextAppearance_DeviceDefault_Widget_PopupMenu_Large: number;
public static TextAppearance_DeviceDefault_Widget_PopupMenu_Small: number;
public static TextAppearance_DeviceDefault_Widget_TabWidget: number;
public static TextAppearance_DeviceDefault_Widget_TextView: number;
public static TextAppearance_DeviceDefault_Widget_TextView_PopupMenu: number;
public static TextAppearance_DeviceDefault_Widget_TextView_SpinnerItem: number;
public static TextAppearance_DeviceDefault_WindowTitle: number;
public static TextAppearance_DialogWindowTitle: number;
public static TextAppearance_Holo: number;
public static TextAppearance_Holo_DialogWindowTitle: number;
public static TextAppearance_Holo_Inverse: number;
public static TextAppearance_Holo_Large: number;
public static TextAppearance_Holo_Large_Inverse: number;
public static TextAppearance_Holo_Medium: number;
public static TextAppearance_Holo_Medium_Inverse: number;
public static TextAppearance_Holo_SearchResult_Subtitle: number;
public static TextAppearance_Holo_SearchResult_Title: number;
public static TextAppearance_Holo_Small: number;
public static TextAppearance_Holo_Small_Inverse: number;
public static TextAppearance_Holo_Widget: number;
public static TextAppearance_Holo_Widget_ActionBar_Menu: number;
public static TextAppearance_Holo_Widget_ActionBar_Subtitle: number;
public static TextAppearance_Holo_Widget_ActionBar_Subtitle_Inverse: number;
public static TextAppearance_Holo_Widget_ActionBar_Title: number;
public static TextAppearance_Holo_Widget_ActionBar_Title_Inverse: number;
public static TextAppearance_Holo_Widget_ActionMode_Subtitle: number;
public static TextAppearance_Holo_Widget_ActionMode_Subtitle_Inverse: number;
public static TextAppearance_Holo_Widget_ActionMode_Title: number;
public static TextAppearance_Holo_Widget_ActionMode_Title_Inverse: number;
public static TextAppearance_Holo_Widget_Button: number;
public static TextAppearance_Holo_Widget_DropDownHint: number;
public static TextAppearance_Holo_Widget_DropDownItem: number;
public static TextAppearance_Holo_Widget_EditText: number;
public static TextAppearance_Holo_Widget_IconMenu_Item: number;
public static TextAppearance_Holo_Widget_PopupMenu: number;
public static TextAppearance_Holo_Widget_PopupMenu_Large: number;
public static TextAppearance_Holo_Widget_PopupMenu_Small: number;
public static TextAppearance_Holo_Widget_TabWidget: number;
public static TextAppearance_Holo_Widget_TextView: number;
public static TextAppearance_Holo_Widget_TextView_PopupMenu: number;
public static TextAppearance_Holo_Widget_TextView_SpinnerItem: number;
public static TextAppearance_Holo_WindowTitle: number;
public static TextAppearance_Inverse: number;
public static TextAppearance_Large: number;
public static TextAppearance_Large_Inverse: number;
public static TextAppearance_Material: number;
public static TextAppearance_Material_Body1: number;
public static TextAppearance_Material_Body2: number;
public static TextAppearance_Material_Button: number;
public static TextAppearance_Material_Caption: number;
public static TextAppearance_Material_DialogWindowTitle: number;
public static TextAppearance_Material_Display1: number;
public static TextAppearance_Material_Display2: number;
public static TextAppearance_Material_Display3: number;
public static TextAppearance_Material_Display4: number;
public static TextAppearance_Material_Headline: number;
public static TextAppearance_Material_Inverse: number;
public static TextAppearance_Material_Large: number;
public static TextAppearance_Material_Large_Inverse: number;
public static TextAppearance_Material_Medium: number;
public static TextAppearance_Material_Medium_Inverse: number;
public static TextAppearance_Material_Menu: number;
public static TextAppearance_Material_Notification: number;
public static TextAppearance_Material_Notification_Emphasis: number;
public static TextAppearance_Material_Notification_Info: number;
public static TextAppearance_Material_Notification_Line2: number;
public static TextAppearance_Material_Notification_Time: number;
public static TextAppearance_Material_Notification_Title: number;
public static TextAppearance_Material_SearchResult_Subtitle: number;
public static TextAppearance_Material_SearchResult_Title: number;
public static TextAppearance_Material_Small: number;
public static TextAppearance_Material_Small_Inverse: number;
public static TextAppearance_Material_Subhead: number;
public static TextAppearance_Material_Title: number;
public static TextAppearance_Material_Widget: number;
public static TextAppearance_Material_Widget_ActionBar_Menu: number;
public static TextAppearance_Material_Widget_ActionBar_Subtitle: number;
public static TextAppearance_Material_Widget_ActionBar_Subtitle_Inverse: number;
public static TextAppearance_Material_Widget_ActionBar_Title: number;
public static TextAppearance_Material_Widget_ActionBar_Title_Inverse: number;
public static TextAppearance_Material_Widget_ActionMode_Subtitle: number;
public static TextAppearance_Material_Widget_ActionMode_Subtitle_Inverse: number;
public static TextAppearance_Material_Widget_ActionMode_Title: number;
public static TextAppearance_Material_Widget_ActionMode_Title_Inverse: number;
public static TextAppearance_Material_Widget_Button: number;
public static TextAppearance_Material_Widget_Button_Borderless_Colored: number;
public static TextAppearance_Material_Widget_Button_Colored: number;
public static TextAppearance_Material_Widget_Button_Inverse: number;
public static TextAppearance_Material_Widget_DropDownHint: number;
public static TextAppearance_Material_Widget_DropDownItem: number;
public static TextAppearance_Material_Widget_EditText: number;
public static TextAppearance_Material_Widget_IconMenu_Item: number;
public static TextAppearance_Material_Widget_PopupMenu: number;
public static TextAppearance_Material_Widget_PopupMenu_Large: number;
public static TextAppearance_Material_Widget_PopupMenu_Small: number;
public static TextAppearance_Material_Widget_TabWidget: number;
public static TextAppearance_Material_Widget_TextView: number;
public static TextAppearance_Material_Widget_TextView_PopupMenu: number;
public static TextAppearance_Material_Widget_TextView_SpinnerItem: number;
public static TextAppearance_Material_Widget_Toolbar_Subtitle: number;
public static TextAppearance_Material_Widget_Toolbar_Title: number;
public static TextAppearance_Material_WindowTitle: number;
public static TextAppearance_Medium: number;
public static TextAppearance_Medium_Inverse: number;
public static TextAppearance_Small: number;
public static TextAppearance_Small_Inverse: number;
public static TextAppearance_StatusBar_EventContent: number;
public static TextAppearance_StatusBar_EventContent_Title: number;
public static TextAppearance_StatusBar_Icon: number;
public static TextAppearance_StatusBar_Title: number;
public static TextAppearance_SuggestionHighlight: number;
public static TextAppearance_Theme: number;
public static TextAppearance_Theme_Dialog: number;
public static TextAppearance_Widget: number;
public static TextAppearance_Widget_Button: number;
public static TextAppearance_Widget_DropDownHint: number;
public static TextAppearance_Widget_DropDownItem: number;
public static TextAppearance_Widget_EditText: number;
public static TextAppearance_Widget_IconMenu_Item: number;
public static TextAppearance_Widget_PopupMenu_Large: number;
public static TextAppearance_Widget_PopupMenu_Small: number;
public static TextAppearance_Widget_TabWidget: number;
public static TextAppearance_Widget_TextView: number;
public static TextAppearance_Widget_TextView_PopupMenu: number;
public static TextAppearance_Widget_TextView_SpinnerItem: number;
public static TextAppearance_WindowTitle: number;
public static Theme: number;
public static ThemeOverlay: number;
public static ThemeOverlay_DeviceDefault_Accent_DayNight: number;
public static ThemeOverlay_Material: number;
public static ThemeOverlay_Material_ActionBar: number;
public static ThemeOverlay_Material_Dark: number;
public static ThemeOverlay_Material_Dark_ActionBar: number;
public static ThemeOverlay_Material_Dialog: number;
public static ThemeOverlay_Material_Dialog_Alert: number;
public static ThemeOverlay_Material_Light: number;
public static Theme_Black: number;
public static Theme_Black_NoTitleBar: number;
public static Theme_Black_NoTitleBar_Fullscreen: number;
public static Theme_DeviceDefault: number;
public static Theme_DeviceDefault_DayNight: number;
public static Theme_DeviceDefault_Dialog: number;
public static Theme_DeviceDefault_DialogWhenLarge: number;
public static Theme_DeviceDefault_DialogWhenLarge_NoActionBar: number;
public static Theme_DeviceDefault_Dialog_Alert: number;
public static Theme_DeviceDefault_Dialog_MinWidth: number;
public static Theme_DeviceDefault_Dialog_NoActionBar: number;
public static Theme_DeviceDefault_Dialog_NoActionBar_MinWidth: number;
public static Theme_DeviceDefault_InputMethod: number;
public static Theme_DeviceDefault_Light: number;
public static Theme_DeviceDefault_Light_DarkActionBar: number;
public static Theme_DeviceDefault_Light_Dialog: number;
public static Theme_DeviceDefault_Light_DialogWhenLarge: number;
public static Theme_DeviceDefault_Light_DialogWhenLarge_NoActionBar: number;
public static Theme_DeviceDefault_Light_Dialog_Alert: number;
public static Theme_DeviceDefault_Light_Dialog_MinWidth: number;
public static Theme_DeviceDefault_Light_Dialog_NoActionBar: number;
public static Theme_DeviceDefault_Light_Dialog_NoActionBar_MinWidth: number;
public static Theme_DeviceDefault_Light_NoActionBar: number;
public static Theme_DeviceDefault_Light_NoActionBar_Fullscreen: number;
public static Theme_DeviceDefault_Light_NoActionBar_Overscan: number;
public static Theme_DeviceDefault_Light_NoActionBar_TranslucentDecor: number;
public static Theme_DeviceDefault_Light_Panel: number;
public static Theme_DeviceDefault_NoActionBar: number;
public static Theme_DeviceDefault_NoActionBar_Fullscreen: number;
public static Theme_DeviceDefault_NoActionBar_Overscan: number;
public static Theme_DeviceDefault_NoActionBar_TranslucentDecor: number;
public static Theme_DeviceDefault_Panel: number;
public static Theme_DeviceDefault_Settings: number;
public static Theme_DeviceDefault_Wallpaper: number;
public static Theme_DeviceDefault_Wallpaper_NoTitleBar: number;
public static Theme_Dialog: number;
public static Theme_Holo: number;
public static Theme_Holo_Dialog: number;
public static Theme_Holo_DialogWhenLarge: number;
public static Theme_Holo_DialogWhenLarge_NoActionBar: number;
public static Theme_Holo_Dialog_MinWidth: number;
public static Theme_Holo_Dialog_NoActionBar: number;
public static Theme_Holo_Dialog_NoActionBar_MinWidth: number;
public static Theme_Holo_InputMethod: number;
public static Theme_Holo_Light: number;
public static Theme_Holo_Light_DarkActionBar: number;
public static Theme_Holo_Light_Dialog: number;
public static Theme_Holo_Light_DialogWhenLarge: number;
public static Theme_Holo_Light_DialogWhenLarge_NoActionBar: number;
public static Theme_Holo_Light_Dialog_MinWidth: number;
public static Theme_Holo_Light_Dialog_NoActionBar: number;
public static Theme_Holo_Light_Dialog_NoActionBar_MinWidth: number;
public static Theme_Holo_Light_NoActionBar: number;
public static Theme_Holo_Light_NoActionBar_Fullscreen: number;
public static Theme_Holo_Light_NoActionBar_Overscan: number;
public static Theme_Holo_Light_NoActionBar_TranslucentDecor: number;
public static Theme_Holo_Light_Panel: number;
public static Theme_Holo_NoActionBar: number;
public static Theme_Holo_NoActionBar_Fullscreen: number;
public static Theme_Holo_NoActionBar_Overscan: number;
public static Theme_Holo_NoActionBar_TranslucentDecor: number;
public static Theme_Holo_Panel: number;
public static Theme_Holo_Wallpaper: number;
public static Theme_Holo_Wallpaper_NoTitleBar: number;
public static Theme_InputMethod: number;
public static Theme_Light: number;
public static Theme_Light_NoTitleBar: number;
public static Theme_Light_NoTitleBar_Fullscreen: number;
public static Theme_Light_Panel: number;
public static Theme_Light_WallpaperSettings: number;
public static Theme_Material: number;
public static Theme_Material_Dialog: number;
public static Theme_Material_DialogWhenLarge: number;
public static Theme_Material_DialogWhenLarge_NoActionBar: number;
public static Theme_Material_Dialog_Alert: number;
public static Theme_Material_Dialog_MinWidth: number;
public static Theme_Material_Dialog_NoActionBar: number;
public static Theme_Material_Dialog_NoActionBar_MinWidth: number;
public static Theme_Material_Dialog_Presentation: number;
public static Theme_Material_InputMethod: number;
public static Theme_Material_Light: number;
public static Theme_Material_Light_DarkActionBar: number;
public static Theme_Material_Light_Dialog: number;
public static Theme_Material_Light_DialogWhenLarge: number;
public static Theme_Material_Light_DialogWhenLarge_DarkActionBar: number;
public static Theme_Material_Light_DialogWhenLarge_NoActionBar: number;
public static Theme_Material_Light_Dialog_Alert: number;
public static Theme_Material_Light_Dialog_MinWidth: number;
public static Theme_Material_Light_Dialog_NoActionBar: number;
public static Theme_Material_Light_Dialog_NoActionBar_MinWidth: number;
public static Theme_Material_Light_Dialog_Presentation: number;
public static Theme_Material_Light_LightStatusBar: number;
public static Theme_Material_Light_NoActionBar: number;
public static Theme_Material_Light_NoActionBar_Fullscreen: number;
public static Theme_Material_Light_NoActionBar_Overscan: number;
public static Theme_Material_Light_NoActionBar_TranslucentDecor: number;
public static Theme_Material_Light_Panel: number;
public static Theme_Material_Light_Voice: number;
public static Theme_Material_NoActionBar: number;
public static Theme_Material_NoActionBar_Fullscreen: number;
public static Theme_Material_NoActionBar_Overscan: number;
public static Theme_Material_NoActionBar_TranslucentDecor: number;
public static Theme_Material_Panel: number;
public static Theme_Material_Settings: number;
public static Theme_Material_Voice: number;
public static Theme_Material_Wallpaper: number;
public static Theme_Material_Wallpaper_NoTitleBar: number;
public static Theme_NoDisplay: number;
public static Theme_NoTitleBar: number;
public static Theme_NoTitleBar_Fullscreen: number;
public static Theme_NoTitleBar_OverlayActionModes: number;
public static Theme_Panel: number;
public static Theme_Translucent: number;
public static Theme_Translucent_NoTitleBar: number;
public static Theme_Translucent_NoTitleBar_Fullscreen: number;
public static Theme_Wallpaper: number;
public static Theme_WallpaperSettings: number;
public static Theme_Wallpaper_NoTitleBar: number;
public static Theme_Wallpaper_NoTitleBar_Fullscreen: number;
public static Theme_WithActionBar: number;
public static Widget: number;
public static Widget_AbsListView: number;
public static Widget_ActionBar: number;
public static Widget_ActionBar_TabBar: number;
public static Widget_ActionBar_TabText: number;
public static Widget_ActionBar_TabView: number;
public static Widget_ActionButton: number;
public static Widget_ActionButton_CloseMode: number;
public static Widget_ActionButton_Overflow: number;
public static Widget_AutoCompleteTextView: number;
public static Widget_Button: number;
public static Widget_Button_Inset: number;
public static Widget_Button_Small: number;
public static Widget_Button_Toggle: number;
public static Widget_CalendarView: number;
public static Widget_CompoundButton: number;
public static Widget_CompoundButton_CheckBox: number;
public static Widget_CompoundButton_RadioButton: number;
public static Widget_CompoundButton_Star: number;
public static Widget_DatePicker: number;
public static Widget_DeviceDefault: number;
public static Widget_DeviceDefault_ActionBar: number;
public static Widget_DeviceDefault_ActionBar_Solid: number;
public static Widget_DeviceDefault_ActionBar_TabBar: number;
public static Widget_DeviceDefault_ActionBar_TabText: number;
public static Widget_DeviceDefault_ActionBar_TabView: number;
public static Widget_DeviceDefault_ActionButton: number;
public static Widget_DeviceDefault_ActionButton_CloseMode: number;
public static Widget_DeviceDefault_ActionButton_Overflow: number;
public static Widget_DeviceDefault_ActionButton_TextButton: number;
public static Widget_DeviceDefault_ActionMode: number;
public static Widget_DeviceDefault_AutoCompleteTextView: number;
public static Widget_DeviceDefault_Button: number;
public static Widget_DeviceDefault_Button_Borderless: number;
public static Widget_DeviceDefault_Button_Borderless_Colored: number;
public static Widget_DeviceDefault_Button_Borderless_Small: number;
public static Widget_DeviceDefault_Button_Colored: number;
public static Widget_DeviceDefault_Button_Inset: number;
public static Widget_DeviceDefault_Button_Small: number;
public static Widget_DeviceDefault_Button_Toggle: number;
public static Widget_DeviceDefault_CalendarView: number;
public static Widget_DeviceDefault_CheckedTextView: number;
public static Widget_DeviceDefault_CompoundButton_CheckBox: number;
public static Widget_DeviceDefault_CompoundButton_RadioButton: number;
public static Widget_DeviceDefault_CompoundButton_Star: number;
public static Widget_DeviceDefault_DatePicker: number;
public static Widget_DeviceDefault_DropDownItem: number;
public static Widget_DeviceDefault_DropDownItem_Spinner: number;
public static Widget_DeviceDefault_EditText: number;
public static Widget_DeviceDefault_ExpandableListView: number;
public static Widget_DeviceDefault_FastScroll: number;
public static Widget_DeviceDefault_GridView: number;
public static Widget_DeviceDefault_HorizontalScrollView: number;
public static Widget_DeviceDefault_ImageButton: number;
public static Widget_DeviceDefault_Light: number;
public static Widget_DeviceDefault_Light_ActionBar: number;
public static Widget_DeviceDefault_Light_ActionBar_Solid: number;
public static Widget_DeviceDefault_Light_ActionBar_Solid_Inverse: number;
public static Widget_DeviceDefault_Light_ActionBar_TabBar: number;
public static Widget_DeviceDefault_Light_ActionBar_TabBar_Inverse: number;
public static Widget_DeviceDefault_Light_ActionBar_TabText: number;
public static Widget_DeviceDefault_Light_ActionBar_TabText_Inverse: number;
public static Widget_DeviceDefault_Light_ActionBar_TabView: number;
public static Widget_DeviceDefault_Light_ActionBar_TabView_Inverse: number;
public static Widget_DeviceDefault_Light_ActionButton: number;
public static Widget_DeviceDefault_Light_ActionButton_CloseMode: number;
public static Widget_DeviceDefault_Light_ActionButton_Overflow: number;
public static Widget_DeviceDefault_Light_ActionMode: number;
public static Widget_DeviceDefault_Light_ActionMode_Inverse: number;
public static Widget_DeviceDefault_Light_AutoCompleteTextView: number;
public static Widget_DeviceDefault_Light_Button: number;
public static Widget_DeviceDefault_Light_Button_Borderless_Small: number;
public static Widget_DeviceDefault_Light_Button_Inset: number;
public static Widget_DeviceDefault_Light_Button_Small: number;
public static Widget_DeviceDefault_Light_Button_Toggle: number;
public static Widget_DeviceDefault_Light_CalendarView: number;
public static Widget_DeviceDefault_Light_CheckedTextView: number;
public static Widget_DeviceDefault_Light_CompoundButton_CheckBox: number;
public static Widget_DeviceDefault_Light_CompoundButton_RadioButton: number;
public static Widget_DeviceDefault_Light_CompoundButton_Star: number;
public static Widget_DeviceDefault_Light_DropDownItem: number;
public static Widget_DeviceDefault_Light_DropDownItem_Spinner: number;
public static Widget_DeviceDefault_Light_EditText: number;
public static Widget_DeviceDefault_Light_ExpandableListView: number;
public static Widget_DeviceDefault_Light_FastScroll: number;
public static Widget_DeviceDefault_Light_GridView: number;
public static Widget_DeviceDefault_Light_HorizontalScrollView: number;
public static Widget_DeviceDefault_Light_ImageButton: number;
public static Widget_DeviceDefault_Light_ListPopupWindow: number;
public static Widget_DeviceDefault_Light_ListView: number;
public static Widget_DeviceDefault_Light_ListView_DropDown: number;
public static Widget_DeviceDefault_Light_MediaRouteButton: number;
public static Widget_DeviceDefault_Light_PopupMenu: number;
public static Widget_DeviceDefault_Light_PopupWindow: number;
public static Widget_DeviceDefault_Light_ProgressBar: number;
public static Widget_DeviceDefault_Light_ProgressBar_Horizontal: number;
public static Widget_DeviceDefault_Light_ProgressBar_Inverse: number;
public static Widget_DeviceDefault_Light_ProgressBar_Large: number;
public static Widget_DeviceDefault_Light_ProgressBar_Large_Inverse: number;
public static Widget_DeviceDefault_Light_ProgressBar_Small: number;
public static Widget_DeviceDefault_Light_ProgressBar_Small_Inverse: number;
public static Widget_DeviceDefault_Light_ProgressBar_Small_Title: number;
public static Widget_DeviceDefault_Light_RatingBar: number;
public static Widget_DeviceDefault_Light_RatingBar_Indicator: number;
public static Widget_DeviceDefault_Light_RatingBar_Small: number;
public static Widget_DeviceDefault_Light_ScrollView: number;
public static Widget_DeviceDefault_Light_SeekBar: number;
public static Widget_DeviceDefault_Light_Spinner: number;
public static Widget_DeviceDefault_Light_StackView: number;
public static Widget_DeviceDefault_Light_Tab: number;
public static Widget_DeviceDefault_Light_TabWidget: number;
public static Widget_DeviceDefault_Light_TextView: number;
public static Widget_DeviceDefault_Light_TextView_SpinnerItem: number;
public static Widget_DeviceDefault_Light_WebTextView: number;
public static Widget_DeviceDefault_Light_WebView: number;
public static Widget_DeviceDefault_ListPopupWindow: number;
public static Widget_DeviceDefault_ListView: number;
public static Widget_DeviceDefault_ListView_DropDown: number;
public static Widget_DeviceDefault_MediaRouteButton: number;
public static Widget_DeviceDefault_PopupMenu: number;
public static Widget_DeviceDefault_PopupWindow: number;
public static Widget_DeviceDefault_ProgressBar: number;
public static Widget_DeviceDefault_ProgressBar_Horizontal: number;
public static Widget_DeviceDefault_ProgressBar_Large: number;
public static Widget_DeviceDefault_ProgressBar_Small: number;
public static Widget_DeviceDefault_ProgressBar_Small_Title: number;
public static Widget_DeviceDefault_RatingBar: number;
public static Widget_DeviceDefault_RatingBar_Indicator: number;
public static Widget_DeviceDefault_RatingBar_Small: number;
public static Widget_DeviceDefault_ScrollView: number;
public static Widget_DeviceDefault_SeekBar: number;
public static Widget_DeviceDefault_Spinner: number;
public static Widget_DeviceDefault_StackView: number;
public static Widget_DeviceDefault_Tab: number;
public static Widget_DeviceDefault_TabWidget: number;
public static Widget_DeviceDefault_TextView: number;
public static Widget_DeviceDefault_TextView_SpinnerItem: number;
public static Widget_DeviceDefault_WebTextView: number;
public static Widget_DeviceDefault_WebView: number;
public static Widget_DropDownItem: number;
public static Widget_DropDownItem_Spinner: number;
public static Widget_EditText: number;
public static Widget_ExpandableListView: number;
public static Widget_FastScroll: number;
public static Widget_FragmentBreadCrumbs: number;
public static Widget_Gallery: number;
public static Widget_GridView: number;
public static Widget_Holo: number;
public static Widget_Holo_ActionBar: number;
public static Widget_Holo_ActionBar_Solid: number;
public static Widget_Holo_ActionBar_TabBar: number;
public static Widget_Holo_ActionBar_TabText: number;
public static Widget_Holo_ActionBar_TabView: number;
public static Widget_Holo_ActionButton: number;
public static Widget_Holo_ActionButton_CloseMode: number;
public static Widget_Holo_ActionButton_Overflow: number;
public static Widget_Holo_ActionButton_TextButton: number;
public static Widget_Holo_ActionMode: number;
public static Widget_Holo_AutoCompleteTextView: number;
public static Widget_Holo_Button: number;
public static Widget_Holo_Button_Borderless: number;
public static Widget_Holo_Button_Borderless_Small: number;
public static Widget_Holo_Button_Inset: number;
public static Widget_Holo_Button_Small: number;
public static Widget_Holo_Button_Toggle: number;
public static Widget_Holo_CalendarView: number;
public static Widget_Holo_CheckedTextView: number;
public static Widget_Holo_CompoundButton_CheckBox: number;
public static Widget_Holo_CompoundButton_RadioButton: number;
public static Widget_Holo_CompoundButton_Star: number;
public static Widget_Holo_DatePicker: number;
public static Widget_Holo_DropDownItem: number;
public static Widget_Holo_DropDownItem_Spinner: number;
public static Widget_Holo_EditText: number;
public static Widget_Holo_ExpandableListView: number;
public static Widget_Holo_GridView: number;
public static Widget_Holo_HorizontalScrollView: number;
public static Widget_Holo_ImageButton: number;
public static Widget_Holo_Light: number;
public static Widget_Holo_Light_ActionBar: number;
public static Widget_Holo_Light_ActionBar_Solid: number;
public static Widget_Holo_Light_ActionBar_Solid_Inverse: number;
public static Widget_Holo_Light_ActionBar_TabBar: number;
public static Widget_Holo_Light_ActionBar_TabBar_Inverse: number;
public static Widget_Holo_Light_ActionBar_TabText: number;
public static Widget_Holo_Light_ActionBar_TabText_Inverse: number;
public static Widget_Holo_Light_ActionBar_TabView: number;
public static Widget_Holo_Light_ActionBar_TabView_Inverse: number;
public static Widget_Holo_Light_ActionButton: number;
public static Widget_Holo_Light_ActionButton_CloseMode: number;
public static Widget_Holo_Light_ActionButton_Overflow: number;
public static Widget_Holo_Light_ActionMode: number;
public static Widget_Holo_Light_ActionMode_Inverse: number;
public static Widget_Holo_Light_AutoCompleteTextView: number;
public static Widget_Holo_Light_Button: number;
public static Widget_Holo_Light_Button_Borderless_Small: number;
public static Widget_Holo_Light_Button_Inset: number;
public static Widget_Holo_Light_Button_Small: number;
public static Widget_Holo_Light_Button_Toggle: number;
public static Widget_Holo_Light_CalendarView: number;
public static Widget_Holo_Light_CheckedTextView: number;
public static Widget_Holo_Light_CompoundButton_CheckBox: number;
public static Widget_Holo_Light_CompoundButton_RadioButton: number;
public static Widget_Holo_Light_CompoundButton_Star: number;
public static Widget_Holo_Light_DropDownItem: number;
public static Widget_Holo_Light_DropDownItem_Spinner: number;
public static Widget_Holo_Light_EditText: number;
public static Widget_Holo_Light_ExpandableListView: number;
public static Widget_Holo_Light_GridView: number;
public static Widget_Holo_Light_HorizontalScrollView: number;
public static Widget_Holo_Light_ImageButton: number;
public static Widget_Holo_Light_ListPopupWindow: number;
public static Widget_Holo_Light_ListView: number;
public static Widget_Holo_Light_ListView_DropDown: number;
public static Widget_Holo_Light_MediaRouteButton: number;
public static Widget_Holo_Light_PopupMenu: number;
public static Widget_Holo_Light_PopupWindow: number;
public static Widget_Holo_Light_ProgressBar: number;
public static Widget_Holo_Light_ProgressBar_Horizontal: number;
public static Widget_Holo_Light_ProgressBar_Inverse: number;
public static Widget_Holo_Light_ProgressBar_Large: number;
public static Widget_Holo_Light_ProgressBar_Large_Inverse: number;
public static Widget_Holo_Light_ProgressBar_Small: number;
public static Widget_Holo_Light_ProgressBar_Small_Inverse: number;
public static Widget_Holo_Light_ProgressBar_Small_Title: number;
public static Widget_Holo_Light_RatingBar: number;
public static Widget_Holo_Light_RatingBar_Indicator: number;
public static Widget_Holo_Light_RatingBar_Small: number;
public static Widget_Holo_Light_ScrollView: number;
public static Widget_Holo_Light_SeekBar: number;
public static Widget_Holo_Light_Spinner: number;
public static Widget_Holo_Light_Tab: number;
public static Widget_Holo_Light_TabWidget: number;
public static Widget_Holo_Light_TextView: number;
public static Widget_Holo_Light_TextView_SpinnerItem: number;
public static Widget_Holo_Light_WebTextView: number;
public static Widget_Holo_Light_WebView: number;
public static Widget_Holo_ListPopupWindow: number;
public static Widget_Holo_ListView: number;
public static Widget_Holo_ListView_DropDown: number;
public static Widget_Holo_MediaRouteButton: number;
public static Widget_Holo_PopupMenu: number;
public static Widget_Holo_PopupWindow: number;
public static Widget_Holo_ProgressBar: number;
public static Widget_Holo_ProgressBar_Horizontal: number;
public static Widget_Holo_ProgressBar_Large: number;
public static Widget_Holo_ProgressBar_Small: number;
public static Widget_Holo_ProgressBar_Small_Title: number;
public static Widget_Holo_RatingBar: number;
public static Widget_Holo_RatingBar_Indicator: number;
public static Widget_Holo_RatingBar_Small: number;
public static Widget_Holo_ScrollView: number;
public static Widget_Holo_SeekBar: number;
public static Widget_Holo_Spinner: number;
public static Widget_Holo_Tab: number;
public static Widget_Holo_TabWidget: number;
public static Widget_Holo_TextView: number;
public static Widget_Holo_TextView_SpinnerItem: number;
public static Widget_Holo_WebTextView: number;
public static Widget_Holo_WebView: number;
public static Widget_ImageButton: number;
public static Widget_ImageWell: number;
public static Widget_KeyboardView: number;
public static Widget_ListPopupWindow: number;
public static Widget_ListView: number;
public static Widget_ListView_DropDown: number;
public static Widget_ListView_Menu: number;
public static Widget_ListView_White: number;
public static Widget_Material: number;
public static Widget_Material_ActionBar: number;
public static Widget_Material_ActionBar_Solid: number;
public static Widget_Material_ActionBar_TabBar: number;
public static Widget_Material_ActionBar_TabText: number;
public static Widget_Material_ActionBar_TabView: number;
public static Widget_Material_ActionButton: number;
public static Widget_Material_ActionButton_CloseMode: number;
public static Widget_Material_ActionButton_Overflow: number;
public static Widget_Material_ActionMode: number;
public static Widget_Material_AutoCompleteTextView: number;
public static Widget_Material_Button: number;
public static Widget_Material_ButtonBar: number;
public static Widget_Material_ButtonBar_AlertDialog: number;
public static Widget_Material_Button_Borderless: number;
public static Widget_Material_Button_Borderless_Colored: number;
public static Widget_Material_Button_Borderless_Small: number;
public static Widget_Material_Button_Colored: number;
public static Widget_Material_Button_Inset: number;
public static Widget_Material_Button_Small: number;
public static Widget_Material_Button_Toggle: number;
public static Widget_Material_CalendarView: number;
public static Widget_Material_CheckedTextView: number;
public static Widget_Material_CompoundButton_CheckBox: number;
public static Widget_Material_CompoundButton_RadioButton: number;
public static Widget_Material_CompoundButton_Star: number;
public static Widget_Material_CompoundButton_Switch: number;
public static Widget_Material_DatePicker: number;
public static Widget_Material_DropDownItem: number;
public static Widget_Material_DropDownItem_Spinner: number;
public static Widget_Material_EditText: number;
public static Widget_Material_ExpandableListView: number;
public static Widget_Material_FastScroll: number;
public static Widget_Material_GridView: number;
public static Widget_Material_HorizontalScrollView: number;
public static Widget_Material_ImageButton: number;
public static Widget_Material_Light: number;
public static Widget_Material_Light_ActionBar: number;
public static Widget_Material_Light_ActionBar_Solid: number;
public static Widget_Material_Light_ActionBar_TabBar: number;
public static Widget_Material_Light_ActionBar_TabText: number;
public static Widget_Material_Light_ActionBar_TabView: number;
public static Widget_Material_Light_ActionButton: number;
public static Widget_Material_Light_ActionButton_CloseMode: number;
public static Widget_Material_Light_ActionButton_Overflow: number;
public static Widget_Material_Light_ActionMode: number;
public static Widget_Material_Light_AutoCompleteTextView: number;
public static Widget_Material_Light_Button: number;
public static Widget_Material_Light_ButtonBar: number;
public static Widget_Material_Light_ButtonBar_AlertDialog: number;
public static Widget_Material_Light_Button_Borderless: number;
public static Widget_Material_Light_Button_Borderless_Colored: number;
public static Widget_Material_Light_Button_Borderless_Small: number;
public static Widget_Material_Light_Button_Inset: number;
public static Widget_Material_Light_Button_Small: number;
public static Widget_Material_Light_Button_Toggle: number;
public static Widget_Material_Light_CalendarView: number;
public static Widget_Material_Light_CheckedTextView: number;
public static Widget_Material_Light_CompoundButton_CheckBox: number;
public static Widget_Material_Light_CompoundButton_RadioButton: number;
public static Widget_Material_Light_CompoundButton_Star: number;
public static Widget_Material_Light_CompoundButton_Switch: number;
public static Widget_Material_Light_DatePicker: number;
public static Widget_Material_Light_DropDownItem: number;
public static Widget_Material_Light_DropDownItem_Spinner: number;
public static Widget_Material_Light_EditText: number;
public static Widget_Material_Light_ExpandableListView: number;
public static Widget_Material_Light_FastScroll: number;
public static Widget_Material_Light_GridView: number;
public static Widget_Material_Light_HorizontalScrollView: number;
public static Widget_Material_Light_ImageButton: number;
public static Widget_Material_Light_ListPopupWindow: number;
public static Widget_Material_Light_ListView: number;
public static Widget_Material_Light_ListView_DropDown: number;
public static Widget_Material_Light_MediaRouteButton: number;
public static Widget_Material_Light_NumberPicker: number;
public static Widget_Material_Light_PopupMenu: number;
public static Widget_Material_Light_PopupMenu_Overflow: number;
public static Widget_Material_Light_PopupWindow: number;
public static Widget_Material_Light_ProgressBar: number;
public static Widget_Material_Light_ProgressBar_Horizontal: number;
public static Widget_Material_Light_ProgressBar_Inverse: number;
public static Widget_Material_Light_ProgressBar_Large: number;
public static Widget_Material_Light_ProgressBar_Large_Inverse: number;
public static Widget_Material_Light_ProgressBar_Small: number;
public static Widget_Material_Light_ProgressBar_Small_Inverse: number;
public static Widget_Material_Light_ProgressBar_Small_Title: number;
public static Widget_Material_Light_RatingBar: number;
public static Widget_Material_Light_RatingBar_Indicator: number;
public static Widget_Material_Light_RatingBar_Small: number;
public static Widget_Material_Light_ScrollView: number;
public static Widget_Material_Light_SearchView: number;
public static Widget_Material_Light_SeekBar: number;
public static Widget_Material_Light_SegmentedButton: number;
public static Widget_Material_Light_Spinner: number;
public static Widget_Material_Light_Spinner_Underlined: number;
public static Widget_Material_Light_StackView: number;
public static Widget_Material_Light_Tab: number;
public static Widget_Material_Light_TabWidget: number;
public static Widget_Material_Light_TextView: number;
public static Widget_Material_Light_TextView_SpinnerItem: number;
public static Widget_Material_Light_TimePicker: number;
public static Widget_Material_Light_WebTextView: number;
public static Widget_Material_Light_WebView: number;
public static Widget_Material_ListPopupWindow: number;
public static Widget_Material_ListView: number;
public static Widget_Material_ListView_DropDown: number;
public static Widget_Material_MediaRouteButton: number;
public static Widget_Material_NumberPicker: number;
public static Widget_Material_PopupMenu: number;
public static Widget_Material_PopupMenu_Overflow: number;
public static Widget_Material_PopupWindow: number;
public static Widget_Material_ProgressBar: number;
public static Widget_Material_ProgressBar_Horizontal: number;
public static Widget_Material_ProgressBar_Large: number;
public static Widget_Material_ProgressBar_Small: number;
public static Widget_Material_ProgressBar_Small_Title: number;
public static Widget_Material_RatingBar: number;
public static Widget_Material_RatingBar_Indicator: number;
public static Widget_Material_RatingBar_Small: number;
public static Widget_Material_ScrollView: number;
public static Widget_Material_SearchView: number;
public static Widget_Material_SeekBar: number;
public static Widget_Material_SeekBar_Discrete: number;
public static Widget_Material_SegmentedButton: number;
public static Widget_Material_Spinner: number;
public static Widget_Material_Spinner_Underlined: number;
public static Widget_Material_StackView: number;
public static Widget_Material_Tab: number;
public static Widget_Material_TabWidget: number;
public static Widget_Material_TextView: number;
public static Widget_Material_TextView_SpinnerItem: number;
public static Widget_Material_TimePicker: number;
public static Widget_Material_Toolbar: number;
public static Widget_Material_Toolbar_Button_Navigation: number;
public static Widget_Material_WebTextView: number;
public static Widget_Material_WebView: number;
public static Widget_PopupMenu: number;
public static Widget_PopupWindow: number;
public static Widget_ProgressBar: number;
public static Widget_ProgressBar_Horizontal: number;
public static Widget_ProgressBar_Inverse: number;
public static Widget_ProgressBar_Large: number;
public static Widget_ProgressBar_Large_Inverse: number;
public static Widget_ProgressBar_Small: number;
public static Widget_ProgressBar_Small_Inverse: number;
public static Widget_RatingBar: number;
public static Widget_ScrollView: number;
public static Widget_SeekBar: number;
public static Widget_Spinner: number;
public static Widget_Spinner_DropDown: number;
public static Widget_StackView: number;
public static Widget_TabWidget: number;
public static Widget_TextView: number;
public static Widget_TextView_PopupMenu: number;
public static Widget_TextView_SpinnerItem: number;
public static Widget_Toolbar: number;
public static Widget_Toolbar_Button_Navigation: number;
public static Widget_WebView: number;
public constructor();
}
export class transition extends java.lang.Object {
public static class: java.lang.Class<android.R.transition>;
public static explode: number;
public static fade: number;
public static move: number;
public static no_transition: number;
public static slide_bottom: number;
public static slide_left: number;
public static slide_right: number;
public static slide_top: number;
public constructor();
}
export class xml extends java.lang.Object {
public static class: java.lang.Class<android.R.xml>;
public constructor();
}
}
}
declare module android {
export module accessibilityservice {
export class AccessibilityButtonController extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityButtonController>;
public unregisterAccessibilityButtonCallback(callback: android.accessibilityservice.AccessibilityButtonController.AccessibilityButtonCallback): void;
public registerAccessibilityButtonCallback(callback: android.accessibilityservice.AccessibilityButtonController.AccessibilityButtonCallback, handler: android.os.Handler): void;
public isAccessibilityButtonAvailable(): boolean;
public registerAccessibilityButtonCallback(callback: android.accessibilityservice.AccessibilityButtonController.AccessibilityButtonCallback): void;
}
export module AccessibilityButtonController {
export abstract class AccessibilityButtonCallback extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityButtonController.AccessibilityButtonCallback>;
public onClicked(controller: android.accessibilityservice.AccessibilityButtonController): void;
public onAvailabilityChanged(controller: android.accessibilityservice.AccessibilityButtonController, available: boolean): void;
public constructor();
}
}
}
}
declare module android {
export module accessibilityservice {
export abstract class AccessibilityService extends android.app.Service {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityService>;
public static GESTURE_SWIPE_DOWN: number;
public static GESTURE_SWIPE_DOWN_AND_LEFT: number;
public static GESTURE_SWIPE_DOWN_AND_RIGHT: number;
public static GESTURE_SWIPE_DOWN_AND_UP: number;
public static GESTURE_SWIPE_LEFT: number;
public static GESTURE_SWIPE_LEFT_AND_DOWN: number;
public static GESTURE_SWIPE_LEFT_AND_RIGHT: number;
public static GESTURE_SWIPE_LEFT_AND_UP: number;
public static GESTURE_SWIPE_RIGHT: number;
public static GESTURE_SWIPE_RIGHT_AND_DOWN: number;
public static GESTURE_SWIPE_RIGHT_AND_LEFT: number;
public static GESTURE_SWIPE_RIGHT_AND_UP: number;
public static GESTURE_SWIPE_UP: number;
public static GESTURE_SWIPE_UP_AND_DOWN: number;
public static GESTURE_SWIPE_UP_AND_LEFT: number;
public static GESTURE_SWIPE_UP_AND_RIGHT: number;
public static GLOBAL_ACTION_BACK: number;
public static GLOBAL_ACTION_HOME: number;
public static GLOBAL_ACTION_LOCK_SCREEN: number;
public static GLOBAL_ACTION_NOTIFICATIONS: number;
public static GLOBAL_ACTION_POWER_DIALOG: number;
public static GLOBAL_ACTION_QUICK_SETTINGS: number;
public static GLOBAL_ACTION_RECENTS: number;
public static GLOBAL_ACTION_TAKE_SCREENSHOT: number;
public static GLOBAL_ACTION_TOGGLE_SPLIT_SCREEN: number;
public static SERVICE_INTERFACE: string;
public static SERVICE_META_DATA: string;
public static SHOW_MODE_AUTO: number;
public static SHOW_MODE_HIDDEN: number;
public static SHOW_MODE_IGNORE_HARD_KEYBOARD: number;
public getSoftKeyboardController(): android.accessibilityservice.AccessibilityService.SoftKeyboardController;
public onAccessibilityEvent(accessibilityEvent0: android.view.accessibility.AccessibilityEvent): void;
public getSystemService(serviceClass: java.lang.Class<any>): any;
public getSystemService(name: string): any;
public onBind(intent0: android.content.Intent): android.os.IBinder;
public setServiceInfo(info: android.accessibilityservice.AccessibilityServiceInfo): void;
public getWindows(): java.util.List<android.view.accessibility.AccessibilityWindowInfo>;
public onKeyEvent(event: android.view.KeyEvent): boolean;
public getAccessibilityButtonController(): android.accessibilityservice.AccessibilityButtonController;
public constructor();
public onGesture(gestureId: number): boolean;
public onBind(intent: android.content.Intent): android.os.IBinder;
public getRootInActiveWindow(): android.view.accessibility.AccessibilityNodeInfo;
public onServiceConnected(): void;
public getServiceInfo(): android.accessibilityservice.AccessibilityServiceInfo;
public disableSelf(): void;
public getMagnificationController(): android.accessibilityservice.AccessibilityService.MagnificationController;
public performGlobalAction(action: number): boolean;
public onTrimMemory(level: number): void;
public getFingerprintGestureController(): android.accessibilityservice.FingerprintGestureController;
public findFocus(focus: number): android.view.accessibility.AccessibilityNodeInfo;
public constructor(base: android.content.Context);
public onInterrupt(): void;
public dispatchGesture(gesture: android.accessibilityservice.GestureDescription, callback: android.accessibilityservice.AccessibilityService.GestureResultCallback, handler: android.os.Handler): boolean;
}
export module AccessibilityService {
export abstract class GestureResultCallback extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityService.GestureResultCallback>;
public onCompleted(gestureDescription: android.accessibilityservice.GestureDescription): void;
public onCancelled(gestureDescription: android.accessibilityservice.GestureDescription): void;
public constructor();
}
export class MagnificationController extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityService.MagnificationController>;
public getCenterY(): number;
public getMagnificationRegion(): android.graphics.Region;
public getCenterX(): number;
public getScale(): number;
public removeListener(listener: android.accessibilityservice.AccessibilityService.MagnificationController.OnMagnificationChangedListener): boolean;
public addListener(listener: android.accessibilityservice.AccessibilityService.MagnificationController.OnMagnificationChangedListener): void;
public setCenter(centerX: number, centerY: number, animate: boolean): boolean;
public reset(animate: boolean): boolean;
public addListener(listener: android.accessibilityservice.AccessibilityService.MagnificationController.OnMagnificationChangedListener, handler: android.os.Handler): void;
public setScale(scale: number, animate: boolean): boolean;
}
export module MagnificationController {
export class OnMagnificationChangedListener extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityService.MagnificationController.OnMagnificationChangedListener>;
/**
* Constructs a new instance of the android.accessibilityservice.AccessibilityService$MagnificationController$OnMagnificationChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onMagnificationChanged(magnificationController0: android.accessibilityservice.AccessibilityService.MagnificationController, region1: android.graphics.Region, float2: number, float3: number, float4: number): void;
});
public constructor();
public onMagnificationChanged(magnificationController0: android.accessibilityservice.AccessibilityService.MagnificationController, region1: android.graphics.Region, float2: number, float3: number, float4: number): void;
}
}
export class SoftKeyboardController extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityService.SoftKeyboardController>;
public addOnShowModeChangedListener(listener: android.accessibilityservice.AccessibilityService.SoftKeyboardController.OnShowModeChangedListener): void;
public setShowMode(showMode: number): boolean;
public addOnShowModeChangedListener(listener: android.accessibilityservice.AccessibilityService.SoftKeyboardController.OnShowModeChangedListener, handler: android.os.Handler): void;
public removeOnShowModeChangedListener(listener: android.accessibilityservice.AccessibilityService.SoftKeyboardController.OnShowModeChangedListener): boolean;
public getShowMode(): number;
}
export module SoftKeyboardController {
export class OnShowModeChangedListener extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityService.SoftKeyboardController.OnShowModeChangedListener>;
/**
* Constructs a new instance of the android.accessibilityservice.AccessibilityService$SoftKeyboardController$OnShowModeChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onShowModeChanged(softKeyboardController0: android.accessibilityservice.AccessibilityService.SoftKeyboardController, int1: number): void;
});
public constructor();
public onShowModeChanged(softKeyboardController0: android.accessibilityservice.AccessibilityService.SoftKeyboardController, int1: number): void;
}
}
}
}
}
declare module android {
export module accessibilityservice {
export class AccessibilityServiceInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.accessibilityservice.AccessibilityServiceInfo>;
public static CAPABILITY_CAN_CONTROL_MAGNIFICATION: number;
public static CAPABILITY_CAN_PERFORM_GESTURES: number;
public static CAPABILITY_CAN_REQUEST_ENHANCED_WEB_ACCESSIBILITY: number;
public static CAPABILITY_CAN_REQUEST_FILTER_KEY_EVENTS: number;
public static CAPABILITY_CAN_REQUEST_FINGERPRINT_GESTURES: number;
public static CAPABILITY_CAN_REQUEST_TOUCH_EXPLORATION: number;
public static CAPABILITY_CAN_RETRIEVE_WINDOW_CONTENT: number;
public static CREATOR: android.os.Parcelable.Creator<android.accessibilityservice.AccessibilityServiceInfo>;
public static DEFAULT: number;
public static FEEDBACK_ALL_MASK: number;
public static FEEDBACK_AUDIBLE: number;
public static FEEDBACK_BRAILLE: number;
public static FEEDBACK_GENERIC: number;
public static FEEDBACK_HAPTIC: number;
public static FEEDBACK_SPOKEN: number;
public static FEEDBACK_VISUAL: number;
public static FLAG_ENABLE_ACCESSIBILITY_VOLUME: number;
public static FLAG_INCLUDE_NOT_IMPORTANT_VIEWS: number;
public static FLAG_REPORT_VIEW_IDS: number;
public static FLAG_REQUEST_ACCESSIBILITY_BUTTON: number;
public static FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY: number;
public static FLAG_REQUEST_FILTER_KEY_EVENTS: number;
public static FLAG_REQUEST_FINGERPRINT_GESTURES: number;
public static FLAG_REQUEST_SHORTCUT_WARNING_DIALOG_SPOKEN_FEEDBACK: number;
public static FLAG_REQUEST_TOUCH_EXPLORATION_MODE: number;
public static FLAG_RETRIEVE_INTERACTIVE_WINDOWS: number;
public eventTypes: number;
public feedbackType: number;
public flags: number;
public notificationTimeout: number;
public packageNames: native.Array<string>;
public static flagToString(flag: number): string;
public getSettingsActivityName(): string;
public static capabilityToString(capability: number): string;
public constructor();
public getCapabilities(): number;
public setNonInteractiveUiTimeoutMillis(timeout: number): void;
public getResolveInfo(): android.content.pm.ResolveInfo;
public loadDescription(packageManager: android.content.pm.PackageManager): string;
public getInteractiveUiTimeoutMillis(): number;
public getId(): string;
public getNonInteractiveUiTimeoutMillis(): number;
public toString(): string;
public equals(obj: any): boolean;
/** @deprecated */
public getDescription(): string;
public setInteractiveUiTimeoutMillis(timeout: number): void;
public describeContents(): number;
public static feedbackTypeToString(feedbackType: number): string;
/** @deprecated */
public getCanRetrieveWindowContent(): boolean;
public loadSummary(packageManager: android.content.pm.PackageManager): string;
public writeToParcel(parcel: android.os.Parcel, flagz: number): void;
public hashCode(): number;
}
}
}
declare module android {
export module accessibilityservice {
export class FingerprintGestureController extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.FingerprintGestureController>;
public static FINGERPRINT_GESTURE_SWIPE_DOWN: number;
public static FINGERPRINT_GESTURE_SWIPE_LEFT: number;
public static FINGERPRINT_GESTURE_SWIPE_RIGHT: number;
public static FINGERPRINT_GESTURE_SWIPE_UP: number;
public registerFingerprintGestureCallback(callback: android.accessibilityservice.FingerprintGestureController.FingerprintGestureCallback, handler: android.os.Handler): void;
public isGestureDetectionAvailable(): boolean;
public unregisterFingerprintGestureCallback(callback: android.accessibilityservice.FingerprintGestureController.FingerprintGestureCallback): void;
}
export module FingerprintGestureController {
export abstract class FingerprintGestureCallback extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.FingerprintGestureController.FingerprintGestureCallback>;
public onGestureDetectionAvailabilityChanged(available: boolean): void;
public onGestureDetected(gesture: number): void;
public constructor();
}
}
}
}
declare module android {
export module accessibilityservice {
export class GestureDescription extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.GestureDescription>;
public static getMaxGestureDuration(): number;
public static getMaxStrokeCount(): number;
public getStroke(index: number): android.accessibilityservice.GestureDescription.StrokeDescription;
public getStrokeCount(): number;
}
export module GestureDescription {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.GestureDescription.Builder>;
public addStroke(strokeDescription: android.accessibilityservice.GestureDescription.StrokeDescription): android.accessibilityservice.GestureDescription.Builder;
public build(): android.accessibilityservice.GestureDescription;
public constructor();
}
export class StrokeDescription extends java.lang.Object {
public static class: java.lang.Class<android.accessibilityservice.GestureDescription.StrokeDescription>;
public getPath(): android.graphics.Path;
public continueStroke(path: android.graphics.Path, startTime: number, duration: number, willContinue: boolean): android.accessibilityservice.GestureDescription.StrokeDescription;
public getDuration(): number;
public constructor(path: android.graphics.Path, startTime: number, duration: number);
public constructor(path: android.graphics.Path, startTime: number, duration: number, willContinue: boolean);
public willContinue(): boolean;
public getStartTime(): number;
}
}
}
}
declare module android {
export module accounts {
export abstract class AbstractAccountAuthenticator extends java.lang.Object {
public static class: java.lang.Class<android.accounts.AbstractAccountAuthenticator>;
public static KEY_CUSTOM_TOKEN_EXPIRY: string;
public getAuthTokenLabel(string0: string): string;
public addAccount(accountAuthenticatorResponse0: android.accounts.AccountAuthenticatorResponse, string1: string, string2: string, strings3: native.Array<string>, bundle4: android.os.Bundle): android.os.Bundle;
public editProperties(accountAuthenticatorResponse0: android.accounts.AccountAuthenticatorResponse, string1: string): android.os.Bundle;
public confirmCredentials(accountAuthenticatorResponse0: android.accounts.AccountAuthenticatorResponse, account1: android.accounts.Account, bundle2: android.os.Bundle): android.os.Bundle;
public getAuthToken(accountAuthenticatorResponse0: android.accounts.AccountAuthenticatorResponse, account1: android.accounts.Account, string2: string, bundle3: android.os.Bundle): android.os.Bundle;
public getIBinder(): android.os.IBinder;
public getAccountRemovalAllowed(response: android.accounts.AccountAuthenticatorResponse, account: android.accounts.Account): android.os.Bundle;
public isCredentialsUpdateSuggested(response: android.accounts.AccountAuthenticatorResponse, account: android.accounts.Account, statusToken: string): android.os.Bundle;
public updateCredentials(accountAuthenticatorResponse0: android.accounts.AccountAuthenticatorResponse, account1: android.accounts.Account, string2: string, bundle3: android.os.Bundle): android.os.Bundle;
public finishSession(response: android.accounts.AccountAuthenticatorResponse, accountType: string, sessionBundle: android.os.Bundle): android.os.Bundle;
public constructor(context: android.content.Context);
public startUpdateCredentialsSession(response: android.accounts.AccountAuthenticatorResponse, account: android.accounts.Account, authTokenType: string, options: android.os.Bundle): android.os.Bundle;
public addAccountFromCredentials(response: android.accounts.AccountAuthenticatorResponse, account: android.accounts.Account, accountCredentials: android.os.Bundle): android.os.Bundle;
public hasFeatures(accountAuthenticatorResponse0: android.accounts.AccountAuthenticatorResponse, account1: android.accounts.Account, strings2: native.Array<string>): android.os.Bundle;
public getAccountCredentialsForCloning(response: android.accounts.AccountAuthenticatorResponse, account: android.accounts.Account): android.os.Bundle;
public startAddAccountSession(response: android.accounts.AccountAuthenticatorResponse, accountType: string, authTokenType: string, requiredFeatures: native.Array<string>, options: android.os.Bundle): android.os.Bundle;
}
}
}
declare module android {
export module accounts {
export class Account extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.accounts.Account>;
public static CREATOR: android.os.Parcelable.Creator<android.accounts.Account>;
public name: string;
public type: string;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public constructor(in0: android.os.Parcel);
public constructor(name: string, type: string);
public hashCode(): number;
}
}
}
declare module android {
export module accounts {
export class AccountAuthenticatorActivity extends android.app.Activity {
public static class: java.lang.Class<android.accounts.AccountAuthenticatorActivity>;
public setAccountAuthenticatorResult(result: android.os.Bundle): void;
public onCreate(savedInstanceState: android.os.Bundle): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public finish(): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onCreate(icicle: android.os.Bundle): void;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onDetachedFromWindow(): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public constructor();
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
}
}
}
declare module android {
export module accounts {
export class AccountAuthenticatorResponse extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.accounts.AccountAuthenticatorResponse>;
public static CREATOR: android.os.Parcelable.Creator<android.accounts.AccountAuthenticatorResponse>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public onResult(result: android.os.Bundle): void;
public onRequestContinued(): void;
public onError(errorCode: number, errorMessage: string): void;
public constructor(parcel: android.os.Parcel);
}
}
}
declare module android {
export module accounts {
export class AccountManager extends java.lang.Object {
public static class: java.lang.Class<android.accounts.AccountManager>;
public static ACTION_ACCOUNT_REMOVED: string;
public static ACTION_AUTHENTICATOR_INTENT: string;
public static AUTHENTICATOR_ATTRIBUTES_NAME: string;
public static AUTHENTICATOR_META_DATA_NAME: string;
public static ERROR_CODE_BAD_ARGUMENTS: number;
public static ERROR_CODE_BAD_AUTHENTICATION: number;
public static ERROR_CODE_BAD_REQUEST: number;
public static ERROR_CODE_CANCELED: number;
public static ERROR_CODE_INVALID_RESPONSE: number;
public static ERROR_CODE_NETWORK_ERROR: number;
public static ERROR_CODE_REMOTE_EXCEPTION: number;
public static ERROR_CODE_UNSUPPORTED_OPERATION: number;
public static KEY_ACCOUNTS: string;
public static KEY_ACCOUNT_AUTHENTICATOR_RESPONSE: string;
public static KEY_ACCOUNT_MANAGER_RESPONSE: string;
public static KEY_ACCOUNT_NAME: string;
public static KEY_ACCOUNT_SESSION_BUNDLE: string;
public static KEY_ACCOUNT_STATUS_TOKEN: string;
public static KEY_ACCOUNT_TYPE: string;
public static KEY_ANDROID_PACKAGE_NAME: string;
public static KEY_AUTHENTICATOR_TYPES: string;
public static KEY_AUTHTOKEN: string;
public static KEY_AUTH_FAILED_MESSAGE: string;
public static KEY_AUTH_TOKEN_LABEL: string;
public static KEY_BOOLEAN_RESULT: string;
public static KEY_CALLER_PID: string;
public static KEY_CALLER_UID: string;
public static KEY_ERROR_CODE: string;
public static KEY_ERROR_MESSAGE: string;
public static KEY_INTENT: string;
public static KEY_LAST_AUTHENTICATED_TIME: string;
public static KEY_PASSWORD: string;
public static KEY_USERDATA: string;
public static LOGIN_ACCOUNTS_CHANGED_ACTION: string;
public static PACKAGE_NAME_KEY_LEGACY_NOT_VISIBLE: string;
public static PACKAGE_NAME_KEY_LEGACY_VISIBLE: string;
public static VISIBILITY_NOT_VISIBLE: number;
public static VISIBILITY_UNDEFINED: number;
public static VISIBILITY_USER_MANAGED_NOT_VISIBLE: number;
public static VISIBILITY_USER_MANAGED_VISIBLE: number;
public static VISIBILITY_VISIBLE: number;
public getAuthenticatorTypes(): native.Array<android.accounts.AuthenticatorDescription>;
public setUserData(account: android.accounts.Account, key: string, value: string): void;
public editProperties(accountType: string, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public updateCredentials(account: android.accounts.Account, authTokenType: string, options: android.os.Bundle, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public setAuthToken(account: android.accounts.Account, authTokenType: string, authToken: string): void;
public getPackagesAndVisibilityForAccount(account: android.accounts.Account): java.util.Map<string,java.lang.Integer>;
public getAuthTokenByFeatures(accountType: string, authTokenType: string, features: native.Array<string>, activity: android.app.Activity, addAccountOptions: android.os.Bundle, getAuthTokenOptions: android.os.Bundle, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public getAccountsByTypeAndFeatures(type: string, features: native.Array<string>, callback: android.accounts.AccountManagerCallback<native.Array<android.accounts.Account>>, handler: android.os.Handler): android.accounts.AccountManagerFuture<native.Array<android.accounts.Account>>;
public addOnAccountsUpdatedListener(listener: android.accounts.OnAccountsUpdateListener, handler: android.os.Handler, updateImmediately: boolean): void;
public getAccountVisibility(account: android.accounts.Account, packageName: string): number;
/** @deprecated */
public removeAccount(account: android.accounts.Account, callback: android.accounts.AccountManagerCallback<java.lang.Boolean>, handler: android.os.Handler): android.accounts.AccountManagerFuture<java.lang.Boolean>;
public confirmCredentials(account: android.accounts.Account, options: android.os.Bundle, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public addOnAccountsUpdatedListener(listener: android.accounts.OnAccountsUpdateListener, handler: android.os.Handler, updateImmediately: boolean, accountTypes: native.Array<string>): void;
public notifyAccountAuthenticated(account: android.accounts.Account): boolean;
public getAuthToken(account: android.accounts.Account, authTokenType: string, options: android.os.Bundle, notifyAuthFailure: boolean, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public getPreviousName(account: android.accounts.Account): string;
public getPassword(account: android.accounts.Account): string;
public removeOnAccountsUpdatedListener(listener: android.accounts.OnAccountsUpdateListener): void;
public getAccountsByTypeForPackage(type: string, packageName: string): native.Array<android.accounts.Account>;
public removeAccount(account: android.accounts.Account, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public blockingGetAuthToken(account: android.accounts.Account, authTokenType: string, notifyAuthFailure: boolean): string;
public addAccountExplicitly(account: android.accounts.Account, password: string, userdata: android.os.Bundle): boolean;
public invalidateAuthToken(accountType: string, authToken: string): void;
public setAccountVisibility(account: android.accounts.Account, packageName: string, visibility: number): boolean;
public startAddAccountSession(accountType: string, authTokenType: string, requiredFeatures: native.Array<string>, options: android.os.Bundle, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public removeAccountExplicitly(account: android.accounts.Account): boolean;
public getUserData(account: android.accounts.Account, key: string): string;
public startUpdateCredentialsSession(account: android.accounts.Account, authTokenType: string, options: android.os.Bundle, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public addAccountExplicitly(account: android.accounts.Account, password: string, extras: android.os.Bundle, visibility: java.util.Map<string,java.lang.Integer>): boolean;
public static newChooseAccountIntent(selectedAccount: android.accounts.Account, allowableAccounts: java.util.List<android.accounts.Account>, allowableAccountTypes: native.Array<string>, descriptionOverrideText: string, addAccountAuthTokenType: string, addAccountRequiredFeatures: native.Array<string>, addAccountOptions: android.os.Bundle): android.content.Intent;
public getAccounts(): native.Array<android.accounts.Account>;
public finishSession(sessionBundle: android.os.Bundle, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public getAuthToken(account: android.accounts.Account, authTokenType: string, options: android.os.Bundle, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
/** @deprecated */
public static newChooseAccountIntent(selectedAccount: android.accounts.Account, allowableAccounts: java.util.ArrayList<android.accounts.Account>, allowableAccountTypes: native.Array<string>, alwaysPromptForAccount: boolean, descriptionOverrideText: string, addAccountAuthTokenType: string, addAccountRequiredFeatures: native.Array<string>, addAccountOptions: android.os.Bundle): android.content.Intent;
public clearPassword(account: android.accounts.Account): void;
public addAccount(accountType: string, authTokenType: string, requiredFeatures: native.Array<string>, addAccountOptions: android.os.Bundle, activity: android.app.Activity, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public getAccountsByType(type: string): native.Array<android.accounts.Account>;
public hasFeatures(account: android.accounts.Account, features: native.Array<string>, callback: android.accounts.AccountManagerCallback<java.lang.Boolean>, handler: android.os.Handler): android.accounts.AccountManagerFuture<java.lang.Boolean>;
public static get(context: android.content.Context): android.accounts.AccountManager;
public isCredentialsUpdateSuggested(account: android.accounts.Account, statusToken: string, callback: android.accounts.AccountManagerCallback<java.lang.Boolean>, handler: android.os.Handler): android.accounts.AccountManagerFuture<java.lang.Boolean>;
public renameAccount(account: android.accounts.Account, newName: string, callback: android.accounts.AccountManagerCallback<android.accounts.Account>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.accounts.Account>;
public getAccountsAndVisibilityForPackage(packageName: string, accountType: string): java.util.Map<android.accounts.Account,java.lang.Integer>;
/** @deprecated */
public getAuthToken(account: android.accounts.Account, authTokenType: string, notifyAuthFailure: boolean, callback: android.accounts.AccountManagerCallback<android.os.Bundle>, handler: android.os.Handler): android.accounts.AccountManagerFuture<android.os.Bundle>;
public peekAuthToken(account: android.accounts.Account, authTokenType: string): string;
public setPassword(account: android.accounts.Account, password: string): void;
}
}
}
declare module android {
export module accounts {
export class AccountManagerCallback<V> extends java.lang.Object {
public static class: java.lang.Class<android.accounts.AccountManagerCallback<any>>;
/**
* Constructs a new instance of the android.accounts.AccountManagerCallback<any> interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
run(accountManagerFuture0: android.accounts.AccountManagerFuture<V>): void;
});
public constructor();
public run(accountManagerFuture0: android.accounts.AccountManagerFuture<V>): void;
}
}
}
declare module android {
export module accounts {
export class AccountManagerFuture<V> extends java.lang.Object {
public static class: java.lang.Class<android.accounts.AccountManagerFuture<any>>;
/**
* Constructs a new instance of the android.accounts.AccountManagerFuture<any> interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
cancel(boolean0: boolean): boolean;
isCancelled(): boolean;
isDone(): boolean;
getResult(): V;
getResult(long0: number, timeUnit1: java.util.concurrent.TimeUnit): V;
});
public constructor();
public cancel(boolean0: boolean): boolean;
public getResult(long0: number, timeUnit1: java.util.concurrent.TimeUnit): V;
public isCancelled(): boolean;
public isDone(): boolean;
public getResult(): V;
}
}
}
declare module android {
export module accounts {
export class AccountsException extends java.lang.Exception {
public static class: java.lang.Class<android.accounts.AccountsException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
declare module android {
export module accounts {
export class AuthenticatorDescription extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.accounts.AuthenticatorDescription>;
public static CREATOR: android.os.Parcelable.Creator<android.accounts.AuthenticatorDescription>;
public accountPreferencesId: number;
public customTokens: boolean;
public iconId: number;
public labelId: number;
public packageName: string;
public smallIconId: number;
public type: string;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public static newKey(type: string): android.accounts.AuthenticatorDescription;
public constructor(type: string, packageName: string, labelId: number, iconId: number, smallIconId: number, prefId: number, customTokens: boolean);
public constructor(type: string, packageName: string, labelId: number, iconId: number, smallIconId: number, prefId: number);
public hashCode(): number;
}
}
}
declare module android {
export module accounts {
export class AuthenticatorException extends android.accounts.AccountsException {
public static class: java.lang.Class<android.accounts.AuthenticatorException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
declare module android {
export module accounts {
export class NetworkErrorException extends android.accounts.AccountsException {
public static class: java.lang.Class<android.accounts.NetworkErrorException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
declare module android {
export module accounts {
export class OnAccountsUpdateListener extends java.lang.Object {
public static class: java.lang.Class<android.accounts.OnAccountsUpdateListener>;
/**
* Constructs a new instance of the android.accounts.OnAccountsUpdateListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onAccountsUpdated(accounts0: native.Array<android.accounts.Account>): void;
});
public constructor();
public onAccountsUpdated(accounts0: native.Array<android.accounts.Account>): void;
}
}
}
declare module android {
export module accounts {
export class OperationCanceledException extends android.accounts.AccountsException {
public static class: java.lang.Class<android.accounts.OperationCanceledException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
declare module android {
export module animation {
export abstract class Animator extends java.lang.Object implements java.lang.Cloneable {
public static class: java.lang.Class<android.animation.Animator>;
public static DURATION_INFINITE: number;
public setStartDelay(long0: number): void;
public setupStartValues(): void;
public removeAllListeners(): void;
public getDuration(): number;
public end(): void;
public isPaused(): boolean;
public cancel(): void;
public getInterpolator(): android.animation.TimeInterpolator;
public pause(): void;
public isRunning(): boolean;
public resume(): void;
public removeListener(listener: android.animation.Animator.AnimatorListener): void;
public getTotalDuration(): number;
public setTarget(target: any): void;
public removePauseListener(listener: android.animation.Animator.AnimatorPauseListener): void;
public start(): void;
public getStartDelay(): number;
public clone(): android.animation.Animator;
public isStarted(): boolean;
public setDuration(long0: number): android.animation.Animator;
public constructor();
public addListener(listener: android.animation.Animator.AnimatorListener): void;
public addPauseListener(listener: android.animation.Animator.AnimatorPauseListener): void;
public getListeners(): java.util.ArrayList<android.animation.Animator.AnimatorListener>;
public clone(): any;
public setInterpolator(timeInterpolator0: android.animation.TimeInterpolator): void;
public setupEndValues(): void;
}
export module Animator {
export class AnimatorListener extends java.lang.Object {
public static class: java.lang.Class<android.animation.Animator.AnimatorListener>;
/**
* Constructs a new instance of the android.animation.Animator$AnimatorListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onAnimationStart(animation: android.animation.Animator, isReverse: boolean): void;
onAnimationEnd(animation: android.animation.Animator, isReverse: boolean): void;
onAnimationStart(animator0: android.animation.Animator): void;
onAnimationEnd(animator0: android.animation.Animator): void;
onAnimationCancel(animator0: android.animation.Animator): void;
onAnimationRepeat(animator0: android.animation.Animator): void;
});
public constructor();
public onAnimationStart(animation: android.animation.Animator, isReverse: boolean): void;
public onAnimationStart(animator0: android.animation.Animator): void;
public onAnimationRepeat(animator0: android.animation.Animator): void;
public onAnimationEnd(animator0: android.animation.Animator): void;
public onAnimationEnd(animation: android.animation.Animator, isReverse: boolean): void;
public onAnimationCancel(animator0: android.animation.Animator): void;
}
export class AnimatorPauseListener extends java.lang.Object {
public static class: java.lang.Class<android.animation.Animator.AnimatorPauseListener>;
/**
* Constructs a new instance of the android.animation.Animator$AnimatorPauseListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onAnimationPause(animator0: android.animation.Animator): void;
onAnimationResume(animator0: android.animation.Animator): void;
});
public constructor();
public onAnimationResume(animator0: android.animation.Animator): void;
public onAnimationPause(animator0: android.animation.Animator): void;
}
}
}
}
declare module android {
export module animation {
export class AnimatorInflater extends java.lang.Object {
public static class: java.lang.Class<android.animation.AnimatorInflater>;
public static loadStateListAnimator(context: android.content.Context, id: number): android.animation.StateListAnimator;
public static loadAnimator(context: android.content.Context, id: number): android.animation.Animator;
public constructor();
}
}
}
declare module android {
export module animation {
export abstract class AnimatorListenerAdapter extends java.lang.Object implements android.animation.Animator.AnimatorListener, android.animation.Animator.AnimatorPauseListener {
public static class: java.lang.Class<android.animation.AnimatorListenerAdapter>;
public onAnimationEnd(animation: android.animation.Animator): void;
public onAnimationResume(animation: android.animation.Animator): void;
public onAnimationStart(animation: android.animation.Animator, isReverse: boolean): void;
public onAnimationEnd(animation: android.animation.Animator, isReverse: boolean): void;
public onAnimationStart(animation: android.animation.Animator): void;
public constructor();
public onAnimationCancel(animation: android.animation.Animator): void;
public onAnimationRepeat(animation: android.animation.Animator): void;
public onAnimationPause(animation: android.animation.Animator): void;
}
}
}
declare module android {
export module animation {
export class AnimatorSet extends android.animation.Animator {
public static class: java.lang.Class<android.animation.AnimatorSet>;
public setStartDelay(long0: number): void;
public setupStartValues(): void;
public reverse(): void;
public getDuration(): number;
public end(): void;
public play(anim: android.animation.Animator): android.animation.AnimatorSet.Builder;
public cancel(): void;
public getInterpolator(): android.animation.TimeInterpolator;
public pause(): void;
public isRunning(): boolean;
public setDuration(duration: number): android.animation.AnimatorSet;
public resume(): void;
public getTotalDuration(): number;
public setTarget(target: any): void;
public setStartDelay(startDelay: number): void;
public start(): void;
public getStartDelay(): number;
public clone(): android.animation.AnimatorSet;
public getCurrentPlayTime(): number;
public clone(): android.animation.Animator;
public isStarted(): boolean;
public setDuration(long0: number): android.animation.Animator;
public playSequentially(items: native.Array<android.animation.Animator>): void;
public constructor();
public playSequentially(items: java.util.List<android.animation.Animator>): void;
public playTogether(items: java.util.Collection<android.animation.Animator>): void;
public clone(): any;
public toString(): string;
public setInterpolator(timeInterpolator0: android.animation.TimeInterpolator): void;
public setInterpolator(interpolator: android.animation.TimeInterpolator): void;
public setCurrentPlayTime(playTime: number): void;
public playTogether(items: native.Array<android.animation.Animator>): void;
public getChildAnimations(): java.util.ArrayList<android.animation.Animator>;
public setupEndValues(): void;
}
export module AnimatorSet {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.animation.AnimatorSet.Builder>;
public before(anim: android.animation.Animator): android.animation.AnimatorSet.Builder;
public after(anim: android.animation.Animator): android.animation.AnimatorSet.Builder;
public after(delay: number): android.animation.AnimatorSet.Builder;
public with(anim: android.animation.Animator): android.animation.AnimatorSet.Builder;
}
}
}
}
declare module android {
export module animation {
export class ArgbEvaluator extends java.lang.Object {
public static class: java.lang.Class<android.animation.ArgbEvaluator>;
public evaluate(fraction: number, startValue: any, endValue: any): any;
public constructor();
}
}
}
declare module android {
export module animation {
export abstract class BidirectionalTypeConverter<T, V> extends android.animation.TypeConverter<any,any> {
public static class: java.lang.Class<android.animation.BidirectionalTypeConverter<any,any>>;
public constructor(fromClass: java.lang.Class<any>, toClass: java.lang.Class<any>);
public convertBack(object0: any): any;
public invert(): android.animation.BidirectionalTypeConverter<any,any>;
}
}
}
declare module android {
export module animation {
export class FloatArrayEvaluator extends android.animation.TypeEvaluator<native.Array<number>> {
public static class: java.lang.Class<android.animation.FloatArrayEvaluator>;
public constructor(reuseArray: native.Array<number>);
public evaluate(fraction: number, startValue: native.Array<number>, endValue: native.Array<number>): native.Array<number>;
public constructor();
}
}
}
declare module android {
export module animation {
export class FloatEvaluator extends android.animation.TypeEvaluator<java.lang.Number> {
public static class: java.lang.Class<android.animation.FloatEvaluator>;
public constructor();
public evaluate(fraction: number, startValue: java.lang.Number, endValue: java.lang.Number): java.lang.Float;
}
}
}
declare module android {
export module animation {
export class IntArrayEvaluator extends android.animation.TypeEvaluator<native.Array<number>> {
public static class: java.lang.Class<android.animation.IntArrayEvaluator>;
public constructor(reuseArray: native.Array<number>);
public evaluate(fraction: number, startValue: native.Array<number>, endValue: native.Array<number>): native.Array<number>;
public constructor();
}
}
}
declare module android {
export module animation {
export class IntEvaluator extends android.animation.TypeEvaluator<java.lang.Integer> {
public static class: java.lang.Class<android.animation.IntEvaluator>;
public evaluate(fraction: number, startValue: java.lang.Integer, endValue: java.lang.Integer): java.lang.Integer;
public constructor();
}
}
}
declare module android {
export module animation {
export abstract class Keyframe extends java.lang.Object implements java.lang.Cloneable {
public static class: java.lang.Class<android.animation.Keyframe>;
public setValue(object0: any): void;
public getType(): java.lang.Class<any>;
public getFraction(): number;
public clone(): android.animation.Keyframe;
public constructor();
public getInterpolator(): android.animation.TimeInterpolator;
public static ofInt(fraction: number): android.animation.Keyframe;
public static ofFloat(fraction: number): android.animation.Keyframe;
public clone(): any;
public getValue(): any;
public static ofInt(fraction: number, value: number): android.animation.Keyframe;
public static ofObject(fraction: number): android.animation.Keyframe;
public hasValue(): boolean;
public setInterpolator(interpolator: android.animation.TimeInterpolator): void;
public static ofFloat(fraction: number, value: number): android.animation.Keyframe;
public static ofObject(fraction: number, value: any): android.animation.Keyframe;
public setFraction(fraction: number): void;
}
}
}
declare module android {
export module animation {
export class LayoutTransition extends java.lang.Object {
public static class: java.lang.Class<android.animation.LayoutTransition>;
public static APPEARING: number;
public static CHANGE_APPEARING: number;
public static CHANGE_DISAPPEARING: number;
public static CHANGING: number;
public static DISAPPEARING: number;
public getAnimator(transitionType: number): android.animation.Animator;
public setDuration(transitionType: number, duration: number): void;
public setAnimator(transitionType: number, animator: android.animation.Animator): void;
public isRunning(): boolean;
public getTransitionListeners(): java.util.List<android.animation.LayoutTransition.TransitionListener>;
public setStartDelay(transitionType: number, delay: number): void;
public addTransitionListener(listener: android.animation.LayoutTransition.TransitionListener): void;
/** @deprecated */
public showChild(parent: android.view.ViewGroup, child: android.view.View): void;
public hideChild(parent: android.view.ViewGroup, child: android.view.View, newVisibility: number): void;
public setInterpolator(transitionType: number, interpolator: android.animation.TimeInterpolator): void;
public isTransitionTypeEnabled(transitionType: number): boolean;
public removeChild(parent: android.view.ViewGroup, child: android.view.View): void;
public enableTransitionType(transitionType: number): void;
public getDuration(transitionType: number): number;
public disableTransitionType(transitionType: number): void;
public isChangingLayout(): boolean;
/** @deprecated */
public hideChild(parent: android.view.ViewGroup, child: android.view.View): void;
public constructor();
public setAnimateParentHierarchy(animateParentHierarchy: boolean): void;
public addChild(parent: android.view.ViewGroup, child: android.view.View): void;
public showChild(parent: android.view.ViewGroup, child: android.view.View, oldVisibility: number): void;
public setStagger(transitionType: number, duration: number): void;
public getStartDelay(transitionType: number): number;
public removeTransitionListener(listener: android.animation.LayoutTransition.TransitionListener): void;
public setDuration(duration: number): void;
public getInterpolator(transitionType: number): android.animation.TimeInterpolator;
public getStagger(transitionType: number): number;
}
export module LayoutTransition {
export class TransitionListener extends java.lang.Object {
public static class: java.lang.Class<android.animation.LayoutTransition.TransitionListener>;
/**
* Constructs a new instance of the android.animation.LayoutTransition$TransitionListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
startTransition(layoutTransition0: android.animation.LayoutTransition, viewGroup1: android.view.ViewGroup, view2: android.view.View, int3: number): void;
endTransition(layoutTransition0: android.animation.LayoutTransition, viewGroup1: android.view.ViewGroup, view2: android.view.View, int3: number): void;
});
public constructor();
public startTransition(layoutTransition0: android.animation.LayoutTransition, viewGroup1: android.view.ViewGroup, view2: android.view.View, int3: number): void;
public endTransition(layoutTransition0: android.animation.LayoutTransition, viewGroup1: android.view.ViewGroup, view2: android.view.View, int3: number): void;
}
}
}
}
declare module android {
export module animation {
export class ObjectAnimator extends android.animation.ValueAnimator {
public static class: java.lang.Class<android.animation.ObjectAnimator>;
public static ofArgb(values: native.Array<number>): android.animation.ValueAnimator;
public setFloatValues(values: native.Array<number>): void;
public setupStartValues(): void;
public setAutoCancel(cancel: boolean): void;
public clone(): android.animation.ValueAnimator;
public static ofMultiFloat(target: any, propertyName: string, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.ObjectAnimator;
public static ofMultiInt(target: any, propertyName: string, values: native.Array<native.Array<number>>): android.animation.ObjectAnimator;
public static ofPropertyValuesHolder(target: any, values: native.Array<android.animation.PropertyValuesHolder>): android.animation.ObjectAnimator;
public clone(): android.animation.ObjectAnimator;
public static ofMultiInt(target: any, propertyName: string, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.ObjectAnimator;
public getPropertyName(): string;
public static ofFloat(target: any, propertyName: string, values: native.Array<number>): android.animation.ObjectAnimator;
public static ofMultiFloat(target: any, propertyName: string, path: android.graphics.Path): android.animation.ObjectAnimator;
public static ofMultiInt(target: any, propertyName: string, path: android.graphics.Path): android.animation.ObjectAnimator;
public setObjectValues(values: native.Array<any>): void;
public static ofInt(target: any, xPropertyName: string, yPropertyName: string, path: android.graphics.Path): android.animation.ObjectAnimator;
public static ofInt(target: any, xProperty: android.util.Property<any,any>, yProperty: android.util.Property<any,any>, path: android.graphics.Path): android.animation.ObjectAnimator;
public static ofFloat(values: native.Array<number>): android.animation.ValueAnimator;
public setDuration(duration: number): android.animation.ValueAnimator;
public setTarget(target: any): void;
public start(): void;
public static ofObject(target: any, property: android.util.Property<any,any>, converter: android.animation.TypeConverter<any,any>, path: android.graphics.Path): android.animation.ObjectAnimator;
public setDuration(duration: number): android.animation.ObjectAnimator;
public static ofMultiFloat(target: any, propertyName: string, values: native.Array<native.Array<number>>): android.animation.ObjectAnimator;
public static ofObject(target: any, property: android.util.Property<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.ObjectAnimator;
public clone(): android.animation.Animator;
public static ofInt(values: native.Array<number>): android.animation.ValueAnimator;
public setDuration(long0: number): android.animation.Animator;
public setProperty(property: android.util.Property<any,any>): void;
public static ofObject(target: any, propertyName: string, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.ObjectAnimator;
public constructor();
public static ofInt(target: any, propertyName: string, values: native.Array<number>): android.animation.ObjectAnimator;
public static ofFloat(target: any, xPropertyName: string, yPropertyName: string, path: android.graphics.Path): android.animation.ObjectAnimator;
public setPropertyName(propertyName: string): void;
public static ofArgb(target: any, propertyName: string, values: native.Array<number>): android.animation.ObjectAnimator;
public static ofPropertyValuesHolder(values: native.Array<android.animation.PropertyValuesHolder>): android.animation.ValueAnimator;
public static ofInt(target: any, property: android.util.Property<any,any>, values: native.Array<number>): android.animation.ObjectAnimator;
public static ofObject(evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.ValueAnimator;
public static ofObject(target: any, propertyName: string, converter: android.animation.TypeConverter<android.graphics.PointF,any>, path: android.graphics.Path): android.animation.ObjectAnimator;
public clone(): any;
public toString(): string;
public static ofFloat(target: any, xProperty: android.util.Property<any,any>, yProperty: android.util.Property<any,any>, path: android.graphics.Path): android.animation.ObjectAnimator;
public static ofFloat(target: any, property: android.util.Property<any,any>, values: native.Array<number>): android.animation.ObjectAnimator;
public static ofObject(target: any, property: android.util.Property<any,any>, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.ObjectAnimator;
public setIntValues(values: native.Array<number>): void;
public static ofArgb(target: any, property: android.util.Property<any,any>, values: native.Array<number>): android.animation.ObjectAnimator;
public getTarget(): any;
public setupEndValues(): void;
}
}
}
declare module android {
export module animation {
export class PointFEvaluator extends android.animation.TypeEvaluator<android.graphics.PointF> {
public static class: java.lang.Class<android.animation.PointFEvaluator>;
public evaluate(fraction: number, startValue: android.graphics.PointF, endValue: android.graphics.PointF): android.graphics.PointF;
public constructor(reuse: android.graphics.PointF);
public constructor();
}
}
}
declare module android {
export module animation {
export class PropertyValuesHolder extends java.lang.Object implements java.lang.Cloneable {
public static class: java.lang.Class<android.animation.PropertyValuesHolder>;
public setFloatValues(values: native.Array<number>): void;
public static ofObject(property: android.util.Property<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.PropertyValuesHolder;
public static ofInt(propertyName: string, values: native.Array<number>): android.animation.PropertyValuesHolder;
public static ofMultiInt(propertyName: string, values: native.Array<native.Array<number>>): android.animation.PropertyValuesHolder;
public clone(): android.animation.PropertyValuesHolder;
public static ofInt(property: android.util.Property<any,java.lang.Integer>, values: native.Array<number>): android.animation.PropertyValuesHolder;
public getPropertyName(): string;
public static ofMultiInt(propertyName: string, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<android.animation.Keyframe>): android.animation.PropertyValuesHolder;
public static ofMultiFloat(propertyName: string, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<android.animation.Keyframe>): android.animation.PropertyValuesHolder;
public static ofObject(property: android.util.Property<any,any>, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.PropertyValuesHolder;
public static ofObject(propertyName: string, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.PropertyValuesHolder;
public setObjectValues(values: native.Array<any>): void;
public static ofKeyframe(property: android.util.Property<any,any>, values: native.Array<android.animation.Keyframe>): android.animation.PropertyValuesHolder;
public static ofMultiFloat(propertyName: string, values: native.Array<native.Array<number>>): android.animation.PropertyValuesHolder;
public static ofMultiInt(propertyName: string, path: android.graphics.Path): android.animation.PropertyValuesHolder;
public static ofFloat(propertyName: string, values: native.Array<number>): android.animation.PropertyValuesHolder;
public setEvaluator(evaluator: android.animation.TypeEvaluator<any>): void;
public static ofObject(propertyName: string, converter: android.animation.TypeConverter<android.graphics.PointF,any>, path: android.graphics.Path): android.animation.PropertyValuesHolder;
public setProperty(property: android.util.Property<any,any>): void;
public static ofMultiFloat(propertyName: string, path: android.graphics.Path): android.animation.PropertyValuesHolder;
public setPropertyName(propertyName: string): void;
public static ofObject(property: android.util.Property<any,any>, converter: android.animation.TypeConverter<any,any>, path: android.graphics.Path): android.animation.PropertyValuesHolder;
public setConverter(converter: android.animation.TypeConverter<any,any>): void;
public clone(): any;
public toString(): string;
public setKeyframes(values: native.Array<android.animation.Keyframe>): void;
public static ofKeyframe(propertyName: string, values: native.Array<android.animation.Keyframe>): android.animation.PropertyValuesHolder;
public setIntValues(values: native.Array<number>): void;
public static ofMultiFloat(propertyName: string, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.PropertyValuesHolder;
public static ofMultiInt(propertyName: string, converter: android.animation.TypeConverter<any,any>, evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.PropertyValuesHolder;
public static ofFloat(property: android.util.Property<any,java.lang.Float>, values: native.Array<number>): android.animation.PropertyValuesHolder;
}
}
}
declare module android {
export module animation {
export class RectEvaluator extends android.animation.TypeEvaluator<android.graphics.Rect> {
public static class: java.lang.Class<android.animation.RectEvaluator>;
public evaluate(fraction: number, startValue: android.graphics.Rect, endValue: android.graphics.Rect): android.graphics.Rect;
public constructor();
public constructor(reuseRect: android.graphics.Rect);
}
}
}
declare module android {
export module animation {
export class StateListAnimator extends java.lang.Object implements java.lang.Cloneable {
public static class: java.lang.Class<android.animation.StateListAnimator>;
public clone(): any;
public jumpToCurrentState(): void;
public clone(): android.animation.StateListAnimator;
public addState(specs: native.Array<number>, animator: android.animation.Animator): void;
public constructor();
}
}
}
declare module android {
export module animation {
export class TimeAnimator extends android.animation.ValueAnimator {
public static class: java.lang.Class<android.animation.TimeAnimator>;
public setTimeListener(listener: android.animation.TimeAnimator.TimeListener): void;
public setCurrentPlayTime(playTime: number): void;
public constructor();
public start(): void;
}
export module TimeAnimator {
export class TimeListener extends java.lang.Object {
public static class: java.lang.Class<android.animation.TimeAnimator.TimeListener>;
/**
* Constructs a new instance of the android.animation.TimeAnimator$TimeListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onTimeUpdate(timeAnimator0: android.animation.TimeAnimator, long1: number, long2: number): void;
});
public constructor();
public onTimeUpdate(timeAnimator0: android.animation.TimeAnimator, long1: number, long2: number): void;
}
}
}
}
declare module android {
export module animation {
export class TimeInterpolator extends java.lang.Object {
public static class: java.lang.Class<android.animation.TimeInterpolator>;
/**
* Constructs a new instance of the android.animation.TimeInterpolator interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
getInterpolation(float0: number): number;
});
public constructor();
public getInterpolation(float0: number): number;
}
}
}
declare module android {
export module animation {
export abstract class TypeConverter<T, V> extends java.lang.Object {
public static class: java.lang.Class<android.animation.TypeConverter<any,any>>;
public convert(object0: T): V;
public constructor(fromClass: java.lang.Class<T>, toClass: java.lang.Class<V>);
}
}
}
declare module android {
export module animation {
export class TypeEvaluator<T> extends java.lang.Object {
public static class: java.lang.Class<android.animation.TypeEvaluator<any>>;
/**
* Constructs a new instance of the android.animation.TypeEvaluator<any> interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
evaluate(float0: number, object1: T, object2: T): T;
});
public constructor();
public evaluate(float0: number, object1: T, object2: T): T;
}
}
}
declare module android {
export module animation {
export class ValueAnimator extends android.animation.Animator {
public static class: java.lang.Class<android.animation.ValueAnimator>;
public static INFINITE: number;
public static RESTART: number;
public static REVERSE: number;
public static ofArgb(values: native.Array<number>): android.animation.ValueAnimator;
public setFloatValues(values: native.Array<number>): void;
public end(): void;
public cancel(): void;
public getInterpolator(): android.animation.TimeInterpolator;
public getRepeatMode(): number;
public setRepeatCount(value: number): void;
public isRunning(): boolean;
public setObjectValues(values: native.Array<any>): void;
public getTotalDuration(): number;
public setDuration(duration: number): android.animation.ValueAnimator;
public setStartDelay(startDelay: number): void;
public start(): void;
public constructor();
public static setFrameDelay(frameDelay: number): void;
public getValues(): native.Array<android.animation.PropertyValuesHolder>;
public getAnimatedValue(): any;
public static ofPropertyValuesHolder(values: native.Array<android.animation.PropertyValuesHolder>): android.animation.ValueAnimator;
public clone(): any;
public getAnimatedFraction(): number;
public setIntValues(values: native.Array<number>): void;
public setCurrentFraction(fraction: number): void;
public setInterpolator(timeInterpolator0: android.animation.TimeInterpolator): void;
public setCurrentPlayTime(playTime: number): void;
public static getFrameDelay(): number;
public removeUpdateListener(listener: android.animation.ValueAnimator.AnimatorUpdateListener): void;
public setStartDelay(long0: number): void;
public clone(): android.animation.ValueAnimator;
public reverse(): void;
public getRepeatCount(): number;
public getDuration(): number;
public setInterpolator(value: android.animation.TimeInterpolator): void;
public pause(): void;
public resume(): void;
public static ofFloat(values: native.Array<number>): android.animation.ValueAnimator;
public setRepeatMode(value: number): void;
public getStartDelay(): number;
public getAnimatedValue(propertyName: string): any;
public addUpdateListener(listener: android.animation.ValueAnimator.AnimatorUpdateListener): void;
public getCurrentPlayTime(): number;
public clone(): android.animation.Animator;
public isStarted(): boolean;
public static ofInt(values: native.Array<number>): android.animation.ValueAnimator;
public setValues(values: native.Array<android.animation.PropertyValuesHolder>): void;
public setDuration(long0: number): android.animation.Animator;
public removeAllUpdateListeners(): void;
public static ofObject(evaluator: android.animation.TypeEvaluator<any>, values: native.Array<any>): android.animation.ValueAnimator;
public toString(): string;
public setEvaluator(value: android.animation.TypeEvaluator<any>): void;
public static areAnimatorsEnabled(): boolean;
}
export module ValueAnimator {
export class AnimatorUpdateListener extends java.lang.Object {
public static class: java.lang.Class<android.animation.ValueAnimator.AnimatorUpdateListener>;
/**
* Constructs a new instance of the android.animation.ValueAnimator$AnimatorUpdateListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onAnimationUpdate(valueAnimator0: android.animation.ValueAnimator): void;
});
public constructor();
public onAnimationUpdate(valueAnimator0: android.animation.ValueAnimator): void;
}
}
}
}
declare module android {
export module annotation {
export class NonNull extends java.lang.Object implements java.lang.annotation.Annotation {
public static class: java.lang.Class<android.annotation.NonNull>;
/**
* Constructs a new instance of the android.annotation.NonNull interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
equals(object0: any): boolean;
hashCode(): number;
toString(): string;
annotationType(): java.lang.Class<any>;
});
public constructor();
public toString(): string;
public equals(obj: any): boolean;
public annotationType(): java.lang.Class<any>;
public hashCode(): number;
}
}
}
declare module android {
export module annotation {
export class Nullable extends java.lang.Object implements java.lang.annotation.Annotation {
public static class: java.lang.Class<android.annotation.Nullable>;
/**
* Constructs a new instance of the android.annotation.Nullable interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
equals(object0: any): boolean;
hashCode(): number;
toString(): string;
annotationType(): java.lang.Class<any>;
});
public constructor();
public toString(): string;
public equals(obj: any): boolean;
public annotationType(): java.lang.Class<any>;
public hashCode(): number;
}
}
}
declare module android {
export module annotation {
export class SuppressLint extends java.lang.Object implements java.lang.annotation.Annotation {
public static class: java.lang.Class<android.annotation.SuppressLint>;
/**
* Constructs a new instance of the android.annotation.SuppressLint interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
value(): native.Array<string>;
equals(object0: any): boolean;
hashCode(): number;
toString(): string;
annotationType(): java.lang.Class<any>;
});
public constructor();
public toString(): string;
public equals(obj: any): boolean;
public value(): native.Array<string>;
public annotationType(): java.lang.Class<any>;
public hashCode(): number;
}
}
}
declare module android {
export module annotation {
export class TargetApi extends java.lang.Object implements java.lang.annotation.Annotation {
public static class: java.lang.Class<android.annotation.TargetApi>;
/**
* Constructs a new instance of the android.annotation.TargetApi interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
value(): number;
equals(object0: any): boolean;
hashCode(): number;
toString(): string;
annotationType(): java.lang.Class<any>;
});
public constructor();
public toString(): string;
public equals(obj: any): boolean;
public value(): number;
public annotationType(): java.lang.Class<any>;
public hashCode(): number;
}
}
}
declare module android {
export module app {
export abstract class ActionBar extends java.lang.Object {
public static class: java.lang.Class<android.app.ActionBar>;
public static DISPLAY_HOME_AS_UP: number;
public static DISPLAY_SHOW_CUSTOM: number;
public static DISPLAY_SHOW_HOME: number;
public static DISPLAY_SHOW_TITLE: number;
public static DISPLAY_USE_LOGO: number;
public static NAVIGATION_MODE_LIST: number;
public static NAVIGATION_MODE_STANDARD: number;
public static NAVIGATION_MODE_TABS: number;
public setDisplayOptions(int0: number, int1: number): void;
public setDisplayUseLogoEnabled(boolean0: boolean): void;
/** @deprecated */
public getTabAt(int0: number): android.app.ActionBar.Tab;
public setSubtitle(int0: number): void;
public setCustomView(int0: number): void;
public setStackedBackgroundDrawable(d: android.graphics.drawable.Drawable): void;
/** @deprecated */
public addTab(tab0: android.app.ActionBar.Tab): void;
/** @deprecated */
public getSelectedTab(): android.app.ActionBar.Tab;
/** @deprecated */
public getNavigationItemCount(): number;
public getCustomView(): android.view.View;
public hide(): void;
public setDisplayShowHomeEnabled(boolean0: boolean): void;
public setHomeActionContentDescription(resId: number): void;
public setSplitBackgroundDrawable(d: android.graphics.drawable.Drawable): void;
/** @deprecated */
public addTab(tab0: android.app.ActionBar.Tab, boolean1: boolean): void;
public isShowing(): boolean;
public getTitle(): string;
public getSubtitle(): string;
/** @deprecated */
public setNavigationMode(int0: number): void;
/** @deprecated */
public addTab(tab0: android.app.ActionBar.Tab, int1: number): void;
public getHeight(): number;
public setHomeAsUpIndicator(resId: number): void;
public constructor();
/** @deprecated */
public selectTab(tab0: android.app.ActionBar.Tab): void;
/** @deprecated */
public setListNavigationCallbacks(spinnerAdapter0: android.widget.SpinnerAdapter, onNavigationListener1: android.app.ActionBar.OnNavigationListener): void;
public setHomeButtonEnabled(enabled: boolean): void;
public setHideOnContentScrollEnabled(hideOnContentScroll: boolean): void;
public setTitle(int0: number): void;
public setCustomView(view0: android.view.View, layoutParams1: android.app.ActionBar.LayoutParams): void;
public setDisplayHomeAsUpEnabled(boolean0: boolean): void;
public setTitle(charSequence0: string): void;
public getDisplayOptions(): number;
public show(): void;
public addOnMenuVisibilityListener(onMenuVisibilityListener0: android.app.ActionBar.OnMenuVisibilityListener): void;
/** @deprecated */
public setSelectedNavigationItem(int0: number): void;
public setHideOffset(offset: number): void;
public removeOnMenuVisibilityListener(onMenuVisibilityListener0: android.app.ActionBar.OnMenuVisibilityListener): void;
public setLogo(int0: number): void;
public setElevation(elevation: number): void;
public setCustomView(view0: android.view.View): void;
/** @deprecated */
public addTab(tab0: android.app.ActionBar.Tab, int1: number, boolean2: boolean): void;
public setDisplayShowTitleEnabled(boolean0: boolean): void;
/** @deprecated */
public getSelectedNavigationIndex(): number;
public setBackgroundDrawable(drawable0: android.graphics.drawable.Drawable): void;
/** @deprecated */
public getNavigationMode(): number;
public getThemedContext(): android.content.Context;
public setHomeActionContentDescription(description: string): void;
public getElevation(): number;
/** @deprecated */
public removeTab(tab0: android.app.ActionBar.Tab): void;
/** @deprecated */
public getTabCount(): number;
public setIcon(int0: number): void;
public setSubtitle(charSequence0: string): void;
public setLogo(drawable0: android.graphics.drawable.Drawable): void;
public setDisplayShowCustomEnabled(boolean0: boolean): void;
/** @deprecated */
public removeAllTabs(): void;
public getHideOffset(): number;
public setHomeAsUpIndicator(indicator: android.graphics.drawable.Drawable): void;
/** @deprecated */
public removeTabAt(int0: number): void;
public isHideOnContentScrollEnabled(): boolean;
public setDisplayOptions(int0: number): void;
/** @deprecated */
public newTab(): android.app.ActionBar.Tab;
public setIcon(drawable0: android.graphics.drawable.Drawable): void;
}
export module ActionBar {
export class LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
public static class: java.lang.Class<android.app.ActionBar.LayoutParams>;
public gravity: number;
public constructor(source: android.app.ActionBar.LayoutParams);
public constructor(gravity: number);
public constructor(c: android.content.Context, attrs: android.util.AttributeSet);
public constructor(width: number, height: number);
public constructor(source: android.view.ViewGroup.LayoutParams);
public constructor(source: android.view.ViewGroup.MarginLayoutParams);
public constructor(width: number, height: number, gravity: number);
}
export class OnMenuVisibilityListener extends java.lang.Object {
public static class: java.lang.Class<android.app.ActionBar.OnMenuVisibilityListener>;
/**
* Constructs a new instance of the android.app.ActionBar$OnMenuVisibilityListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onMenuVisibilityChanged(boolean0: boolean): void;
});
public constructor();
public onMenuVisibilityChanged(boolean0: boolean): void;
}
export class OnNavigationListener extends java.lang.Object {
public static class: java.lang.Class<android.app.ActionBar.OnNavigationListener>;
/**
* Constructs a new instance of the android.app.ActionBar$OnNavigationListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onNavigationItemSelected(int0: number, long1: number): boolean;
});
public constructor();
/** @deprecated */
public onNavigationItemSelected(int0: number, long1: number): boolean;
}
export abstract class Tab extends java.lang.Object {
public static class: java.lang.Class<android.app.ActionBar.Tab>;
public static INVALID_POSITION: number;
/** @deprecated */
public setText(charSequence0: string): android.app.ActionBar.Tab;
/** @deprecated */
public getContentDescription(): string;
/** @deprecated */
public setContentDescription(int0: number): android.app.ActionBar.Tab;
/** @deprecated */
public getText(): string;
/** @deprecated */
public setIcon(int0: number): android.app.ActionBar.Tab;
/** @deprecated */
public getPosition(): number;
/** @deprecated */
public setTag(object0: any): android.app.ActionBar.Tab;
/** @deprecated */
public setContentDescription(charSequence0: string): android.app.ActionBar.Tab;
/** @deprecated */
public setCustomView(int0: number): android.app.ActionBar.Tab;
/** @deprecated */
public setCustomView(view0: android.view.View): android.app.ActionBar.Tab;
/** @deprecated */
public constructor();
/** @deprecated */
public setIcon(drawable0: android.graphics.drawable.Drawable): android.app.ActionBar.Tab;
/** @deprecated */
public getIcon(): android.graphics.drawable.Drawable;
/** @deprecated */
public setText(int0: number): android.app.ActionBar.Tab;
/** @deprecated */
public getTag(): any;
/** @deprecated */
public getCustomView(): android.view.View;
/** @deprecated */
public select(): void;
/** @deprecated */
public setTabListener(tabListener0: android.app.ActionBar.TabListener): android.app.ActionBar.Tab;
}
export class TabListener extends java.lang.Object {
public static class: java.lang.Class<android.app.ActionBar.TabListener>;
/**
* Constructs a new instance of the android.app.ActionBar$TabListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onTabSelected(tab0: android.app.ActionBar.Tab, fragmentTransaction1: android.app.FragmentTransaction): void;
onTabUnselected(tab0: android.app.ActionBar.Tab, fragmentTransaction1: android.app.FragmentTransaction): void;
onTabReselected(tab0: android.app.ActionBar.Tab, fragmentTransaction1: android.app.FragmentTransaction): void;
});
public constructor();
/** @deprecated */
public onTabSelected(tab0: android.app.ActionBar.Tab, fragmentTransaction1: android.app.FragmentTransaction): void;
/** @deprecated */
public onTabReselected(tab0: android.app.ActionBar.Tab, fragmentTransaction1: android.app.FragmentTransaction): void;
/** @deprecated */
public onTabUnselected(tab0: android.app.ActionBar.Tab, fragmentTransaction1: android.app.FragmentTransaction): void;
}
}
}
}
declare module android {
export module app {
export class Activity extends android.view.ContextThemeWrapper implements android.view.LayoutInflater.Factory2, android.view.Window.Callback, android.view.KeyEvent.Callback, android.view.View.OnCreateContextMenuListener, android.content.ComponentCallbacks2 {
public static class: java.lang.Class<android.app.Activity>;
public static DEFAULT_KEYS_DIALER: number;
public static DEFAULT_KEYS_DISABLE: number;
public static DEFAULT_KEYS_SEARCH_GLOBAL: number;
public static DEFAULT_KEYS_SEARCH_LOCAL: number;
public static DEFAULT_KEYS_SHORTCUT: number;
public static FOCUSED_STATE_SET: native.Array<number>;
public static RESULT_CANCELED: number;
public static RESULT_FIRST_USER: number;
public static RESULT_OK: number;
public finish(): void;
public onPictureInPictureModeChanged(isInPictureInPictureMode: boolean, newConfig: android.content.res.Configuration): void;
public startSearch(initialQuery: string, selectInitialQuery: boolean, appSearchData: android.os.Bundle, globalSearch: boolean): void;
public isTaskRoot(): boolean;
public getLayoutInflater(): android.view.LayoutInflater;
public getApplication(): android.app.Application;
public moveTaskToBack(nonRoot: boolean): boolean;
public requestWindowFeature(featureId: number): boolean;
public getCallingPackage(): string;
public isChangingConfigurations(): boolean;
public onProvideAssistContent(outContent: android.app.assist.AssistContent): void;
public createPendingResult(requestCode: number, data: android.content.Intent, flags: number): android.app.PendingIntent;
/** @deprecated */
public setProgressBarIndeterminateVisibility(visible: boolean): void;
public onKeyShortcut(keyCode: number, event: android.view.KeyEvent): boolean;
public setFeatureDrawableAlpha(featureId: number, alpha: number): void;
public onCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onPrepareNavigateUpTaskStack(builder: android.app.TaskStackBuilder): void;
public setInheritShowWhenLocked(inheritShowWhenLocked: boolean): void;
public onApplyThemeResource(theme: android.content.res.Resources.Theme, resid: number, first: boolean): void;
public getMaxNumPictureInPictureActions(): number;
public onPostResume(): void;
public isInPictureInPictureMode(): boolean;
public onPostCreate(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onCreateDialog(id: number): android.app.Dialog;
public finishAffinity(): void;
public onTrimMemory(level: number): void;
public getLocalClassName(): string;
public startActivityFromChild(child: android.app.Activity, intent: android.content.Intent, requestCode: number): void;
public startIntentSenderFromChild(child: android.app.Activity, intent: android.content.IntentSender, requestCode: number, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number): void;
public setFeatureDrawableResource(featureId: number, resId: number): void;
public enterPictureInPictureMode(params: android.app.PictureInPictureParams): boolean;
public isDestroyed(): boolean;
/** @deprecated */
public setProgressBarVisibility(visible: boolean): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public isActivityTransitionRunning(): boolean;
public startLocalVoiceInteraction(privateOptions: android.os.Bundle): void;
public onDestroy(): void;
public reportFullyDrawn(): void;
public getLastNonConfigurationInstance(): any;
public getParentActivityIntent(): android.content.Intent;
/** @deprecated */
public getLoaderManager(): android.app.LoaderManager;
public onLowMemory(): void;
public getActionBar(): android.app.ActionBar;
public openOptionsMenu(): void;
public startActivityForResult(intent: android.content.Intent, requestCode: number): void;
public registerActivityLifecycleCallbacks(callback: android.app.Application.ActivityLifecycleCallbacks): void;
public setContentView(view: android.view.View): void;
/** @deprecated */
public onPrepareDialog(id: number, dialog: android.app.Dialog, bundle2: android.os.Bundle): void;
public startActivityIfNeeded(intent: android.content.Intent, requestCode: number): boolean;
public setPictureInPictureParams(params: android.app.PictureInPictureParams): void;
public showLockTaskEscapeMessage(): void;
public onWindowFocusChanged(hasFocus: boolean): void;
public onCreateOptionsMenu(menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onOptionsMenuClosed(menu: android.view.Menu): void;
public setRequestedOrientation(requestedOrientation: number): void;
public onPostCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public navigateUpToFromChild(child: android.app.Activity, upIntent: android.content.Intent): boolean;
public setTitle(titleId: number): void;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public setEnterSharedElementCallback(callback: any): void;
public getMediaController(): any;
public onApplyThemeResource(theme: android.content.res.Resources.Theme, resId: number, first: boolean): void;
/** @deprecated */
public onCreateThumbnail(outBitmap: android.graphics.Bitmap, canvas: android.graphics.Canvas): boolean;
public startActivityFromChild(child: android.app.Activity, intent: android.content.Intent, requestCode: number, options: android.os.Bundle): void;
public getReferrer(): android.net.Uri;
public isFinishing(): boolean;
public getVoiceInteractor(): android.app.VoiceInteractor;
public requestDragAndDropPermissions(event: android.view.DragEvent): android.view.DragAndDropPermissions;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public startIntentSender(intent: android.content.IntentSender, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number, options: android.os.Bundle): void;
/** @deprecated */
public setTitleColor(textColor: number): void;
/** @deprecated */
public showDialog(id: number, bundle1: android.os.Bundle): boolean;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public getCallingActivity(): android.content.ComponentName;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public isChild(): boolean;
public onSearchRequested(): boolean;
public setDefaultKeyMode(mode: number): void;
public startIntentSender(intent: android.content.IntentSender, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number): void;
public triggerSearch(query: string, appSearchData: android.os.Bundle): void;
public requestPermissions(permissions: native.Array<string>, requestCode: number): void;
public startActivity(intent: android.content.Intent): void;
public getPreferences(mode: number): android.content.SharedPreferences;
public getTitle(): string;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public onTopResumedActivityChanged(isTopResumedActivity: boolean): void;
public getSearchEvent(): any;
public getVolumeControlStream(): number;
public getParent(): android.app.Activity;
public onNewIntent(intent: android.content.Intent): void;
public setTitle(title: string): void;
public onGetDirectActions(cancellationSignal: android.os.CancellationSignal, callback: any /* any*/): void;
public startActivityForResult(intent: android.content.Intent, requestCode: number, options: android.os.Bundle): void;
public getCurrentFocus(): android.view.View;
/** @deprecated */
public startActivityFromFragment(fragment: android.app.Fragment, intent: android.content.Intent, requestCode: number, options: android.os.Bundle): void;
/** @deprecated */
public setSecondaryProgress(secondaryProgress: number): void;
public showAssist(bundle0: android.os.Bundle): boolean;
/** @deprecated */
public dismissDialog(id: number): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public setMediaController(controller: any): void;
/** @deprecated */
public onAttachFragment(fragment: android.app.Fragment): void;
public onUserInteraction(): void;
public getIntent(): android.content.Intent;
public postponeEnterTransition(): void;
public closeContextMenu(): void;
public getSystemService(name: string): any;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
/** @deprecated */
public startManagingCursor(c: android.database.Cursor): void;
public attachBaseContext(newBase: android.content.Context): void;
public finishAndRemoveTask(): void;
public getWindowManager(): android.view.WindowManager;
public onCreateNavigateUpTaskStack(builder: android.app.TaskStackBuilder): void;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public onPause(): void;
public setResult(resultCode: number): void;
public onTrackballEvent(event: android.view.MotionEvent): boolean;
public onStop(): void;
/** @deprecated */
public enterPictureInPictureMode(): void;
public setTheme(resid: number): void;
public finishActivityFromChild(child: android.app.Activity, requestCode: number): void;
public setShowWhenLocked(showWhenLocked: boolean): void;
public setTheme(theme: android.content.res.Resources.Theme): void;
public shouldShowRequestPermissionRationale(permission: string): boolean;
public runOnUiThread(action: java.lang.Runnable): void;
public finishAfterTransition(): void;
/** @deprecated */
public showDialog(id: number): void;
public setContentView(layoutResID: number): void;
public onContextItemSelected(item: android.view.MenuItem): boolean;
/** @deprecated */
public onPrepareDialog(id: number, dialog: android.app.Dialog): void;
public setFinishOnTouchOutside(finish: boolean): void;
public onPointerCaptureChanged(hasCapture: boolean): void;
public onLocalVoiceInteractionStarted(): void;
public shouldUpRecreateTask(targetIntent: android.content.Intent): boolean;
public setTurnScreenOn(turnScreenOn: boolean): void;
public onActivityReenter(resultCode: number, data: android.content.Intent): void;
public requestShowKeyboardShortcuts(): void;
public startActivities(intents: native.Array<android.content.Intent>): void;
public releaseInstance(): boolean;
public startLockTask(): void;
public isLocalVoiceInteractionSupported(): boolean;
public getSystemService(serviceClass: java.lang.Class<any>): any;
public onStart(): void;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onActivityResult(requestCode: number, resultCode: number, data: android.content.Intent): void;
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public getComponentName(): android.content.ComponentName;
/** @deprecated */
public requestVisibleBehind(visible: boolean): boolean;
public startActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
/** @deprecated */
public stopManagingCursor(c: android.database.Cursor): void;
public startPostponedEnterTransition(): void;
public setVrModeEnabled(enabled: boolean, requestedComponent: android.content.ComponentName): void;
public onDetachedFromWindow(): void;
public startActivities(intents: native.Array<android.content.Intent>, options: android.os.Bundle): void;
/** @deprecated */
public onVisibleBehindCanceled(): void;
public setResult(resultCode: number, data: android.content.Intent): void;
public constructor();
/** @deprecated */
public onMultiWindowModeChanged(isInMultiWindowMode: boolean): void;
public setContentView(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public setVisible(visible: boolean): void;
public onMultiWindowModeChanged(isInMultiWindowMode: boolean, newConfig: android.content.res.Configuration): void;
public onNavigateUp(): boolean;
public closeOptionsMenu(): void;
/** @deprecated */
public startActivityFromFragment(fragment: android.app.Fragment, intent: android.content.Intent, requestCode: number): void;
public navigateUpTo(upIntent: android.content.Intent): boolean;
public setVolumeControlStream(streamType: number): void;
public getRequestedOrientation(): number;
public onNavigateUpFromChild(child: android.app.Activity): boolean;
public onSearchRequested(searchEvent: any): boolean;
public onCreate(savedInstanceState: android.os.Bundle): void;
public onPrepareOptionsMenu(menu: android.view.Menu): boolean;
/** @deprecated */
public removeDialog(id: number): void;
public onRetainNonConfigurationInstance(): any;
public requireViewById(id: number): android.view.View;
public setFeatureDrawable(featureId: number, drawable: android.graphics.drawable.Drawable): void;
public getMenuInflater(): android.view.MenuInflater;
public registerForContextMenu(view: android.view.View): void;
public onContextMenuClosed(menu: android.view.Menu): void;
public unregisterForContextMenu(view: android.view.View): void;
public onBackPressed(): void;
public startActivity(intent: android.content.Intent, options: android.os.Bundle): void;
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public startNextMatchingActivity(intent: android.content.Intent, options: android.os.Bundle): boolean;
public onRestart(): void;
public getTaskId(): number;
public setActionBar(toolbar: android.widget.Toolbar): void;
public onCreateDescription(): string;
public setTaskDescription(taskDescription: android.app.ActivityManager.TaskDescription): void;
public onProvideAssistData(data: android.os.Bundle): void;
public onProvideReferrer(): android.net.Uri;
public getChangingConfigurations(): number;
public startActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public setContentTransitionManager(tm: android.transition.TransitionManager): void;
public onLocalVoiceInteractionStopped(): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onEnterAnimationComplete(): void;
public setExitSharedElementCallback(callback: any): void;
public startIntentSenderForResult(intent: android.content.IntentSender, requestCode: number, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number, options: android.os.Bundle): void;
/** @deprecated */
public setProgressBarIndeterminate(indeterminate: boolean): void;
public setImmersive(i: boolean): void;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle): void;
public onTouchEvent(event: android.view.MotionEvent): boolean;
public takeKeyEvents(get: boolean): void;
public dismissKeyboardShortcutsHelper(): void;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public findViewById(id: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
/** @deprecated */
public setProgress(progress: number): void;
public getTitleColor(): number;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public constructor(base: android.content.Context, themeResId: number);
public onRequestPermissionsResult(requestCode: number, permissions: native.Array<string>, grantResults: native.Array<number>): void;
/** @deprecated */
public onStateNotSaved(): void;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
/** @deprecated */
public onCreateDialog(id: number, bundle1: android.os.Bundle): android.app.Dialog;
public isImmersive(): boolean;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public isVoiceInteractionRoot(): boolean;
public getWindow(): android.view.Window;
public stopLocalVoiceInteraction(): void;
public onResume(): void;
/** @deprecated */
public onPictureInPictureModeChanged(isInPictureInPictureMode: boolean): void;
public startIntentSenderFromChild(child: android.app.Activity, intent: android.content.IntentSender, requestCode: number, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number, options: android.os.Bundle): void;
public finishFromChild(child: android.app.Activity): void;
public isVoiceInteraction(): boolean;
public dump(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
public hasWindowFocus(): boolean;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public isInMultiWindowMode(): boolean;
public onContentChanged(): void;
public invalidateOptionsMenu(): void;
public onTitleChanged(title: string, color: number): void;
public onPerformDirectAction(actionId: string, bundle1: android.os.Bundle, cancellationSignal: android.os.CancellationSignal, resultListener: any /* any*/): void;
/** @deprecated */
public getFragmentManager(): android.app.FragmentManager;
public onSaveInstanceState(outState: android.os.Bundle): void;
public startIntentSenderForResult(intent: android.content.IntentSender, requestCode: number, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number): void;
public unregisterActivityLifecycleCallbacks(callback: android.app.Application.ActivityLifecycleCallbacks): void;
public getContentScene(): android.transition.Scene;
public startNextMatchingActivity(intent: android.content.Intent): boolean;
public setIntent(newIntent: android.content.Intent): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onChildTitleChanged(childActivity: android.app.Activity, title: string): void;
public onSaveInstanceState(outState: android.os.Bundle, outPersistentState: any): void;
public recreate(): void;
public onOptionsItemSelected(item: android.view.MenuItem): boolean;
public setFeatureDrawableUri(featureId: number, uri: android.net.Uri): void;
public openContextMenu(view: android.view.View): void;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle, persistentState: any): void;
public getContentTransitionManager(): android.transition.TransitionManager;
public overridePendingTransition(enterAnim: number, exitAnim: number): void;
public finishActivity(requestCode: number): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public onUserLeaveHint(): void;
public onGenericMotionEvent(event: android.view.MotionEvent): boolean;
public stopLockTask(): void;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
/** @deprecated */
public managedQuery(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string): android.database.Cursor;
public addContentView(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public startActivityIfNeeded(intent: android.content.Intent, requestCode: number, options: android.os.Bundle): boolean;
}
}
}
declare module android {
export module app {
export class ActivityGroup extends android.app.Activity {
public static class: java.lang.Class<android.app.ActivityGroup>;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
/** @deprecated */
public onPause(): void;
/** @deprecated */
public onStop(): void;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
/** @deprecated */
public onDestroy(): void;
/** @deprecated */
public constructor(singleActivityMode: boolean);
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
/** @deprecated */
public constructor();
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public onCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onDetachedFromWindow(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public onResume(): void;
public constructor();
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
public onCreate(savedInstanceState: android.os.Bundle): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onDestroy(): void;
public onSaveInstanceState(outState: android.os.Bundle): void;
/** @deprecated */
public onSaveInstanceState(outState: android.os.Bundle): void;
/** @deprecated */
public getCurrentActivity(): android.app.Activity;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public onPause(): void;
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onStop(): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onSaveInstanceState(outState: android.os.Bundle, outPersistentState: any): void;
/** @deprecated */
public onCreate(savedInstanceState: android.os.Bundle): void;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
/** @deprecated */
public getLocalActivityManager(): android.app.LocalActivityManager;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
/** @deprecated */
public onResume(): void;
}
}
}
declare module android {
export module app {
export class ActivityManager extends java.lang.Object {
public static class: java.lang.Class<android.app.ActivityManager>;
public static ACTION_REPORT_HEAP_LIMIT: string;
public static LOCK_TASK_MODE_LOCKED: number;
public static LOCK_TASK_MODE_NONE: number;
public static LOCK_TASK_MODE_PINNED: number;
public static META_HOME_ALTERNATE: string;
public static MOVE_TASK_NO_USER_ACTION: number;
public static MOVE_TASK_WITH_HOME: number;
public static RECENT_IGNORE_UNAVAILABLE: number;
public static RECENT_WITH_EXCLUDED: number;
public addAppTask(activity: android.app.Activity, intent: android.content.Intent, description: android.app.ActivityManager.TaskDescription, thumbnail: android.graphics.Bitmap): number;
public clearApplicationUserData(): boolean;
/** @deprecated */
public restartPackage(packageName: string): void;
public getMemoryClass(): number;
public moveTaskToFront(taskId: number, flags: number, options: android.os.Bundle): void;
/** @deprecated */
public getRecentTasks(maxNum: number, flags: number): java.util.List<android.app.ActivityManager.RecentTaskInfo>;
public getRunningServiceControlPanel(service: android.content.ComponentName): android.app.PendingIntent;
public moveTaskToFront(taskId: number, flags: number): void;
public dumpPackageState(fd: java.io.FileDescriptor, packageName: string): void;
public setWatchHeapLimit(pssSize: number): void;
/** @deprecated */
public getRunningServices(maxNum: number): java.util.List<android.app.ActivityManager.RunningServiceInfo>;
public getProcessMemoryInfo(pids: native.Array<number>): native.Array<android.os.Debug.MemoryInfo>;
public getAppTaskThumbnailSize(): any;
/** @deprecated */
public getRunningTasks(maxNum: number): java.util.List<android.app.ActivityManager.RunningTaskInfo>;
public isBackgroundRestricted(): boolean;
public clearWatchHeapLimit(): void;
public killBackgroundProcesses(packageName: string): void;
public getAppTasks(): java.util.List<android.app.ActivityManager.AppTask>;
public getLargeMemoryClass(): number;
public getRunningAppProcesses(): java.util.List<android.app.ActivityManager.RunningAppProcessInfo>;
public getLauncherLargeIconDensity(): number;
/** @deprecated */
public isInLockTaskMode(): boolean;
public static isRunningInUserTestHarness(): boolean;
public static setVrThread(tid: number): void;
public getProcessesInErrorState(): java.util.List<android.app.ActivityManager.ProcessErrorStateInfo>;
public static isUserAMonkey(): boolean;
public getMemoryInfo(outInfo: android.app.ActivityManager.MemoryInfo): void;
public getLockTaskModeState(): number;
public isActivityStartAllowedOnDisplay(context: android.content.Context, displayId: number, intent: android.content.Intent): boolean;
/** @deprecated */
public static isRunningInTestHarness(): boolean;
public isLowRamDevice(): boolean;
public static getMyMemoryState(outState: android.app.ActivityManager.RunningAppProcessInfo): void;
public getLauncherLargeIconSize(): number;
public getDeviceConfigurationInfo(): android.content.pm.ConfigurationInfo;
}
export module ActivityManager {
export class AppTask extends java.lang.Object {
public static class: java.lang.Class<android.app.ActivityManager.AppTask>;
public startActivity(context: android.content.Context, intent: android.content.Intent, options: android.os.Bundle): void;
public finishAndRemoveTask(): void;
public moveToFront(): void;
public getTaskInfo(): android.app.ActivityManager.RecentTaskInfo;
public setExcludeFromRecents(exclude: boolean): void;
}
export class MemoryInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ActivityManager.MemoryInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.ActivityManager.MemoryInfo>;
public availMem: number;
public lowMemory: boolean;
public threshold: number;
public totalMem: number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public readFromParcel(source: android.os.Parcel): void;
public describeContents(): number;
public constructor();
}
export class ProcessErrorStateInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ActivityManager.ProcessErrorStateInfo>;
public static CRASHED: number;
public static CREATOR: android.os.Parcelable.Creator<android.app.ActivityManager.ProcessErrorStateInfo>;
public static NOT_RESPONDING: number;
public static NO_ERROR: number;
public condition: number;
public crashData: native.Array<number>;
public longMsg: string;
public pid: number;
public processName: string;
public shortMsg: string;
public stackTrace: string;
public tag: string;
public uid: number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public readFromParcel(source: android.os.Parcel): void;
public describeContents(): number;
public constructor();
}
export class RecentTaskInfo extends android.app.TaskInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ActivityManager.RecentTaskInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.ActivityManager.RecentTaskInfo>;
public affiliatedTaskId: number;
public description: string;
public id: number;
public persistentId: number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public readFromParcel(source: android.os.Parcel): void;
public describeContents(): number;
public constructor();
}
export class RunningAppProcessInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ActivityManager.RunningAppProcessInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.ActivityManager.RunningAppProcessInfo>;
public static IMPORTANCE_BACKGROUND: number;
public static IMPORTANCE_CACHED: number;
public static IMPORTANCE_CANT_SAVE_STATE: number;
public static IMPORTANCE_EMPTY: number;
public static IMPORTANCE_FOREGROUND: number;
public static IMPORTANCE_FOREGROUND_SERVICE: number;
public static IMPORTANCE_GONE: number;
public static IMPORTANCE_PERCEPTIBLE: number;
public static IMPORTANCE_PERCEPTIBLE_PRE_26: number;
public static IMPORTANCE_SERVICE: number;
public static IMPORTANCE_TOP_SLEEPING: number;
public static IMPORTANCE_TOP_SLEEPING_PRE_28: number;
public static IMPORTANCE_VISIBLE: number;
public static REASON_PROVIDER_IN_USE: number;
public static REASON_SERVICE_IN_USE: number;
public static REASON_UNKNOWN: number;
public importance: number;
public importanceReasonCode: number;
public importanceReasonComponent: android.content.ComponentName;
public importanceReasonPid: number;
public lastTrimLevel: number;
public lru: number;
public pid: number;
public pkgList: native.Array<string>;
public processName: string;
public uid: number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(pProcessName: string, pPid: number, pArr: native.Array<string>);
public readFromParcel(source: android.os.Parcel): void;
public describeContents(): number;
public constructor();
}
export class RunningServiceInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ActivityManager.RunningServiceInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.ActivityManager.RunningServiceInfo>;
public static FLAG_FOREGROUND: number;
public static FLAG_PERSISTENT_PROCESS: number;
public static FLAG_STARTED: number;
public static FLAG_SYSTEM_PROCESS: number;
public activeSince: number;
public clientCount: number;
public clientLabel: number;
public clientPackage: string;
public crashCount: number;
public flags: number;
public foreground: boolean;
public lastActivityTime: number;
public pid: number;
public process: string;
public restarting: number;
public service: android.content.ComponentName;
public started: boolean;
public uid: number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public readFromParcel(source: android.os.Parcel): void;
public describeContents(): number;
public constructor();
}
export class RunningTaskInfo extends android.app.TaskInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ActivityManager.RunningTaskInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.ActivityManager.RunningTaskInfo>;
public description: string;
public id: number;
public numRunning: number;
public thumbnail: android.graphics.Bitmap;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public readFromParcel(source: android.os.Parcel): void;
public describeContents(): number;
public constructor();
}
export class TaskDescription extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ActivityManager.TaskDescription>;
public static CREATOR: android.os.Parcelable.Creator<android.app.ActivityManager.TaskDescription>;
/** @deprecated */
public constructor(label: string, icon: android.graphics.Bitmap);
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getLabel(): string;
public readFromParcel(source: android.os.Parcel): void;
/** @deprecated */
public constructor(label: string, icon: android.graphics.Bitmap, colorPrimary: number);
public constructor(label: string);
public getPrimaryColor(): number;
public toString(): string;
public constructor(label: string, iconRes: number, colorPrimary: number);
public getIcon(): android.graphics.Bitmap;
public constructor();
public constructor(label: string, iconRes: number);
public describeContents(): number;
public constructor(td: android.app.ActivityManager.TaskDescription);
}
}
}
}
declare module android {
export module app {
export class ActivityOptions extends java.lang.Object {
public static class: java.lang.Class<android.app.ActivityOptions>;
public static EXTRA_USAGE_TIME_REPORT: string;
public static EXTRA_USAGE_TIME_REPORT_PACKAGES: string;
public update(otherOptions: android.app.ActivityOptions): void;
public requestUsageTimeReport(receiver: android.app.PendingIntent): void;
public static makeSceneTransitionAnimation(activity: android.app.Activity, sharedElements: native.Array<android.util.Pair<android.view.View,string>>): android.app.ActivityOptions;
public getLaunchDisplayId(): number;
public setAppVerificationBundle(bundle: android.os.Bundle): android.app.ActivityOptions;
public setLaunchDisplayId(launchDisplayId: number): android.app.ActivityOptions;
public static makeCustomAnimation(context: android.content.Context, enterResId: number, exitResId: number): android.app.ActivityOptions;
public static makeSceneTransitionAnimation(activity: android.app.Activity, sharedElement: android.view.View, sharedElementName: string): android.app.ActivityOptions;
public setLockTaskEnabled(lockTaskMode: boolean): android.app.ActivityOptions;
public static makeTaskLaunchBehind(): android.app.ActivityOptions;
public static makeBasic(): android.app.ActivityOptions;
public setLaunchBounds(screenSpacePixelRect: android.graphics.Rect): android.app.ActivityOptions;
public toString(): string;
public getLaunchBounds(): android.graphics.Rect;
public static makeScaleUpAnimation(source: android.view.View, startX: number, startY: number, width: number, height: number): android.app.ActivityOptions;
public static makeClipRevealAnimation(source: android.view.View, startX: number, startY: number, width: number, height: number): android.app.ActivityOptions;
public getLockTaskMode(): boolean;
public toBundle(): android.os.Bundle;
public static makeThumbnailScaleUpAnimation(source: android.view.View, thumbnail: android.graphics.Bitmap, startX: number, startY: number): android.app.ActivityOptions;
}
}
}
declare module android {
export module app {
export class AlarmManager extends java.lang.Object {
public static class: java.lang.Class<android.app.AlarmManager>;
public static ACTION_NEXT_ALARM_CLOCK_CHANGED: string;
public static ELAPSED_REALTIME: number;
public static ELAPSED_REALTIME_WAKEUP: number;
public static INTERVAL_DAY: number;
public static INTERVAL_FIFTEEN_MINUTES: number;
public static INTERVAL_HALF_DAY: number;
public static INTERVAL_HALF_HOUR: number;
public static INTERVAL_HOUR: number;
public static RTC: number;
public static RTC_WAKEUP: number;
public set(type: number, triggerAtMillis: number, tag: string, listener: android.app.AlarmManager.OnAlarmListener, targetHandler: android.os.Handler): void;
public setWindow(type: number, windowStartMillis: number, windowLengthMillis: number, tag: string, listener: android.app.AlarmManager.OnAlarmListener, targetHandler: android.os.Handler): void;
public setTime(millis: number): void;
public set(type: number, triggerAtMillis: number, operation: android.app.PendingIntent): void;
public setWindow(type: number, windowStartMillis: number, windowLengthMillis: number, operation: android.app.PendingIntent): void;
public setAndAllowWhileIdle(type: number, triggerAtMillis: number, operation: android.app.PendingIntent): void;
public setInexactRepeating(type: number, triggerAtMillis: number, intervalMillis: number, operation: android.app.PendingIntent): void;
public cancel(listener: android.app.AlarmManager.OnAlarmListener): void;
public setAlarmClock(info: android.app.AlarmManager.AlarmClockInfo, operation: android.app.PendingIntent): void;
public setExactAndAllowWhileIdle(type: number, triggerAtMillis: number, operation: android.app.PendingIntent): void;
public setRepeating(type: number, triggerAtMillis: number, intervalMillis: number, operation: android.app.PendingIntent): void;
public cancel(operation: android.app.PendingIntent): void;
public setExact(type: number, triggerAtMillis: number, tag: string, listener: android.app.AlarmManager.OnAlarmListener, targetHandler: android.os.Handler): void;
public setTimeZone(timeZone: string): void;
public getNextAlarmClock(): android.app.AlarmManager.AlarmClockInfo;
public setExact(type: number, triggerAtMillis: number, operation: android.app.PendingIntent): void;
}
export module AlarmManager {
export class AlarmClockInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.AlarmManager.AlarmClockInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.AlarmManager.AlarmClockInfo>;
public getTriggerTime(): number;
public getShowIntent(): android.app.PendingIntent;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public constructor(triggerTime: number, showIntent: android.app.PendingIntent);
}
export class OnAlarmListener extends java.lang.Object {
public static class: java.lang.Class<android.app.AlarmManager.OnAlarmListener>;
/**
* Constructs a new instance of the android.app.AlarmManager$OnAlarmListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onAlarm(): void;
});
public constructor();
public onAlarm(): void;
}
}
}
}
declare module android {
export module app {
export class AlertDialog extends android.app.Dialog implements android.content.DialogInterface {
public static class: java.lang.Class<android.app.AlertDialog>;
public static THEME_DEVICE_DEFAULT_DARK: number;
public static THEME_DEVICE_DEFAULT_LIGHT: number;
public static THEME_HOLO_DARK: number;
public static THEME_HOLO_LIGHT: number;
public static THEME_TRADITIONAL: number;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public cancel(): void;
public getButton(whichButton: number): android.widget.Button;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(context: android.content.Context);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
/** @deprecated */
public setButton2(text: string, msg: android.os.Message): void;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public setMessage(message: string): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onDetachedFromWindow(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public setTitle(title: string): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public setCustomTitle(customTitleView: android.view.View): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
/** @deprecated */
public setButton(text: string, msg: android.os.Message): void;
public onContentChanged(): void;
public setButton(whichButton: number, text: string, listener: android.content.DialogInterface.OnClickListener): void;
public setIcon(resId: number): void;
/** @deprecated */
public setButton(text: string, listener: android.content.DialogInterface.OnClickListener): void;
public onCreate(savedInstanceState: android.os.Bundle): void;
public setButton(whichButton: number, text: string, msg: android.os.Message): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
/** @deprecated */
public setButton3(text: string, msg: android.os.Message): void;
/** @deprecated */
public setButton2(text: string, listener: android.content.DialogInterface.OnClickListener): void;
/** @deprecated */
public setButton3(text: string, listener: android.content.DialogInterface.OnClickListener): void;
public constructor(context: android.content.Context, cancelable: boolean, cancelListener: android.content.DialogInterface.OnCancelListener);
public setView(view: android.view.View): void;
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dismiss(): void;
public setTitle(titleId: number): void;
public setInverseBackgroundForced(forceInverseBackground: boolean): void;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public setIcon(icon: android.graphics.drawable.Drawable): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, themeResId: number);
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public setIconAttribute(attrId: number): void;
public getListView(): android.widget.ListView;
public onAttachedToWindow(): void;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public setView(view: android.view.View, viewSpacingLeft: number, viewSpacingTop: number, viewSpacingRight: number, viewSpacingBottom: number): void;
}
export module AlertDialog {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.AlertDialog.Builder>;
/** @deprecated */
public setInverseBackgroundForced(useInverseBackground: boolean): android.app.AlertDialog.Builder;
public setIcon(iconId: number): android.app.AlertDialog.Builder;
public setPositiveButton(text: string, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setAdapter(adapter: android.widget.ListAdapter, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setView(view: android.view.View): android.app.AlertDialog.Builder;
public setOnItemSelectedListener(listener: android.widget.AdapterView.OnItemSelectedListener): android.app.AlertDialog.Builder;
public setMultiChoiceItems(cursor: android.database.Cursor, isCheckedColumn: string, labelColumn: string, listener: android.content.DialogInterface.OnMultiChoiceClickListener): android.app.AlertDialog.Builder;
public setOnCancelListener(onCancelListener: android.content.DialogInterface.OnCancelListener): android.app.AlertDialog.Builder;
public show(): android.app.AlertDialog;
public setNegativeButton(text: string, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setCursor(cursor: android.database.Cursor, listener: android.content.DialogInterface.OnClickListener, labelColumn: string): android.app.AlertDialog.Builder;
public create(): android.app.AlertDialog;
public setNeutralButton(textId: number, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setItems(items: native.Array<string>, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setSingleChoiceItems(itemsId: number, checkedItem: number, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setTitle(title: string): android.app.AlertDialog.Builder;
public setIconAttribute(attrId: number): android.app.AlertDialog.Builder;
public setSingleChoiceItems(items: native.Array<string>, checkedItem: number, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setMessage(messageId: number): android.app.AlertDialog.Builder;
public setOnDismissListener(onDismissListener: android.content.DialogInterface.OnDismissListener): android.app.AlertDialog.Builder;
public setOnKeyListener(onKeyListener: android.content.DialogInterface.OnKeyListener): android.app.AlertDialog.Builder;
public constructor(context: android.content.Context);
public setCustomTitle(customTitleView: android.view.View): android.app.AlertDialog.Builder;
public setItems(itemsId: number, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public constructor(context: android.content.Context, themeResId: number);
public setPositiveButton(textId: number, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setIcon(icon: android.graphics.drawable.Drawable): android.app.AlertDialog.Builder;
public setMultiChoiceItems(itemsId: number, checkedItems: native.Array<boolean>, listener: android.content.DialogInterface.OnMultiChoiceClickListener): android.app.AlertDialog.Builder;
public setSingleChoiceItems(adapter: android.widget.ListAdapter, checkedItem: number, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setMessage(message: string): android.app.AlertDialog.Builder;
public setSingleChoiceItems(cursor: android.database.Cursor, checkedItem: number, labelColumn: string, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setCancelable(cancelable: boolean): android.app.AlertDialog.Builder;
public setView(layoutResId: number): android.app.AlertDialog.Builder;
public getContext(): android.content.Context;
public setTitle(titleId: number): android.app.AlertDialog.Builder;
public setNegativeButton(textId: number, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setNeutralButton(text: string, listener: android.content.DialogInterface.OnClickListener): android.app.AlertDialog.Builder;
public setMultiChoiceItems(items: native.Array<string>, checkedItems: native.Array<boolean>, listener: android.content.DialogInterface.OnMultiChoiceClickListener): android.app.AlertDialog.Builder;
}
}
}
}
declare module android {
export module app {
export class AliasActivity extends android.app.Activity {
public static class: java.lang.Class<android.app.AliasActivity>;
public onCreate(savedInstanceState: android.os.Bundle): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onDetachedFromWindow(): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public constructor();
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
}
}
}
declare module android {
export module app {
export class AppComponentFactory extends java.lang.Object {
public static class: java.lang.Class<android.app.AppComponentFactory>;
public instantiateActivity(cl: java.lang.ClassLoader, className: string, intent: android.content.Intent): android.app.Activity;
public instantiateReceiver(cl: java.lang.ClassLoader, className: string, intent: android.content.Intent): android.content.BroadcastReceiver;
public instantiateApplication(cl: java.lang.ClassLoader, className: string): android.app.Application;
public instantiateClassLoader(cl: java.lang.ClassLoader, aInfo: android.content.pm.ApplicationInfo): java.lang.ClassLoader;
public instantiateProvider(cl: java.lang.ClassLoader, className: string): android.content.ContentProvider;
public instantiateService(cl: java.lang.ClassLoader, className: string, intent: android.content.Intent): android.app.Service;
public constructor();
}
}
}
declare module android {
export module app {
export class AppOpsManager extends java.lang.Object {
public static class: java.lang.Class<android.app.AppOpsManager>;
public static MODE_ALLOWED: number;
public static MODE_DEFAULT: number;
public static MODE_ERRORED: number;
public static MODE_FOREGROUND: number;
public static MODE_IGNORED: number;
public static OPSTR_ADD_VOICEMAIL: string;
public static OPSTR_ANSWER_PHONE_CALLS: string;
public static OPSTR_BODY_SENSORS: string;
public static OPSTR_CALL_PHONE: string;
public static OPSTR_CAMERA: string;
public static OPSTR_COARSE_LOCATION: string;
public static OPSTR_FINE_LOCATION: string;
public static OPSTR_GET_USAGE_STATS: string;
public static OPSTR_MOCK_LOCATION: string;
public static OPSTR_MONITOR_HIGH_POWER_LOCATION: string;
public static OPSTR_MONITOR_LOCATION: string;
public static OPSTR_PICTURE_IN_PICTURE: string;
public static OPSTR_PROCESS_OUTGOING_CALLS: string;
public static OPSTR_READ_CALENDAR: string;
public static OPSTR_READ_CALL_LOG: string;
public static OPSTR_READ_CELL_BROADCASTS: string;
public static OPSTR_READ_CONTACTS: string;
public static OPSTR_READ_EXTERNAL_STORAGE: string;
public static OPSTR_READ_PHONE_NUMBERS: string;
public static OPSTR_READ_PHONE_STATE: string;
public static OPSTR_READ_SMS: string;
public static OPSTR_RECEIVE_MMS: string;
public static OPSTR_RECEIVE_SMS: string;
public static OPSTR_RECEIVE_WAP_PUSH: string;
public static OPSTR_RECORD_AUDIO: string;
public static OPSTR_SEND_SMS: string;
public static OPSTR_SYSTEM_ALERT_WINDOW: string;
public static OPSTR_USE_FINGERPRINT: string;
public static OPSTR_USE_SIP: string;
public static OPSTR_WRITE_CALENDAR: string;
public static OPSTR_WRITE_CALL_LOG: string;
public static OPSTR_WRITE_CONTACTS: string;
public static OPSTR_WRITE_EXTERNAL_STORAGE: string;
public static OPSTR_WRITE_SETTINGS: string;
public static WATCH_FOREGROUND_CHANGES: number;
public noteOpNoThrow(op: string, uid: number, packageName: string): number;
public unsafeCheckOpRaw(op: string, uid: number, packageName: string): number;
public finishOp(op: string, uid: number, packageName: string): void;
public startOp(op: string, uid: number, packageName: string): number;
public unsafeCheckOp(op: string, uid: number, packageName: string): number;
public noteProxyOp(op: string, proxiedPackageName: string): number;
public startOpNoThrow(op: string, uid: number, packageName: string): number;
public startWatchingMode(op: string, packageName: string, flags: number, callback: android.app.AppOpsManager.OnOpChangedListener): void;
/** @deprecated */
public checkOpNoThrow(op: string, uid: number, packageName: string): number;
public unsafeCheckOpNoThrow(op: string, uid: number, packageName: string): number;
public stopWatchingMode(callback: android.app.AppOpsManager.OnOpChangedListener): void;
public noteProxyOpNoThrow(op: string, proxiedPackageName: string): number;
public noteProxyOpNoThrow(op: string, proxiedPackageName: string, proxiedUid: number): number;
public startWatchingMode(op: string, packageName: string, callback: android.app.AppOpsManager.OnOpChangedListener): void;
public noteOp(op: string, uid: number, packageName: string): number;
/** @deprecated */
public checkOp(op: string, uid: number, packageName: string): number;
public checkPackage(uid: number, packageName: string): void;
public unsafeCheckOpRawNoThrow(op: string, uid: number, packageName: string): number;
public static permissionToOp(permission: string): string;
}
export module AppOpsManager {
export class OnOpChangedListener extends java.lang.Object {
public static class: java.lang.Class<android.app.AppOpsManager.OnOpChangedListener>;
/**
* Constructs a new instance of the android.app.AppOpsManager$OnOpChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onOpChanged(string0: string, string1: string): void;
});
public constructor();
public onOpChanged(string0: string, string1: string): void;
}
}
}
}
declare module android {
export module app {
export class Application extends android.content.ContextWrapper implements android.content.ComponentCallbacks2 {
public static class: java.lang.Class<android.app.Application>;
public registerComponentCallbacks(callback: android.content.ComponentCallbacks): void;
public registerOnProvideAssistDataListener(callback: android.app.Application.OnProvideAssistDataListener): void;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public onTerminate(): void;
public onCreate(): void;
public constructor();
public unregisterComponentCallbacks(callback: android.content.ComponentCallbacks): void;
public onLowMemory(): void;
public unregisterActivityLifecycleCallbacks(callback: android.app.Application.ActivityLifecycleCallbacks): void;
public registerActivityLifecycleCallbacks(callback: android.app.Application.ActivityLifecycleCallbacks): void;
public unregisterOnProvideAssistDataListener(callback: android.app.Application.OnProvideAssistDataListener): void;
public onTrimMemory(level: number): void;
public constructor(base: android.content.Context);
public static getProcessName(): string;
}
export module Application {
export class ActivityLifecycleCallbacks extends java.lang.Object {
public static class: java.lang.Class<android.app.Application.ActivityLifecycleCallbacks>;
/**
* Constructs a new instance of the android.app.Application$ActivityLifecycleCallbacks interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onActivityPreCreated(activity: android.app.Activity, savedInstanceState: android.os.Bundle): void;
onActivityCreated(activity0: android.app.Activity, bundle1: android.os.Bundle): void;
onActivityPostCreated(activity: android.app.Activity, savedInstanceState: android.os.Bundle): void;
onActivityPreStarted(activity: android.app.Activity): void;
onActivityStarted(activity0: android.app.Activity): void;
onActivityPostStarted(activity: android.app.Activity): void;
onActivityPreResumed(activity: android.app.Activity): void;
onActivityResumed(activity0: android.app.Activity): void;
onActivityPostResumed(activity: android.app.Activity): void;
onActivityPrePaused(activity: android.app.Activity): void;
onActivityPaused(activity0: android.app.Activity): void;
onActivityPostPaused(activity: android.app.Activity): void;
onActivityPreStopped(activity: android.app.Activity): void;
onActivityStopped(activity0: android.app.Activity): void;
onActivityPostStopped(activity: android.app.Activity): void;
onActivityPreSaveInstanceState(activity: android.app.Activity, outState: android.os.Bundle): void;
onActivitySaveInstanceState(activity0: android.app.Activity, bundle1: android.os.Bundle): void;
onActivityPostSaveInstanceState(activity: android.app.Activity, outState: android.os.Bundle): void;
onActivityPreDestroyed(activity: android.app.Activity): void;
onActivityDestroyed(activity0: android.app.Activity): void;
onActivityPostDestroyed(activity: android.app.Activity): void;
});
public constructor();
public onActivityPostSaveInstanceState(activity: android.app.Activity, outState: android.os.Bundle): void;
public onActivityPreSaveInstanceState(activity: android.app.Activity, outState: android.os.Bundle): void;
public onActivityPrePaused(activity: android.app.Activity): void;
public onActivityDestroyed(activity0: android.app.Activity): void;
public onActivityPreCreated(activity: android.app.Activity, savedInstanceState: android.os.Bundle): void;
public onActivityPostPaused(activity: android.app.Activity): void;
public onActivityPostCreated(activity: android.app.Activity, savedInstanceState: android.os.Bundle): void;
public onActivityStarted(activity0: android.app.Activity): void;
public onActivityPreResumed(activity: android.app.Activity): void;
public onActivityPreDestroyed(activity: android.app.Activity): void;
public onActivityPreStarted(activity: android.app.Activity): void;
public onActivityStopped(activity0: android.app.Activity): void;
public onActivityResumed(activity0: android.app.Activity): void;
public onActivityPostStopped(activity: android.app.Activity): void;
public onActivityCreated(activity0: android.app.Activity, bundle1: android.os.Bundle): void;
public onActivityPreStopped(activity: android.app.Activity): void;
public onActivityPostResumed(activity: android.app.Activity): void;
public onActivityPostDestroyed(activity: android.app.Activity): void;
public onActivitySaveInstanceState(activity0: android.app.Activity, bundle1: android.os.Bundle): void;
public onActivityPostStarted(activity: android.app.Activity): void;
public onActivityPaused(activity0: android.app.Activity): void;
}
export class OnProvideAssistDataListener extends java.lang.Object {
public static class: java.lang.Class<android.app.Application.OnProvideAssistDataListener>;
/**
* Constructs a new instance of the android.app.Application$OnProvideAssistDataListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onProvideAssistData(activity0: android.app.Activity, bundle1: android.os.Bundle): void;
});
public constructor();
public onProvideAssistData(activity0: android.app.Activity, bundle1: android.os.Bundle): void;
}
}
}
}
declare module android {
export module app {
export class ApplicationErrorReport extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.ApplicationErrorReport>;
public static CREATOR: android.os.Parcelable.Creator<android.app.ApplicationErrorReport>;
public static TYPE_ANR: number;
public static TYPE_BATTERY: number;
public static TYPE_CRASH: number;
public static TYPE_NONE: number;
public static TYPE_RUNNING_SERVICE: number;
public anrInfo: android.app.ApplicationErrorReport.AnrInfo;
public batteryInfo: android.app.ApplicationErrorReport.BatteryInfo;
public crashInfo: android.app.ApplicationErrorReport.CrashInfo;
public installerPackageName: string;
public packageName: string;
public processName: string;
public runningServiceInfo: android.app.ApplicationErrorReport.RunningServiceInfo;
public systemApp: boolean;
public time: number;
public type: number;
public dump(pw: android.util.Printer, prefix: string): void;
public readFromParcel(in0: android.os.Parcel): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public constructor();
public static getErrorReportReceiver(context: android.content.Context, packageName: string, appFlags: number): android.content.ComponentName;
}
export module ApplicationErrorReport {
export class AnrInfo extends java.lang.Object {
public static class: java.lang.Class<android.app.ApplicationErrorReport.AnrInfo>;
public activity: string;
public cause: string;
public info: string;
public dump(pw: android.util.Printer, prefix: string): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(in0: android.os.Parcel);
public constructor();
}
export class BatteryInfo extends java.lang.Object {
public static class: java.lang.Class<android.app.ApplicationErrorReport.BatteryInfo>;
public checkinDetails: string;
public durationMicros: number;
public usageDetails: string;
public usagePercent: number;
public dump(pw: android.util.Printer, prefix: string): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(in0: android.os.Parcel);
public constructor();
}
export class CrashInfo extends java.lang.Object {
public static class: java.lang.Class<android.app.ApplicationErrorReport.CrashInfo>;
public exceptionClassName: string;
public exceptionMessage: string;
public stackTrace: string;
public throwClassName: string;
public throwFileName: string;
public throwLineNumber: number;
public throwMethodName: string;
public dump(pw: android.util.Printer, prefix: string): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(tr: java.lang.Throwable);
public constructor(in0: android.os.Parcel);
public constructor();
}
export class RunningServiceInfo extends java.lang.Object {
public static class: java.lang.Class<android.app.ApplicationErrorReport.RunningServiceInfo>;
public durationMillis: number;
public serviceDetails: string;
public dump(pw: android.util.Printer, prefix: string): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(in0: android.os.Parcel);
public constructor();
}
}
}
}
declare module android {
export module app {
export class AuthenticationRequiredException extends java.lang.SecurityException implements android.os.Parcelable {
public static class: java.lang.Class<android.app.AuthenticationRequiredException>;
public static CREATOR: android.os.Parcelable.Creator<android.app.AuthenticationRequiredException>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getUserAction(): android.app.PendingIntent;
public describeContents(): number;
public constructor(cause: java.lang.Throwable, userAction: android.app.PendingIntent);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(s: string);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
declare module android {
export module app {
export class AutomaticZenRule extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.AutomaticZenRule>;
public static CREATOR: android.os.Parcelable.Creator<android.app.AutomaticZenRule>;
public setInterruptionFilter(interruptionFilter: number): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public setEnabled(enabled: boolean): void;
public setConfigurationActivity(componentName: android.content.ComponentName): void;
public getCreationTime(): number;
public setConditionId(conditionId: android.net.Uri): void;
/** @deprecated */
public constructor(name: string, owner: android.content.ComponentName, conditionId: android.net.Uri, interruptionFilter: number, enabled: boolean);
public getZenPolicy(): android.service.notification.ZenPolicy;
public getOwner(): android.content.ComponentName;
public setZenPolicy(zenPolicy: android.service.notification.ZenPolicy): void;
public getConditionId(): android.net.Uri;
public getConfigurationActivity(): android.content.ComponentName;
public isEnabled(): boolean;
public toString(): string;
public getName(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public setName(name: string): void;
public constructor(name: string, owner: android.content.ComponentName, configurationActivity: android.content.ComponentName, conditionId: android.net.Uri, policy: android.service.notification.ZenPolicy, interruptionFilter: number, enabled: boolean);
public getInterruptionFilter(): number;
public constructor(source: android.os.Parcel);
public hashCode(): number;
}
}
}
declare module android {
export module app {
export class DatePickerDialog extends android.app.AlertDialog implements android.content.DialogInterface.OnClickListener, android.widget.DatePicker.OnDateChangedListener {
public static class: java.lang.Class<android.app.DatePickerDialog>;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onClick(dialog: android.content.DialogInterface, which: number): void;
public onCreatePanelView(featureId: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onDateChanged(view: android.widget.DatePicker, year: number, month: number, dayOfMonth: number): void;
public updateDate(year: number, month: number, dayOfMonth: number): void;
public cancel(): void;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(context: android.content.Context);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, cancelable: boolean, cancelListener: android.content.DialogInterface.OnCancelListener);
public constructor(context: android.content.Context, themeResId: number, listener: android.app.DatePickerDialog.OnDateSetListener, year: number, monthOfYear: number, dayOfMonth: number);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public setOnDateSetListener(listener: android.app.DatePickerDialog.OnDateSetListener): void;
public onSaveInstanceState(): android.os.Bundle;
public onWindowFocusChanged(hasFocus: boolean): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onDetachedFromWindow(): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public getDatePicker(): android.widget.DatePicker;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dismiss(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, listener: android.app.DatePickerDialog.OnDateSetListener, year: number, month: number, dayOfMonth: number);
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, themeResId: number);
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onAttachedToWindow(): void;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle): void;
public onContentChanged(): void;
}
export module DatePickerDialog {
export class OnDateSetListener extends java.lang.Object {
public static class: java.lang.Class<android.app.DatePickerDialog.OnDateSetListener>;
/**
* Constructs a new instance of the android.app.DatePickerDialog$OnDateSetListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onDateSet(datePicker0: android.widget.DatePicker, int1: number, int2: number, int3: number): void;
});
public constructor();
public onDateSet(datePicker0: android.widget.DatePicker, int1: number, int2: number, int3: number): void;
}
}
}
}
declare module android {
export module app {
export class Dialog extends java.lang.Object implements android.content.DialogInterface, android.view.Window.Callback, android.view.KeyEvent.Callback, android.view.View.OnCreateContextMenuListener {
public static class: java.lang.Class<android.app.Dialog>;
public setOnCancelListener(listener: android.content.DialogInterface.OnCancelListener): void;
public onStart(): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public findViewById(id: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public getLayoutInflater(): android.view.LayoutInflater;
public cancel(): void;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public requestWindowFeature(featureId: number): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(context: android.content.Context);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public hide(): void;
public getContext(): android.content.Context;
public isShowing(): boolean;
public onSaveInstanceState(): android.os.Bundle;
public onKeyShortcut(keyCode: number, event: android.view.KeyEvent): boolean;
public setFeatureDrawableAlpha(featureId: number, alpha: number): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onDetachedFromWindow(): void;
public getWindow(): android.view.Window;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public setCancelMessage(msg: android.os.Message): void;
public getSearchEvent(): any;
public getVolumeControlStream(): number;
public setOwnerActivity(activity: android.app.Activity): void;
public setContentView(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public setTitle(title: string): void;
public setOnShowListener(listener: android.content.DialogInterface.OnShowListener): void;
public getCurrentFocus(): android.view.View;
public closeOptionsMenu(): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public setVolumeControlStream(streamType: number): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
public setFeatureDrawableResource(featureId: number, resId: number): void;
public invalidateOptionsMenu(): void;
public show(): void;
public onCreate(savedInstanceState: android.os.Bundle): void;
public onPrepareOptionsMenu(menu: android.view.Menu): boolean;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public requireViewById(id: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public setFeatureDrawable(featureId: number, drawable: android.graphics.drawable.Drawable): void;
public getActionBar(): android.app.ActionBar;
public openOptionsMenu(): void;
public setContentView(view: android.view.View): void;
public registerForContextMenu(view: android.view.View): void;
public onContextMenuClosed(menu: android.view.Menu): void;
public unregisterForContextMenu(view: android.view.View): void;
public onBackPressed(): void;
public setCanceledOnTouchOutside(cancel: boolean): void;
public constructor(context: android.content.Context, cancelable: boolean, cancelListener: android.content.DialogInterface.OnCancelListener);
public getOwnerActivity(): android.app.Activity;
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onTrackballEvent(event: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onStop(): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onCreateOptionsMenu(menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dismiss(): void;
public onOptionsMenuClosed(menu: android.view.Menu): void;
public create(): void;
public onOptionsItemSelected(item: android.view.MenuItem): boolean;
public setTitle(titleId: number): void;
public setFeatureDrawableUri(featureId: number, uri: android.net.Uri): void;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public openContextMenu(view: android.view.View): void;
public setContentView(layoutResID: number): void;
public setOnKeyListener(onKeyListener: android.content.DialogInterface.OnKeyListener): void;
public setOnDismissListener(listener: android.content.DialogInterface.OnDismissListener): void;
public onContextItemSelected(item: android.view.MenuItem): boolean;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public setDismissMessage(msg: android.os.Message): void;
public constructor(context: android.content.Context, themeResId: number);
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public setCancelable(flag: boolean): void;
public onGenericMotionEvent(event: android.view.MotionEvent): boolean;
public onAttachedToWindow(): void;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle): void;
public addContentView(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public onTouchEvent(event: android.view.MotionEvent): boolean;
public takeKeyEvents(get: boolean): void;
}
}
}
declare module android {
export module app {
export class DialogFragment extends android.app.Fragment implements android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnDismissListener {
public static class: java.lang.Class<android.app.DialogFragment>;
public static STYLE_NORMAL: number;
public static STYLE_NO_FRAME: number;
public static STYLE_NO_INPUT: number;
public static STYLE_NO_TITLE: number;
/** @deprecated */
public isCancelable(): boolean;
/** @deprecated */
public dismissAllowingStateLoss(): void;
/** @deprecated */
public getShowsDialog(): boolean;
/** @deprecated */
public setShowsDialog(showsDialog: boolean): void;
/** @deprecated */
public setStyle(style: number, theme: number): void;
/** @deprecated */
public getTheme(): number;
/** @deprecated */
public onStop(): void;
/** @deprecated */
public onCreateDialog(savedInstanceState: android.os.Bundle): android.app.Dialog;
/** @deprecated */
public onSaveInstanceState(outState: android.os.Bundle): void;
/** @deprecated */
public onDestroyView(): void;
/** @deprecated */
public onDismiss(dialog: android.content.DialogInterface): void;
/** @deprecated */
public constructor();
/** @deprecated */
public getDialog(): android.app.Dialog;
public onDismiss(dialog: android.content.DialogInterface): void;
/** @deprecated */
public onTrimMemory(level: number): void;
/** @deprecated */
public setCancelable(cancelable: boolean): void;
/** @deprecated */
public onStart(): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
/** @deprecated */
public onAttach(context: android.content.Context): void;
/** @deprecated */
public onCancel(dialog: android.content.DialogInterface): void;
/** @deprecated */
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
/** @deprecated */
public onDetach(): void;
/** @deprecated */
public show(transaction: android.app.FragmentTransaction, tag: string): number;
/** @deprecated */
public onActivityCreated(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onAttach(activity: android.app.Activity): void;
/** @deprecated */
public onCreate(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public show(manager: android.app.FragmentManager, tag: string): void;
/** @deprecated */
public onGetLayoutInflater(savedInstanceState: android.os.Bundle): android.view.LayoutInflater;
public onGetLayoutInflater(savedInstanceState: android.os.Bundle): android.view.LayoutInflater;
/** @deprecated */
public dismiss(): void;
public onTrimMemory(level: number): void;
/** @deprecated */
public dump(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
public onCancel(dialog: android.content.DialogInterface): void;
}
}
}
declare module android {
export module app {
export class DirectAction extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.DirectAction>;
public static CREATOR: android.os.Parcelable.Creator<android.app.DirectAction>;
public getId(): string;
public equals(other: any): boolean;
public equals(obj: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public getExtras(): android.os.Bundle;
public getLocusId(): android.content.LocusId;
public hashCode(): number;
}
export module DirectAction {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.DirectAction.Builder>;
public build(): android.app.DirectAction;
public setLocusId(locusId: android.content.LocusId): android.app.DirectAction.Builder;
public setExtras(extras: android.os.Bundle): android.app.DirectAction.Builder;
public constructor(id: string);
}
}
}
}
declare module android {
export module app {
export class DownloadManager extends java.lang.Object {
public static class: java.lang.Class<android.app.DownloadManager>;
public static ACTION_DOWNLOAD_COMPLETE: string;
public static ACTION_NOTIFICATION_CLICKED: string;
public static ACTION_VIEW_DOWNLOADS: string;
public static COLUMN_BYTES_DOWNLOADED_SO_FAR: string;
public static COLUMN_DESCRIPTION: string;
public static COLUMN_ID: string;
public static COLUMN_LAST_MODIFIED_TIMESTAMP: string;
public static COLUMN_LOCAL_FILENAME: string;
public static COLUMN_LOCAL_URI: string;
public static COLUMN_MEDIAPROVIDER_URI: string;
public static COLUMN_MEDIA_TYPE: string;
public static COLUMN_REASON: string;
public static COLUMN_STATUS: string;
public static COLUMN_TITLE: string;
public static COLUMN_TOTAL_SIZE_BYTES: string;
public static COLUMN_URI: string;
public static ERROR_CANNOT_RESUME: number;
public static ERROR_DEVICE_NOT_FOUND: number;
public static ERROR_FILE_ALREADY_EXISTS: number;
public static ERROR_FILE_ERROR: number;
public static ERROR_HTTP_DATA_ERROR: number;
public static ERROR_INSUFFICIENT_SPACE: number;
public static ERROR_TOO_MANY_REDIRECTS: number;
public static ERROR_UNHANDLED_HTTP_CODE: number;
public static ERROR_UNKNOWN: number;
public static EXTRA_DOWNLOAD_ID: string;
public static EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS: string;
public static INTENT_EXTRAS_SORT_BY_SIZE: string;
public static PAUSED_QUEUED_FOR_WIFI: number;
public static PAUSED_UNKNOWN: number;
public static PAUSED_WAITING_FOR_NETWORK: number;
public static PAUSED_WAITING_TO_RETRY: number;
public static STATUS_FAILED: number;
public static STATUS_PAUSED: number;
public static STATUS_PENDING: number;
public static STATUS_RUNNING: number;
public static STATUS_SUCCESSFUL: number;
public openDownloadedFile(id: number): android.os.ParcelFileDescriptor;
/** @deprecated */
public addCompletedDownload(title: string, description: string, isMediaScannerScannable: boolean, mimeType: string, path: string, length: number, showNotification: boolean): number;
public remove(ids: native.Array<number>): number;
/** @deprecated */
public addCompletedDownload(title: string, description: string, isMediaScannerScannable: boolean, mimeType: string, path: string, length: number, showNotification: boolean, uri: android.net.Uri, referer: android.net.Uri): number;
public getUriForDownloadedFile(id: number): android.net.Uri;
public enqueue(request: android.app.DownloadManager.Request): number;
public query(query: android.app.DownloadManager.Query): android.database.Cursor;
public static getRecommendedMaxBytesOverMobile(context: android.content.Context): java.lang.Long;
public getMimeTypeForDownloadedFile(id: number): string;
public static getMaxBytesOverMobile(context: android.content.Context): java.lang.Long;
}
export module DownloadManager {
export class Query extends java.lang.Object {
public static class: java.lang.Class<android.app.DownloadManager.Query>;
public setFilterByStatus(flags: number): android.app.DownloadManager.Query;
public setFilterById(ids: native.Array<number>): android.app.DownloadManager.Query;
public constructor();
}
export class Request extends java.lang.Object {
public static class: java.lang.Class<android.app.DownloadManager.Request>;
public static NETWORK_MOBILE: number;
public static NETWORK_WIFI: number;
public static VISIBILITY_HIDDEN: number;
public static VISIBILITY_VISIBLE: number;
public static VISIBILITY_VISIBLE_NOTIFY_COMPLETED: number;
public static VISIBILITY_VISIBLE_NOTIFY_ONLY_COMPLETION: number;
public setTitle(title: string): android.app.DownloadManager.Request;
/** @deprecated */
public setVisibleInDownloadsUi(isVisible: boolean): android.app.DownloadManager.Request;
public setDescription(description: string): android.app.DownloadManager.Request;
public setRequiresDeviceIdle(requiresDeviceIdle: boolean): android.app.DownloadManager.Request;
public setDestinationInExternalPublicDir(dirType: string, subPath: string): android.app.DownloadManager.Request;
public setAllowedOverMetered(allow: boolean): android.app.DownloadManager.Request;
public setAllowedOverRoaming(allowed: boolean): android.app.DownloadManager.Request;
public setNotificationVisibility(visibility: number): android.app.DownloadManager.Request;
public setAllowedNetworkTypes(flags: number): android.app.DownloadManager.Request;
public setMimeType(mimeType: string): android.app.DownloadManager.Request;
public setRequiresCharging(requiresCharging: boolean): android.app.DownloadManager.Request;
public constructor(uri: android.net.Uri);
public setDestinationUri(uri: android.net.Uri): android.app.DownloadManager.Request;
public addRequestHeader(header: string, value: string): android.app.DownloadManager.Request;
/** @deprecated */
public setShowRunningNotification(show: boolean): android.app.DownloadManager.Request;
/** @deprecated */
public allowScanningByMediaScanner(): void;
public setDestinationInExternalFilesDir(context: android.content.Context, dirType: string, subPath: string): android.app.DownloadManager.Request;
}
}
}
}
declare module android {
export module app {
export class ExpandableListActivity extends android.app.Activity implements android.view.View.OnCreateContextMenuListener, android.widget.ExpandableListView.OnChildClickListener, android.widget.ExpandableListView.OnGroupCollapseListener, android.widget.ExpandableListView.OnGroupExpandListener {
public static class: java.lang.Class<android.app.ExpandableListActivity>;
public onGroupExpand(groupPosition: number): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onRestoreInstanceState(state: android.os.Bundle): void;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public setListAdapter(adapter: android.widget.ExpandableListAdapter): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public getSelectedId(): number;
public onDetachedFromWindow(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public setSelectedChild(groupPosition: number, childPosition: number, shouldExpandGroup: boolean): boolean;
public constructor();
public getExpandableListView(): android.widget.ExpandableListView;
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public setSelectedGroup(groupPosition: number): void;
public onCreatePanelView(featureId: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onGroupCollapse(groupPosition: number): void;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onChildClick(parent: android.widget.ExpandableListView, v: android.view.View, groupPosition: number, childPosition: number, id: number): boolean;
public getSelectedPosition(): number;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public getExpandableListAdapter(): android.widget.ExpandableListAdapter;
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle): void;
}
}
}
declare module android {
export module app {
export class Fragment extends java.lang.Object implements android.content.ComponentCallbacks2, android.view.View.OnCreateContextMenuListener {
public static class: java.lang.Class<android.app.Fragment>;
/** @deprecated */
public unregisterForContextMenu(view: android.view.View): void;
/** @deprecated */
public setSharedElementEnterTransition(transition: android.transition.Transition): void;
/** @deprecated */
public isResumed(): boolean;
/** @deprecated */
public startActivity(intent: android.content.Intent, options: android.os.Bundle): void;
/** @deprecated */
public onViewStateRestored(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onPause(): void;
/** @deprecated */
public onStop(): void;
/** @deprecated */
public getRetainInstance(): boolean;
/** @deprecated */
public getExitTransition(): android.transition.Transition;
/** @deprecated */
public onDestroyView(): void;
/** @deprecated */
public setExitSharedElementCallback(callback: any): void;
/** @deprecated */
public onHiddenChanged(hidden: boolean): void;
/** @deprecated */
public getText(resId: number): string;
/** @deprecated */
public constructor();
/** @deprecated */
public getSharedElementEnterTransition(): android.transition.Transition;
/** @deprecated */
public equals(o: any): boolean;
/** @deprecated */
public getUserVisibleHint(): boolean;
/** @deprecated */
public onMultiWindowModeChanged(isInMultiWindowMode: boolean, newConfig: android.content.res.Configuration): void;
/** @deprecated */
public getString(resId: number): string;
/** @deprecated */
public isAdded(): boolean;
/** @deprecated */
public getSharedElementReturnTransition(): android.transition.Transition;
/** @deprecated */
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
/** @deprecated */
public setReturnTransition(transition: android.transition.Transition): void;
/** @deprecated */
public startActivityForResult(intent: android.content.Intent, requestCode: number): void;
/** @deprecated */
public onInflate(activity: android.app.Activity, attrs: android.util.AttributeSet, savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public startIntentSenderForResult(intent: android.content.IntentSender, requestCode: number, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number, options: android.os.Bundle): void;
/** @deprecated */
public isVisible(): boolean;
/** @deprecated */
public onAttach(activity: android.app.Activity): void;
/** @deprecated */
public setTargetFragment(fragment: android.app.Fragment, requestCode: number): void;
/** @deprecated */
public startPostponedEnterTransition(): void;
/** @deprecated */
public isRemoving(): boolean;
/** @deprecated */
public onMultiWindowModeChanged(isInMultiWindowMode: boolean): void;
/** @deprecated */
public getContext(): android.content.Context;
/** @deprecated */
public setAllowEnterTransitionOverlap(allow: boolean): void;
/** @deprecated */
public postponeEnterTransition(): void;
public onTrimMemory(level: number): void;
/** @deprecated */
public getString(resId: number, formatArgs: native.Array<any>): string;
/** @deprecated */
public setAllowReturnTransitionOverlap(allow: boolean): void;
/** @deprecated */
public onDestroyOptionsMenu(): void;
/** @deprecated */
public requestPermissions(permissions: native.Array<string>, requestCode: number): void;
/** @deprecated */
public onPrepareOptionsMenu(menu: android.view.Menu): void;
/** @deprecated */
public getReenterTransition(): android.transition.Transition;
/** @deprecated */
public startActivityForResult(intent: android.content.Intent, requestCode: number, options: android.os.Bundle): void;
/** @deprecated */
public shouldShowRequestPermissionRationale(permission: string): boolean;
/** @deprecated */
public getLoaderManager(): android.app.LoaderManager;
/** @deprecated */
public onCreateView(inflater: android.view.LayoutInflater, container: android.view.ViewGroup, savedInstanceState: android.os.Bundle): android.view.View;
/** @deprecated */
public onSaveInstanceState(outState: android.os.Bundle): void;
public onLowMemory(): void;
/** @deprecated */
public getLayoutInflater(): android.view.LayoutInflater;
/** @deprecated */
public getView(): android.view.View;
/** @deprecated */
public getArguments(): android.os.Bundle;
/** @deprecated */
public onStart(): void;
/** @deprecated */
public static instantiate(context: android.content.Context, fname: string, bundle2: android.os.Bundle): android.app.Fragment;
/** @deprecated */
public setHasOptionsMenu(hasMenu: boolean): void;
/** @deprecated */
public onActivityCreated(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onCreate(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onViewCreated(view: android.view.View, savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onGetLayoutInflater(savedInstanceState: android.os.Bundle): android.view.LayoutInflater;
/** @deprecated */
public onInflate(attrs: android.util.AttributeSet, savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public toString(): string;
/** @deprecated */
public setEnterTransition(transition: android.transition.Transition): void;
/** @deprecated */
public static instantiate(context: android.content.Context, fname: string): android.app.Fragment;
/** @deprecated */
public setExitTransition(transition: android.transition.Transition): void;
/** @deprecated */
public getAllowEnterTransitionOverlap(): boolean;
/** @deprecated */
public dump(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
public hashCode(): number;
/** @deprecated */
public isInLayout(): boolean;
/** @deprecated */
public isHidden(): boolean;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
/** @deprecated */
public registerForContextMenu(view: android.view.View): void;
/** @deprecated */
public setInitialSavedState(state: android.app.Fragment.SavedState): void;
/** @deprecated */
public onDestroy(): void;
/** @deprecated */
public onAttachFragment(childFragment: android.app.Fragment): void;
/** @deprecated */
public getEnterTransition(): android.transition.Transition;
/** @deprecated */
public onPictureInPictureModeChanged(isInPictureInPictureMode: boolean, newConfig: android.content.res.Configuration): void;
/** @deprecated */
public getParentFragment(): android.app.Fragment;
/** @deprecated */
public getReturnTransition(): android.transition.Transition;
/** @deprecated */
public setArguments(bundle0: android.os.Bundle): void;
/** @deprecated */
public onAttach(context: android.content.Context): void;
/** @deprecated */
public onOptionsItemSelected(item: android.view.MenuItem): boolean;
/** @deprecated */
public onActivityResult(requestCode: number, resultCode: number, data: android.content.Intent): void;
/** @deprecated */
public getId(): number;
/** @deprecated */
public onPictureInPictureModeChanged(isInPictureInPictureMode: boolean): void;
/** @deprecated */
public setReenterTransition(transition: android.transition.Transition): void;
/** @deprecated */
public getTargetFragment(): android.app.Fragment;
/** @deprecated */
public onCreateOptionsMenu(menu: android.view.Menu, inflater: android.view.MenuInflater): void;
/** @deprecated */
public getResources(): android.content.res.Resources;
/** @deprecated */
public getHost(): any;
/** @deprecated */
public setUserVisibleHint(isVisibleToUser: boolean): void;
/** @deprecated */
public setMenuVisibility(menuVisible: boolean): void;
/** @deprecated */
public getFragmentManager(): android.app.FragmentManager;
/** @deprecated */
public onContextItemSelected(item: android.view.MenuItem): boolean;
/** @deprecated */
public isDetached(): boolean;
/** @deprecated */
public setEnterSharedElementCallback(callback: any): void;
/** @deprecated */
public onRequestPermissionsResult(requestCode: number, permissions: native.Array<string>, grantResults: native.Array<number>): void;
/** @deprecated */
public getActivity(): android.app.Activity;
/** @deprecated */
public onTrimMemory(level: number): void;
/** @deprecated */
public getTag(): string;
/** @deprecated */
public onInflate(context: android.content.Context, attrs: android.util.AttributeSet, savedInstanceState: android.os.Bundle): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
/** @deprecated */
public onLowMemory(): void;
/** @deprecated */
public startActivity(intent: android.content.Intent): void;
/** @deprecated */
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
/** @deprecated */
public getAllowReturnTransitionOverlap(): boolean;
/** @deprecated */
public onDetach(): void;
/** @deprecated */
public isStateSaved(): boolean;
/** @deprecated */
public onCreateAnimator(transit: number, enter: boolean, nextAnim: number): android.animation.Animator;
/** @deprecated */
public setRetainInstance(retain: boolean): void;
public toString(): string;
public equals(obj: any): boolean;
/** @deprecated */
public onOptionsMenuClosed(menu: android.view.Menu): void;
/** @deprecated */
public getTargetRequestCode(): number;
/** @deprecated */
public hashCode(): number;
/** @deprecated */
public setSharedElementReturnTransition(transition: android.transition.Transition): void;
/** @deprecated */
public getChildFragmentManager(): android.app.FragmentManager;
/** @deprecated */
public onResume(): void;
}
export module Fragment {
export class InstantiationException extends android.util.AndroidRuntimeException {
public static class: java.lang.Class<android.app.Fragment.InstantiationException>;
public constructor(cause: java.lang.Throwable);
public constructor(name: string);
/** @deprecated */
public constructor(msg: string, cause: java.lang.Exception);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor(name: string, cause: java.lang.Throwable);
public constructor();
public constructor(cause: java.lang.Exception);
}
export class SavedState extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.Fragment.SavedState>;
public static CREATOR: android.os.Parcelable.ClassLoaderCreator<android.app.Fragment.SavedState>;
/** @deprecated */
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
/** @deprecated */
public describeContents(): number;
}
}
}
}
declare module android {
export module app {
export class FragmentBreadCrumbs extends android.view.ViewGroup implements android.app.FragmentManager.OnBackStackChangedListener {
public static class: java.lang.Class<android.app.FragmentBreadCrumbs>;
public childDrawableStateChanged(child: android.view.View): void;
public isLayoutDirectionResolved(): boolean;
/** @deprecated */
public setOnBreadCrumbClickListener(listener: android.app.FragmentBreadCrumbs.OnBreadCrumbClickListener): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number);
/** @deprecated */
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number);
/** @deprecated */
public setMaxVisible(visibleCrumbs: number): void;
/** @deprecated */
public constructor(context: android.content.Context);
public scheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void;
public constructor(context: android.content.Context);
public showContextMenuForChild(originalView: android.view.View, x: number, y: number): boolean;
public canResolveLayoutDirection(): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
/** @deprecated */
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public onNestedScrollAccepted(child: android.view.View, target: android.view.View, axes: number): void;
public addView(child: android.view.View, index: number): void;
public keyboardNavigationClusterSearch(currentCluster: android.view.View, direction: number): android.view.View;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public addView(child: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public requestChildFocus(child: android.view.View, focused: android.view.View): void;
public requestChildRectangleOnScreen(child: android.view.View, rectangle: android.graphics.Rect, immediate: boolean): boolean;
public getParentForAccessibility(): android.view.ViewParent;
public addView(child: android.view.View, width: number, height: number): void;
public canResolveTextAlignment(): boolean;
public getParent(): android.view.ViewParent;
public focusableViewAvailable(v: android.view.View): void;
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void;
public onStopNestedScroll(child: android.view.View): void;
public getLayoutDirection(): number;
public getTextAlignment(): number;
public getChildVisibleRect(child: android.view.View, r: android.graphics.Rect, offset: android.graphics.Point): boolean;
public focusSearch(direction: number): android.view.View;
public createContextMenu(menu: android.view.ContextMenu): void;
/** @deprecated */
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
public isLayoutRequested(): boolean;
public requestTransparentRegion(child: android.view.View): void;
public addView(child: android.view.View, index: number, params: android.view.ViewGroup.LayoutParams): void;
public onNestedPrePerformAccessibilityAction(target: android.view.View, action: number, bundle2: android.os.Bundle): boolean;
/** @deprecated */
public setParentTitle(title: string, shortTitle: string, listener: android.view.View.OnClickListener): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onNestedScroll(target: android.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void;
/** @deprecated */
public setActivity(a: android.app.Activity): void;
public onStartNestedScroll(child: android.view.View, target: android.view.View, nestedScrollAxes: number): boolean;
/** @deprecated */
public invalidateChildInParent(location: native.Array<number>, dirty: android.graphics.Rect): android.view.ViewParent;
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public updateViewLayout(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable): void;
public onNestedFling(target: android.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean;
public notifySubtreeAccessibilityStateChanged(child: android.view.View, source: android.view.View, changeType: number): void;
public requestLayout(): void;
public isTextAlignmentResolved(): boolean;
public removeView(view: android.view.View): void;
public showContextMenuForChild(originalView: android.view.View): boolean;
public onNestedPreScroll(target: android.view.View, dx: number, dy: number, consumed: native.Array<number>): void;
public onLayout(boolean0: boolean, int1: number, int2: number, int3: number, int4: number): void;
public onNestedPreFling(target: android.view.View, velocityX: number, velocityY: number): boolean;
public canResolveTextDirection(): boolean;
/** @deprecated */
public onBackStackChanged(): void;
public getTextDirection(): number;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public invalidateDrawable(drawable: android.graphics.drawable.Drawable): void;
public clearChildFocus(child: android.view.View): void;
/** @deprecated */
public requestFitSystemWindows(): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable): void;
public bringChildToFront(child: android.view.View): void;
public isTextDirectionResolved(): boolean;
public onDescendantInvalidated(child: android.view.View, target: android.view.View): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
/** @deprecated */
public invalidateChild(child: android.view.View, dirty: android.graphics.Rect): void;
public focusSearch(focused: android.view.View, direction: number): android.view.View;
public addView(child: android.view.View): void;
public recomputeViewAttributes(child: android.view.View): void;
public requestSendAccessibilityEvent(child: android.view.View, event: android.view.accessibility.AccessibilityEvent): boolean;
/** @deprecated */
public setTitle(title: string, shortTitle: string): void;
/** @deprecated */
public onLayout(changed: boolean, l: number, t: number, r: number, b: number): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number, defStyleRes: number);
public childHasTransientStateChanged(child: android.view.View, childHasTransientState: boolean): void;
public requestFitSystemWindows(): void;
public sendAccessibilityEvent(eventType: number): void;
public sendAccessibilityEventUnchecked(event: android.view.accessibility.AccessibilityEvent): void;
}
export module FragmentBreadCrumbs {
export class OnBreadCrumbClickListener extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentBreadCrumbs.OnBreadCrumbClickListener>;
/**
* Constructs a new instance of the android.app.FragmentBreadCrumbs$OnBreadCrumbClickListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onBreadCrumbClick(backStackEntry0: android.app.FragmentManager.BackStackEntry, int1: number): boolean;
});
public constructor();
/** @deprecated */
public onBreadCrumbClick(backStackEntry0: android.app.FragmentManager.BackStackEntry, int1: number): boolean;
}
}
}
}
declare module android {
export module app {
export abstract class FragmentContainer extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentContainer>;
/** @deprecated */
public constructor();
/** @deprecated */
public onFindViewById(int0: number): android.view.View;
/** @deprecated */
public onHasView(): boolean;
}
}
}
declare module android {
export module app {
export class FragmentController extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentController>;
/** @deprecated */
public saveAllState(): android.os.Parcelable;
/** @deprecated */
public dispatchOptionsItemSelected(item: android.view.MenuItem): boolean;
/** @deprecated */
public dispatchStart(): void;
/** @deprecated */
public getFragmentManager(): android.app.FragmentManager;
/** @deprecated */
public restoreAllState(state: android.os.Parcelable, nonConfigList: java.util.List<android.app.Fragment>): void;
/** @deprecated */
public restoreAllState(state: android.os.Parcelable, nonConfig: android.app.FragmentManagerNonConfig): void;
/** @deprecated */
public getLoaderManager(): android.app.LoaderManager;
/** @deprecated */
public retainNestedNonConfig(): android.app.FragmentManagerNonConfig;
/** @deprecated */
public dispatchPictureInPictureModeChanged(isInPictureInPictureMode: boolean): void;
/** @deprecated */
public dispatchPictureInPictureModeChanged(isInPictureInPictureMode: boolean, newConfig: android.content.res.Configuration): void;
/** @deprecated */
public dispatchDestroy(): void;
/** @deprecated */
public execPendingActions(): boolean;
/** @deprecated */
public doLoaderStop(retain: boolean): void;
/** @deprecated */
public doLoaderStart(): void;
/** @deprecated */
public dispatchPause(): void;
/** @deprecated */
public dispatchDestroyView(): void;
/** @deprecated */
public dispatchPrepareOptionsMenu(menu: android.view.Menu): boolean;
/** @deprecated */
public retainNonConfig(): java.util.List<android.app.Fragment>;
/** @deprecated */
public dispatchCreate(): void;
/** @deprecated */
public dumpLoaders(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
/** @deprecated */
public noteStateNotSaved(): void;
/** @deprecated */
public dispatchCreateOptionsMenu(menu: android.view.Menu, inflater: android.view.MenuInflater): boolean;
/** @deprecated */
public restoreLoaderNonConfig(loaderManagers: android.util.ArrayMap<string,android.app.LoaderManager>): void;
/** @deprecated */
public dispatchOptionsMenuClosed(menu: android.view.Menu): void;
/** @deprecated */
public dispatchResume(): void;
/** @deprecated */
public dispatchMultiWindowModeChanged(isInMultiWindowMode: boolean): void;
/** @deprecated */
public retainLoaderNonConfig(): android.util.ArrayMap<string,android.app.LoaderManager>;
/** @deprecated */
public dispatchContextItemSelected(item: android.view.MenuItem): boolean;
/** @deprecated */
public attachHost(parent: android.app.Fragment): void;
/** @deprecated */
public dispatchConfigurationChanged(newConfig: android.content.res.Configuration): void;
/** @deprecated */
public findFragmentByWho(who: string): android.app.Fragment;
/** @deprecated */
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
/** @deprecated */
public dispatchStop(): void;
/** @deprecated */
public dispatchTrimMemory(level: number): void;
/** @deprecated */
public dispatchActivityCreated(): void;
/** @deprecated */
public dispatchMultiWindowModeChanged(isInMultiWindowMode: boolean, newConfig: android.content.res.Configuration): void;
/** @deprecated */
public dispatchLowMemory(): void;
/** @deprecated */
public reportLoaderStart(): void;
/** @deprecated */
public doLoaderDestroy(): void;
/** @deprecated */
public static createController(callbacks: android.app.FragmentHostCallback<any>): android.app.FragmentController;
}
}
}
declare module android {
export module app {
export abstract class FragmentHostCallback<E> extends android.app.FragmentContainer {
public static class: java.lang.Class<android.app.FragmentHostCallback<any>>;
/** @deprecated */
public onHasWindowAnimations(): boolean;
/** @deprecated */
public onRequestPermissionsFromFragment(fragment: android.app.Fragment, permissions: native.Array<string>, requestCode: number): void;
/** @deprecated */
public onStartActivityFromFragment(fragment: android.app.Fragment, intent: android.content.Intent, requestCode: number, options: android.os.Bundle): void;
/** @deprecated */
public onGetHost(): any;
/** @deprecated */
public onStartIntentSenderFromFragment(fragment: android.app.Fragment, intent: android.content.IntentSender, requestCode: number, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number, options: android.os.Bundle): void;
/** @deprecated */
public constructor();
/** @deprecated */
public onShouldSaveFragmentState(fragment: android.app.Fragment): boolean;
/** @deprecated */
public onDump(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
/** @deprecated */
public onFindViewById(int0: number): android.view.View;
/** @deprecated */
public onInvalidateOptionsMenu(): void;
/** @deprecated */
public onGetLayoutInflater(): android.view.LayoutInflater;
/** @deprecated */
public onUseFragmentManagerInflaterFactory(): boolean;
/** @deprecated */
public onGetWindowAnimations(): number;
/** @deprecated */
public onFindViewById(id: number): android.view.View;
/** @deprecated */
public constructor(context: android.content.Context, handler: android.os.Handler, windowAnimations: number);
/** @deprecated */
public onAttachFragment(fragment: android.app.Fragment): void;
/** @deprecated */
public onHasView(): boolean;
}
}
}
declare module android {
export module app {
export abstract class FragmentManager extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentManager>;
public static POP_BACK_STACK_INCLUSIVE: number;
/** @deprecated */
public getFragments(): java.util.List<android.app.Fragment>;
/** @deprecated */
public isDestroyed(): boolean;
/** @deprecated */
public getPrimaryNavigationFragment(): android.app.Fragment;
/** @deprecated */
public findFragmentById(int0: number): android.app.Fragment;
/** @deprecated */
public popBackStackImmediate(): boolean;
/** @deprecated */
public unregisterFragmentLifecycleCallbacks(fragmentLifecycleCallbacks0: android.app.FragmentManager.FragmentLifecycleCallbacks): void;
/** @deprecated */
public executePendingTransactions(): boolean;
/** @deprecated */
public dump(string0: string, fileDescriptor1: java.io.FileDescriptor, printWriter2: java.io.PrintWriter, strings3: native.Array<string>): void;
/** @deprecated */
public popBackStack(string0: string, int1: number): void;
/** @deprecated */
public constructor();
/** @deprecated */
public popBackStack(int0: number, int1: number): void;
/** @deprecated */
public findFragmentByTag(string0: string): android.app.Fragment;
/** @deprecated */
public popBackStack(): void;
/** @deprecated */
public popBackStackImmediate(string0: string, int1: number): boolean;
/** @deprecated */
public getBackStackEntryAt(int0: number): android.app.FragmentManager.BackStackEntry;
/** @deprecated */
public removeOnBackStackChangedListener(onBackStackChangedListener0: android.app.FragmentManager.OnBackStackChangedListener): void;
/** @deprecated */
public invalidateOptionsMenu(): void;
/** @deprecated */
public getBackStackEntryCount(): number;
/** @deprecated */
public beginTransaction(): android.app.FragmentTransaction;
/** @deprecated */
public isStateSaved(): boolean;
/** @deprecated */
public popBackStackImmediate(int0: number, int1: number): boolean;
/** @deprecated */
public saveFragmentInstanceState(fragment0: android.app.Fragment): android.app.Fragment.SavedState;
/** @deprecated */
public registerFragmentLifecycleCallbacks(fragmentLifecycleCallbacks0: android.app.FragmentManager.FragmentLifecycleCallbacks, boolean1: boolean): void;
/** @deprecated */
public addOnBackStackChangedListener(onBackStackChangedListener0: android.app.FragmentManager.OnBackStackChangedListener): void;
/** @deprecated */
public putFragment(bundle0: android.os.Bundle, string1: string, fragment2: android.app.Fragment): void;
/** @deprecated */
public getFragment(bundle0: android.os.Bundle, string1: string): android.app.Fragment;
/** @deprecated */
public static enableDebugLogging(enabled: boolean): void;
}
export module FragmentManager {
export class BackStackEntry extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentManager.BackStackEntry>;
/**
* Constructs a new instance of the android.app.FragmentManager$BackStackEntry interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
getId(): number;
getName(): string;
getBreadCrumbTitleRes(): number;
getBreadCrumbShortTitleRes(): number;
getBreadCrumbTitle(): string;
getBreadCrumbShortTitle(): string;
});
public constructor();
/** @deprecated */
public getBreadCrumbTitle(): string;
/** @deprecated */
public getBreadCrumbShortTitleRes(): number;
/** @deprecated */
public getName(): string;
/** @deprecated */
public getId(): number;
/** @deprecated */
public getBreadCrumbTitleRes(): number;
/** @deprecated */
public getBreadCrumbShortTitle(): string;
}
export abstract class FragmentLifecycleCallbacks extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentManager.FragmentLifecycleCallbacks>;
/** @deprecated */
public onFragmentActivityCreated(fm: android.app.FragmentManager, f: android.app.Fragment, savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onFragmentResumed(fm: android.app.FragmentManager, f: android.app.Fragment): void;
/** @deprecated */
public onFragmentStopped(fm: android.app.FragmentManager, f: android.app.Fragment): void;
/** @deprecated */
public onFragmentViewDestroyed(fm: android.app.FragmentManager, f: android.app.Fragment): void;
/** @deprecated */
public onFragmentPaused(fm: android.app.FragmentManager, f: android.app.Fragment): void;
/** @deprecated */
public onFragmentPreAttached(fm: android.app.FragmentManager, f: android.app.Fragment, context: android.content.Context): void;
/** @deprecated */
public onFragmentDestroyed(fm: android.app.FragmentManager, f: android.app.Fragment): void;
/** @deprecated */
public onFragmentViewCreated(fm: android.app.FragmentManager, f: android.app.Fragment, v: android.view.View, savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public constructor();
/** @deprecated */
public onFragmentStarted(fm: android.app.FragmentManager, f: android.app.Fragment): void;
/** @deprecated */
public onFragmentSaveInstanceState(fm: android.app.FragmentManager, f: android.app.Fragment, outState: android.os.Bundle): void;
/** @deprecated */
public onFragmentCreated(fm: android.app.FragmentManager, f: android.app.Fragment, savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public onFragmentDetached(fm: android.app.FragmentManager, f: android.app.Fragment): void;
/** @deprecated */
public onFragmentAttached(fm: android.app.FragmentManager, f: android.app.Fragment, context: android.content.Context): void;
/** @deprecated */
public onFragmentPreCreated(fm: android.app.FragmentManager, f: android.app.Fragment, savedInstanceState: android.os.Bundle): void;
}
export class OnBackStackChangedListener extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentManager.OnBackStackChangedListener>;
/**
* Constructs a new instance of the android.app.FragmentManager$OnBackStackChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onBackStackChanged(): void;
});
public constructor();
/** @deprecated */
public onBackStackChanged(): void;
}
}
}
}
declare module android {
export module app {
export class FragmentManagerNonConfig extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentManagerNonConfig>;
}
}
}
declare module android {
export module app {
export abstract class FragmentTransaction extends java.lang.Object {
public static class: java.lang.Class<android.app.FragmentTransaction>;
public static TRANSIT_ENTER_MASK: number;
public static TRANSIT_EXIT_MASK: number;
public static TRANSIT_FRAGMENT_CLOSE: number;
public static TRANSIT_FRAGMENT_FADE: number;
public static TRANSIT_FRAGMENT_OPEN: number;
public static TRANSIT_NONE: number;
public static TRANSIT_UNSET: number;
/** @deprecated */
public setReorderingAllowed(boolean0: boolean): android.app.FragmentTransaction;
/** @deprecated */
public replace(int0: number, fragment1: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public setBreadCrumbTitle(charSequence0: string): android.app.FragmentTransaction;
/** @deprecated */
public attach(fragment0: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public commitAllowingStateLoss(): number;
/** @deprecated */
public setTransition(int0: number): android.app.FragmentTransaction;
/** @deprecated */
public constructor();
/** @deprecated */
public add(int0: number, fragment1: android.app.Fragment, string2: string): android.app.FragmentTransaction;
/** @deprecated */
public addSharedElement(view0: android.view.View, string1: string): android.app.FragmentTransaction;
/** @deprecated */
public setBreadCrumbShortTitle(int0: number): android.app.FragmentTransaction;
/** @deprecated */
public detach(fragment0: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public setBreadCrumbShortTitle(charSequence0: string): android.app.FragmentTransaction;
/** @deprecated */
public hide(fragment0: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public isAddToBackStackAllowed(): boolean;
/** @deprecated */
public replace(int0: number, fragment1: android.app.Fragment, string2: string): android.app.FragmentTransaction;
/** @deprecated */
public commit(): number;
/** @deprecated */
public commitNow(): void;
/** @deprecated */
public remove(fragment0: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public setBreadCrumbTitle(int0: number): android.app.FragmentTransaction;
/** @deprecated */
public setCustomAnimations(int0: number, int1: number): android.app.FragmentTransaction;
/** @deprecated */
public disallowAddToBackStack(): android.app.FragmentTransaction;
/** @deprecated */
public setTransitionStyle(int0: number): android.app.FragmentTransaction;
/** @deprecated */
public commitNowAllowingStateLoss(): void;
/** @deprecated */
public runOnCommit(runnable0: java.lang.Runnable): android.app.FragmentTransaction;
/** @deprecated */
public add(int0: number, fragment1: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public isEmpty(): boolean;
/** @deprecated */
public show(fragment0: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public setPrimaryNavigationFragment(fragment0: android.app.Fragment): android.app.FragmentTransaction;
/** @deprecated */
public setCustomAnimations(int0: number, int1: number, int2: number, int3: number): android.app.FragmentTransaction;
/** @deprecated */
public add(fragment0: android.app.Fragment, string1: string): android.app.FragmentTransaction;
/** @deprecated */
public addToBackStack(string0: string): android.app.FragmentTransaction;
}
}
}
declare module android {
export module app {
export class Instrumentation extends java.lang.Object {
public static class: java.lang.Class<android.app.Instrumentation>;
public static REPORT_KEY_IDENTIFIER: string;
public static REPORT_KEY_STREAMRESULT: string;
public callActivityOnResume(activity: android.app.Activity): void;
public onStart(): void;
public sendCharacterSync(keyCode: number): void;
public callActivityOnDestroy(activity: android.app.Activity): void;
public getUiAutomation(): android.app.UiAutomation;
public getTargetContext(): android.content.Context;
public callApplicationOnCreate(app: android.app.Application): void;
public callActivityOnPostCreate(activity: android.app.Activity, savedInstanceState: android.os.Bundle, persistentState: any): void;
public sendStatus(resultCode: number, results: android.os.Bundle): void;
public getProcessName(): string;
public getComponentName(): android.content.ComponentName;
public callActivityOnRestoreInstanceState(activity: android.app.Activity, savedInstanceState: android.os.Bundle, persistentState: any): void;
public callActivityOnPause(activity: android.app.Activity): void;
public getContext(): android.content.Context;
public invokeContextMenuAction(targetActivity: android.app.Activity, id: number, flag: number): boolean;
public start(): void;
/** @deprecated */
public startAllocCounting(): void;
public startActivitySync(intent: android.content.Intent): android.app.Activity;
public finish(resultCode: number, results: android.os.Bundle): void;
public newActivity(cl: java.lang.ClassLoader, className: string, intent: android.content.Intent): android.app.Activity;
public getBinderCounts(): android.os.Bundle;
public waitForIdle(recipient: java.lang.Runnable): void;
public waitForMonitorWithTimeout(monitor: android.app.Instrumentation.ActivityMonitor, timeOut: number): android.app.Activity;
public waitForMonitor(monitor: android.app.Instrumentation.ActivityMonitor): android.app.Activity;
public newApplication(cl: java.lang.ClassLoader, className: string, context: android.content.Context): android.app.Application;
public sendTrackballEventSync(event: android.view.MotionEvent): void;
public newActivity(clazz: java.lang.Class<any>, context: android.content.Context, token: android.os.IBinder, application: android.app.Application, intent: android.content.Intent, info: android.content.pm.ActivityInfo, title: string, parent: android.app.Activity, id: string, lastNonConfigurationInstance: any): android.app.Activity;
public getAllocCounts(): android.os.Bundle;
public callActivityOnNewIntent(activity: android.app.Activity, intent: android.content.Intent): void;
public constructor();
public removeMonitor(monitor: android.app.Instrumentation.ActivityMonitor): void;
public startActivitySync(intent: android.content.Intent, options: android.os.Bundle): android.app.Activity;
public callActivityOnRestoreInstanceState(activity: android.app.Activity, savedInstanceState: android.os.Bundle): void;
public static newApplication(clazz: java.lang.Class<any>, context: android.content.Context): android.app.Application;
public stopProfiling(): void;
public addMonitor(cls: string, result: android.app.Instrumentation.ActivityResult, block: boolean): android.app.Instrumentation.ActivityMonitor;
public setAutomaticPerformanceSnapshots(): void;
public acquireLooperManager(looper: android.os.Looper): android.os.TestLooperManager;
public startProfiling(): void;
public sendStringSync(text: string): void;
/** @deprecated */
public stopAllocCounting(): void;
public onDestroy(): void;
public sendKeyDownUpSync(key: number): void;
public addResults(results: android.os.Bundle): void;
public callActivityOnStart(activity: android.app.Activity): void;
public invokeMenuActionSync(targetActivity: android.app.Activity, id: number, flag: number): boolean;
public waitForIdleSync(): void;
public checkMonitorHit(monitor: android.app.Instrumentation.ActivityMonitor, minHits: number): boolean;
public startPerformanceSnapshot(): void;
public callActivityOnPostCreate(activity: android.app.Activity, savedInstanceState: android.os.Bundle): void;
public sendPointerSync(event: android.view.MotionEvent): void;
public callActivityOnCreate(activity: android.app.Activity, icicle: android.os.Bundle, persistentState: any): void;
public callActivityOnUserLeaving(activity: android.app.Activity): void;
public onException(obj: any, e: java.lang.Throwable): boolean;
public callActivityOnSaveInstanceState(activity: android.app.Activity, outState: android.os.Bundle, outPersistentState: any): void;
public callActivityOnSaveInstanceState(activity: android.app.Activity, outState: android.os.Bundle): void;
public callActivityOnCreate(activity: android.app.Activity, icicle: android.os.Bundle): void;
public callActivityOnRestart(activity: android.app.Activity): void;
public addMonitor(filter: android.content.IntentFilter, result: android.app.Instrumentation.ActivityResult, block: boolean): android.app.Instrumentation.ActivityMonitor;
public isProfiling(): boolean;
public runOnMainSync(runner: java.lang.Runnable): void;
public callActivityOnStop(activity: android.app.Activity): void;
public getUiAutomation(flags: number): android.app.UiAutomation;
public onCreate(bundle0: android.os.Bundle): void;
public sendKeySync(event: android.view.KeyEvent): void;
public setInTouchMode(inTouch: boolean): void;
public endPerformanceSnapshot(): void;
public addMonitor(monitor: android.app.Instrumentation.ActivityMonitor): void;
}
export module Instrumentation {
export class ActivityMonitor extends java.lang.Object {
public static class: java.lang.Class<android.app.Instrumentation.ActivityMonitor>;
public constructor(cls: string, result: android.app.Instrumentation.ActivityResult, block: boolean);
public waitForActivity(): android.app.Activity;
public onStartActivity(intent: android.content.Intent): android.app.Instrumentation.ActivityResult;
public constructor(which: android.content.IntentFilter, result: android.app.Instrumentation.ActivityResult, block: boolean);
public getResult(): android.app.Instrumentation.ActivityResult;
public isBlocking(): boolean;
public getLastActivity(): android.app.Activity;
public waitForActivityWithTimeout(timeOut: number): android.app.Activity;
public getHits(): number;
public getFilter(): android.content.IntentFilter;
public constructor();
}
export class ActivityResult extends java.lang.Object {
public static class: java.lang.Class<android.app.Instrumentation.ActivityResult>;
public getResultData(): android.content.Intent;
public constructor(resultCode: number, resultData: android.content.Intent);
public getResultCode(): number;
}
}
}
}
declare module android {
export module app {
export abstract class IntentService extends android.app.Service {
public static class: java.lang.Class<android.app.IntentService>;
public constructor(name: string);
public onBind(intent0: android.content.Intent): android.os.IBinder;
public setIntentRedelivery(enabled: boolean): void;
public onCreate(): void;
public constructor();
public onDestroy(): void;
public onBind(intent: android.content.Intent): android.os.IBinder;
/** @deprecated */
public onStart(intent: android.content.Intent, startId: number): void;
public onHandleIntent(intent0: android.content.Intent): void;
public onStart(intent: android.content.Intent, startId: number): void;
public onTrimMemory(level: number): void;
public onStartCommand(intent: android.content.Intent, flags: number, startId: number): number;
public constructor(base: android.content.Context);
}
}
}
declare module android {
export module app {
export class KeyguardManager extends java.lang.Object {
public static class: java.lang.Class<android.app.KeyguardManager>;
public isKeyguardSecure(): boolean;
/** @deprecated */
public createConfirmDeviceCredentialIntent(title: string, description: string): android.content.Intent;
public isDeviceLocked(): boolean;
public requestDismissKeyguard(activity: android.app.Activity, callback: android.app.KeyguardManager.KeyguardDismissCallback): void;
/** @deprecated */
public newKeyguardLock(tag: string): android.app.KeyguardManager.KeyguardLock;
/** @deprecated */
public exitKeyguardSecurely(callback: android.app.KeyguardManager.OnKeyguardExitResult): void;
public isKeyguardLocked(): boolean;
/** @deprecated */
public inKeyguardRestrictedInputMode(): boolean;
public isDeviceSecure(): boolean;
}
export module KeyguardManager {
export abstract class KeyguardDismissCallback extends java.lang.Object {
public static class: java.lang.Class<android.app.KeyguardManager.KeyguardDismissCallback>;
public onDismissCancelled(): void;
public onDismissError(): void;
public onDismissSucceeded(): void;
public constructor();
}
export class KeyguardLock extends java.lang.Object {
public static class: java.lang.Class<android.app.KeyguardManager.KeyguardLock>;
/** @deprecated */
public reenableKeyguard(): void;
/** @deprecated */
public disableKeyguard(): void;
}
export class OnKeyguardExitResult extends java.lang.Object {
public static class: java.lang.Class<android.app.KeyguardManager.OnKeyguardExitResult>;
/**
* Constructs a new instance of the android.app.KeyguardManager$OnKeyguardExitResult interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onKeyguardExitResult(boolean0: boolean): void;
});
public constructor();
/** @deprecated */
public onKeyguardExitResult(boolean0: boolean): void;
}
}
}
}
declare module android {
export module app {
export abstract class LauncherActivity extends android.app.ListActivity {
public static class: java.lang.Class<android.app.LauncherActivity>;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onCreate(icicle: android.os.Bundle): void;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public onCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onListItemClick(l: android.widget.ListView, v: android.view.View, position: number, id: number): void;
public onDetachedFromWindow(): void;
public getTargetIntent(): android.content.Intent;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public makeListItems(): java.util.List<android.app.LauncherActivity.ListItem>;
public constructor();
public setTitle(title: string): void;
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
public onCreate(savedInstanceState: android.os.Bundle): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onSetContentView(): void;
public setTitle(titleId: number): void;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public onQueryPackageManager(queryIntent: android.content.Intent): java.util.List<android.content.pm.ResolveInfo>;
public itemForPosition(position: number): android.app.LauncherActivity.ListItem;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public intentForPosition(position: number): android.content.Intent;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
}
export module LauncherActivity {
export class IconResizer extends java.lang.Object {
public static class: java.lang.Class<android.app.LauncherActivity.IconResizer>;
public createIconThumbnail(icon: android.graphics.drawable.Drawable): android.graphics.drawable.Drawable;
public constructor(this0: android.app.LauncherActivity);
}
export class ListItem extends java.lang.Object {
public static class: java.lang.Class<android.app.LauncherActivity.ListItem>;
public className: string;
public extras: android.os.Bundle;
public icon: android.graphics.drawable.Drawable;
public label: string;
public packageName: string;
public resolveInfo: android.content.pm.ResolveInfo;
public constructor();
}
}
}
}
declare module android {
export module app {
export class ListActivity extends android.app.Activity {
public static class: java.lang.Class<android.app.ListActivity>;
public onActionModeStarted(mode: android.view.ActionMode): void;
public getListAdapter(): android.widget.ListAdapter;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onDestroy(): void;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public setListAdapter(adapter: android.widget.ListAdapter): void;
public getSelectedItemId(): number;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onRestoreInstanceState(state: android.os.Bundle): void;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onListItemClick(l: android.widget.ListView, v: android.view.View, position: number, id: number): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onDetachedFromWindow(): void;
public setSelection(position: number): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public constructor();
public onRestoreInstanceState(savedInstanceState: android.os.Bundle, persistentState: any): void;
public getSelectedItemPosition(): number;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public getListView(): android.widget.ListView;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle): void;
public onContentChanged(): void;
}
}
}
declare module android {
export module app {
export class ListFragment extends android.app.Fragment {
public static class: java.lang.Class<android.app.ListFragment>;
/** @deprecated */
public getSelectedItemId(): number;
/** @deprecated */
public getListView(): android.widget.ListView;
/** @deprecated */
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
/** @deprecated */
public setListShownNoAnimation(shown: boolean): void;
/** @deprecated */
public onViewCreated(view: android.view.View, savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public getSelectedItemPosition(): number;
/** @deprecated */
public onCreateView(inflater: android.view.LayoutInflater, container: android.view.ViewGroup, savedInstanceState: android.os.Bundle): android.view.View;
/** @deprecated */
public onDestroyView(): void;
/** @deprecated */
public setSelection(position: number): void;
/** @deprecated */
public constructor();
/** @deprecated */
public setListAdapter(adapter: android.widget.ListAdapter): void;
public onTrimMemory(level: number): void;
/** @deprecated */
public getListAdapter(): android.widget.ListAdapter;
/** @deprecated */
public setListShown(shown: boolean): void;
/** @deprecated */
public setEmptyText(text: string): void;
/** @deprecated */
public onListItemClick(l: android.widget.ListView, v: android.view.View, position: number, id: number): void;
/** @deprecated */
public onTrimMemory(level: number): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
}
}
}
declare module android {
export module app {
export abstract class LoaderManager extends java.lang.Object {
public static class: java.lang.Class<android.app.LoaderManager>;
/** @deprecated */
public getLoader(int0: number): android.content.Loader<any>;
/** @deprecated */
public constructor();
/** @deprecated */
public restartLoader(int0: number, bundle1: android.os.Bundle, loaderCallbacks2: android.app.LoaderManager.LoaderCallbacks<any>): android.content.Loader<any>;
/** @deprecated */
public destroyLoader(int0: number): void;
/** @deprecated */
public initLoader(int0: number, bundle1: android.os.Bundle, loaderCallbacks2: android.app.LoaderManager.LoaderCallbacks<any>): android.content.Loader<any>;
/** @deprecated */
public dump(string0: string, fileDescriptor1: java.io.FileDescriptor, printWriter2: java.io.PrintWriter, strings3: native.Array<string>): void;
/** @deprecated */
public static enableDebugLogging(enabled: boolean): void;
}
export module LoaderManager {
export class LoaderCallbacks<D> extends java.lang.Object {
public static class: java.lang.Class<android.app.LoaderManager.LoaderCallbacks<any>>;
/**
* Constructs a new instance of the android.app.LoaderManager$LoaderCallbacks interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onCreateLoader(int0: number, bundle1: android.os.Bundle): android.content.Loader<D>;
onLoadFinished(loader0: android.content.Loader<D>, object1: D): void;
onLoaderReset(loader0: android.content.Loader<D>): void;
});
public constructor();
/** @deprecated */
public onCreateLoader(int0: number, bundle1: android.os.Bundle): android.content.Loader<D>;
/** @deprecated */
public onLoaderReset(loader0: android.content.Loader<D>): void;
/** @deprecated */
public onLoadFinished(loader0: android.content.Loader<D>, object1: D): void;
}
}
}
}
declare module android {
export module app {
export class LocalActivityManager extends java.lang.Object {
public static class: java.lang.Class<android.app.LocalActivityManager>;
/** @deprecated */
public dispatchCreate(state: android.os.Bundle): void;
/** @deprecated */
public constructor(parent: android.app.Activity, singleMode: boolean);
/** @deprecated */
public saveInstanceState(): android.os.Bundle;
/** @deprecated */
public getCurrentId(): string;
/** @deprecated */
public dispatchResume(): void;
/** @deprecated */
public removeAllActivities(): void;
/** @deprecated */
public destroyActivity(id: string, finish: boolean): android.view.Window;
/** @deprecated */
public getCurrentActivity(): android.app.Activity;
/** @deprecated */
public dispatchStop(): void;
/** @deprecated */
public dispatchDestroy(finishing: boolean): void;
/** @deprecated */
public startActivity(id: string, intent: android.content.Intent): android.view.Window;
/** @deprecated */
public dispatchPause(finishing: boolean): void;
/** @deprecated */
public getActivity(id: string): android.app.Activity;
}
}
}
declare module android {
export module app {
export class MediaRouteActionProvider extends android.view.ActionProvider {
public static class: java.lang.Class<android.app.MediaRouteActionProvider>;
public constructor(context: android.content.Context);
public setExtendedSettingsClickListener(listener: android.view.View.OnClickListener): void;
public onCreateActionView(item: android.view.MenuItem): android.view.View;
/** @deprecated */
public onCreateActionView(): android.view.View;
public onCreateActionView(): android.view.View;
public onPerformDefaultAction(): boolean;
public overridesItemVisibility(): boolean;
public onCreateActionView(forItem: android.view.MenuItem): android.view.View;
public isVisible(): boolean;
public setRouteTypes(types: number): void;
}
}
}
declare module android {
export module app {
export class MediaRouteButton extends android.view.View {
public static class: java.lang.Class<android.app.MediaRouteButton>;
public getRouteTypes(): number;
public onDraw(canvas: android.graphics.Canvas): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public drawableStateChanged(): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number);
public scheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void;
public constructor(context: android.content.Context);
public setContentDescription(contentDescription: string): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable): void;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
public jumpDrawablesToCurrentState(): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onDetachedFromWindow(): void;
public setExtendedSettingsClickListener(listener: android.view.View.OnClickListener): void;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public invalidateDrawable(drawable: android.graphics.drawable.Drawable): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable): void;
public setRouteTypes(types: number): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public verifyDrawable(who: android.graphics.drawable.Drawable): boolean;
public onCreateDrawableState(extraSpace: number): native.Array<number>;
public performClick(): boolean;
public onAttachedToWindow(): void;
public setVisibility(visibility: number): void;
public showDialog(): void;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number, defStyleRes: number);
public sendAccessibilityEvent(eventType: number): void;
public sendAccessibilityEventUnchecked(event: android.view.accessibility.AccessibilityEvent): void;
}
}
}
declare module android {
export module app {
export class NativeActivity extends android.app.Activity implements android.view.SurfaceHolder.Callback2, android.view.InputQueue.Callback, android.view.ViewTreeObserver.OnGlobalLayoutListener {
public static class: java.lang.Class<android.app.NativeActivity>;
public static META_DATA_FUNC_NAME: string;
public static META_DATA_LIB_NAME: string;
public onStart(): void;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public surfaceRedrawNeededAsync(holder: android.view.SurfaceHolder, drawingFinished: java.lang.Runnable): void;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public onCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onDetachedFromWindow(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public surfaceRedrawNeeded(holder: android.view.SurfaceHolder): void;
public onResume(): void;
public surfaceChanged(holder: android.view.SurfaceHolder, format: number, width: number, height: number): void;
public constructor();
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
public onInputQueueDestroyed(queue: android.view.InputQueue): void;
public onCreate(savedInstanceState: android.os.Bundle): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onDestroy(): void;
public onSaveInstanceState(outState: android.os.Bundle): void;
public onLowMemory(): void;
public onGlobalLayout(): void;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public onPause(): void;
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onStop(): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onSaveInstanceState(outState: android.os.Bundle, outPersistentState: any): void;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public surfaceDestroyed(holder: android.view.SurfaceHolder): void;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onPointerCaptureChanged(hasCapture: boolean): void;
public onInputQueueCreated(queue: android.view.InputQueue): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public surfaceCreated(holder: android.view.SurfaceHolder): void;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
}
}
}
declare module android {
export module app {
export class Notification extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.Notification>;
public static AUDIO_ATTRIBUTES_DEFAULT: any;
public static BADGE_ICON_LARGE: number;
public static BADGE_ICON_NONE: number;
public static BADGE_ICON_SMALL: number;
public static CATEGORY_ALARM: string;
public static CATEGORY_CALL: string;
public static CATEGORY_EMAIL: string;
public static CATEGORY_ERROR: string;
public static CATEGORY_EVENT: string;
public static CATEGORY_MESSAGE: string;
public static CATEGORY_NAVIGATION: string;
public static CATEGORY_PROGRESS: string;
public static CATEGORY_PROMO: string;
public static CATEGORY_RECOMMENDATION: string;
public static CATEGORY_REMINDER: string;
public static CATEGORY_SERVICE: string;
public static CATEGORY_SOCIAL: string;
public static CATEGORY_STATUS: string;
public static CATEGORY_SYSTEM: string;
public static CATEGORY_TRANSPORT: string;
public static COLOR_DEFAULT: number;
public static CREATOR: android.os.Parcelable.Creator<android.app.Notification>;
public static DEFAULT_ALL: number;
public static DEFAULT_LIGHTS: number;
public static DEFAULT_SOUND: number;
public static DEFAULT_VIBRATE: number;
public static EXTRA_AUDIO_CONTENTS_URI: string;
public static EXTRA_BACKGROUND_IMAGE_URI: string;
public static EXTRA_BIG_TEXT: string;
public static EXTRA_CHANNEL_GROUP_ID: string;
public static EXTRA_CHANNEL_ID: string;
public static EXTRA_CHRONOMETER_COUNT_DOWN: string;
public static EXTRA_COLORIZED: string;
public static EXTRA_COMPACT_ACTIONS: string;
public static EXTRA_CONVERSATION_TITLE: string;
public static EXTRA_HISTORIC_MESSAGES: string;
public static EXTRA_INFO_TEXT: string;
public static EXTRA_IS_GROUP_CONVERSATION: string;
public static EXTRA_LARGE_ICON: string;
public static EXTRA_LARGE_ICON_BIG: string;
public static EXTRA_MEDIA_SESSION: string;
public static EXTRA_MESSAGES: string;
public static EXTRA_MESSAGING_PERSON: string;
public static EXTRA_NOTIFICATION_ID: string;
public static EXTRA_NOTIFICATION_TAG: string;
public static EXTRA_PEOPLE: string;
public static EXTRA_PEOPLE_LIST: string;
public static EXTRA_PICTURE: string;
public static EXTRA_PROGRESS: string;
public static EXTRA_PROGRESS_INDETERMINATE: string;
public static EXTRA_PROGRESS_MAX: string;
public static EXTRA_REMOTE_INPUT_DRAFT: string;
public static EXTRA_REMOTE_INPUT_HISTORY: string;
public static EXTRA_SELF_DISPLAY_NAME: string;
public static EXTRA_SHOW_CHRONOMETER: string;
public static EXTRA_SHOW_WHEN: string;
public static EXTRA_SMALL_ICON: string;
public static EXTRA_SUB_TEXT: string;
public static EXTRA_SUMMARY_TEXT: string;
public static EXTRA_TEMPLATE: string;
public static EXTRA_TEXT: string;
public static EXTRA_TEXT_LINES: string;
public static EXTRA_TITLE: string;
public static EXTRA_TITLE_BIG: string;
public static FLAG_AUTO_CANCEL: number;
public static FLAG_BUBBLE: number;
public static FLAG_FOREGROUND_SERVICE: number;
public static FLAG_GROUP_SUMMARY: number;
public static FLAG_HIGH_PRIORITY: number;
public static FLAG_INSISTENT: number;
public static FLAG_LOCAL_ONLY: number;
public static FLAG_NO_CLEAR: number;
public static FLAG_ONGOING_EVENT: number;
public static FLAG_ONLY_ALERT_ONCE: number;
public static FLAG_SHOW_LIGHTS: number;
public static GROUP_ALERT_ALL: number;
public static GROUP_ALERT_CHILDREN: number;
public static GROUP_ALERT_SUMMARY: number;
public static INTENT_CATEGORY_NOTIFICATION_PREFERENCES: string;
public static PRIORITY_DEFAULT: number;
public static PRIORITY_HIGH: number;
public static PRIORITY_LOW: number;
public static PRIORITY_MAX: number;
public static PRIORITY_MIN: number;
public static STREAM_DEFAULT: number;
public static VISIBILITY_PRIVATE: number;
public static VISIBILITY_PUBLIC: number;
public static VISIBILITY_SECRET: number;
public actions: native.Array<android.app.Notification.Action>;
public audioAttributes: any;
public audioStreamType: number;
public bigContentView: android.widget.RemoteViews;
public category: string;
public color: number;
public contentIntent: android.app.PendingIntent;
public contentView: android.widget.RemoteViews;
public defaults: number;
public deleteIntent: android.app.PendingIntent;
public extras: android.os.Bundle;
public flags: number;
public fullScreenIntent: android.app.PendingIntent;
public headsUpContentView: android.widget.RemoteViews;
public icon: number;
public iconLevel: number;
public largeIcon: android.graphics.Bitmap;
public ledARGB: number;
public ledOffMS: number;
public ledOnMS: number;
public number: number;
public priority: number;
public publicVersion: android.app.Notification;
public sound: android.net.Uri;
public tickerText: string;
public tickerView: android.widget.RemoteViews;
public vibrate: native.Array<number>;
public visibility: number;
public when: number;
/** @deprecated */
public constructor(icon: number, tickerText: string, when: number);
public getLargeIcon(): any;
public getGroup(): string;
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public getShortcutId(): string;
public getChannelId(): string;
public getAllowSystemGeneratedContextualActions(): boolean;
public constructor();
public getBubbleMetadata(): android.app.Notification.BubbleMetadata;
public getLocusId(): android.content.LocusId;
public getBadgeIconType(): number;
public clone(): android.app.Notification;
public clone(): any;
public toString(): string;
public getSmallIcon(): any;
public describeContents(): number;
public getSettingsText(): string;
public getGroupAlertBehavior(): number;
public getTimeoutAfter(): number;
public getSortKey(): string;
public constructor(parcel: android.os.Parcel);
}
export module Notification {
export class Action extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.Notification.Action>;
public static CREATOR: android.os.Parcelable.Creator<android.app.Notification.Action>;
public static SEMANTIC_ACTION_ARCHIVE: number;
public static SEMANTIC_ACTION_CALL: number;
public static SEMANTIC_ACTION_DELETE: number;
public static SEMANTIC_ACTION_MARK_AS_READ: number;
public static SEMANTIC_ACTION_MARK_AS_UNREAD: number;
public static SEMANTIC_ACTION_MUTE: number;
public static SEMANTIC_ACTION_NONE: number;
public static SEMANTIC_ACTION_REPLY: number;
public static SEMANTIC_ACTION_THUMBS_DOWN: number;
public static SEMANTIC_ACTION_THUMBS_UP: number;
public static SEMANTIC_ACTION_UNMUTE: number;
public actionIntent: android.app.PendingIntent;
public icon: number;
public title: string;
public clone(): android.app.Notification.Action;
/** @deprecated */
public constructor(icon: number, title: string, intent: android.app.PendingIntent);
public getDataOnlyRemoteInputs(): native.Array<android.app.RemoteInput>;
public getIcon(): any;
public getRemoteInputs(): native.Array<android.app.RemoteInput>;
public clone(): any;
public describeContents(): number;
public getAllowGeneratedReplies(): boolean;
public getExtras(): android.os.Bundle;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getSemanticAction(): number;
public isContextual(): boolean;
}
export module Action {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.Action.Builder>;
public extend(extender: android.app.Notification.Action.Extender): android.app.Notification.Action.Builder;
public build(): android.app.Notification.Action;
public setContextual(isContextual: boolean): android.app.Notification.Action.Builder;
public addRemoteInput(remoteInput: android.app.RemoteInput): android.app.Notification.Action.Builder;
/** @deprecated */
public constructor(icon: number, title: string, intent: android.app.PendingIntent);
public addExtras(extras: android.os.Bundle): android.app.Notification.Action.Builder;
public getExtras(): android.os.Bundle;
public setAllowGeneratedReplies(allowGeneratedReplies: boolean): android.app.Notification.Action.Builder;
public constructor(icon: any, title: string, intent: android.app.PendingIntent);
public constructor(action: android.app.Notification.Action);
public setSemanticAction(semanticAction: number): android.app.Notification.Action.Builder;
}
export class Extender extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.Action.Extender>;
/**
* Constructs a new instance of the android.app.Notification$Action$Extender interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
extend(builder0: android.app.Notification.Action.Builder): android.app.Notification.Action.Builder;
});
public constructor();
public extend(builder0: android.app.Notification.Action.Builder): android.app.Notification.Action.Builder;
}
export class WearableExtender extends java.lang.Object implements android.app.Notification.Action.Extender {
public static class: java.lang.Class<android.app.Notification.Action.WearableExtender>;
/** @deprecated */
public getCancelLabel(): string;
public getHintLaunchesActivity(): boolean;
/** @deprecated */
public setCancelLabel(label: string): android.app.Notification.Action.WearableExtender;
public setHintLaunchesActivity(hintLaunchesActivity: boolean): android.app.Notification.Action.WearableExtender;
public isAvailableOffline(): boolean;
public constructor(action: android.app.Notification.Action);
/** @deprecated */
public setInProgressLabel(label: string): android.app.Notification.Action.WearableExtender;
public setHintDisplayActionInline(hintDisplayInline: boolean): android.app.Notification.Action.WearableExtender;
public clone(): any;
/** @deprecated */
public setConfirmLabel(label: string): android.app.Notification.Action.WearableExtender;
public constructor();
public extend(builder: android.app.Notification.Action.Builder): android.app.Notification.Action.Builder;
public clone(): android.app.Notification.Action.WearableExtender;
/** @deprecated */
public getConfirmLabel(): string;
/** @deprecated */
public getInProgressLabel(): string;
public setAvailableOffline(availableOffline: boolean): android.app.Notification.Action.WearableExtender;
public getHintDisplayActionInline(): boolean;
}
}
export class BigPictureStyle extends android.app.Notification.Style {
public static class: java.lang.Class<android.app.Notification.BigPictureStyle>;
public bigPicture(b: android.graphics.Bitmap): android.app.Notification.BigPictureStyle;
public bigLargeIcon(b: android.graphics.Bitmap): android.app.Notification.BigPictureStyle;
public setBigContentTitle(title: string): android.app.Notification.BigPictureStyle;
public setSummaryText(cs: string): android.app.Notification.BigPictureStyle;
/** @deprecated */
public constructor(builder: android.app.Notification.Builder);
public bigLargeIcon(icon: any): android.app.Notification.BigPictureStyle;
public constructor();
}
export class BigTextStyle extends android.app.Notification.Style {
public static class: java.lang.Class<android.app.Notification.BigTextStyle>;
public setSummaryText(cs: string): android.app.Notification.BigTextStyle;
public setBigContentTitle(title: string): android.app.Notification.BigTextStyle;
public bigText(cs: string): android.app.Notification.BigTextStyle;
/** @deprecated */
public constructor(builder: android.app.Notification.Builder);
public constructor();
}
export class BubbleMetadata extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.Notification.BubbleMetadata>;
public static CREATOR: android.os.Parcelable.Creator<android.app.Notification.BubbleMetadata>;
public getDesiredHeight(): number;
public getAutoExpandBubble(): boolean;
public getIntent(): android.app.PendingIntent;
public getIcon(): any;
public describeContents(): number;
public getDesiredHeightResId(): number;
public isNotificationSuppressed(): boolean;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getDeleteIntent(): android.app.PendingIntent;
}
export module BubbleMetadata {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.BubbleMetadata.Builder>;
public setDesiredHeight(height: number): android.app.Notification.BubbleMetadata.Builder;
public setAutoExpandBubble(shouldExpand: boolean): android.app.Notification.BubbleMetadata.Builder;
public setIcon(icon: any): android.app.Notification.BubbleMetadata.Builder;
public constructor();
public build(): android.app.Notification.BubbleMetadata;
public setIntent(intent: android.app.PendingIntent): android.app.Notification.BubbleMetadata.Builder;
public setSuppressNotification(shouldSuppressNotif: boolean): android.app.Notification.BubbleMetadata.Builder;
public setDeleteIntent(deleteIntent: android.app.PendingIntent): android.app.Notification.BubbleMetadata.Builder;
public setDesiredHeightResId(heightResId: number): android.app.Notification.BubbleMetadata.Builder;
}
}
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.Builder>;
public setCustomContentView(contentView: android.widget.RemoteViews): android.app.Notification.Builder;
public setGroupAlertBehavior(groupAlertBehavior: number): android.app.Notification.Builder;
public setRemoteInputHistory(text: native.Array<string>): android.app.Notification.Builder;
public setCustomHeadsUpContentView(contentView: android.widget.RemoteViews): android.app.Notification.Builder;
public setAutoCancel(autoCancel: boolean): android.app.Notification.Builder;
public getStyle(): android.app.Notification.Style;
public createBigContentView(): android.widget.RemoteViews;
public static recoverBuilder(context: android.content.Context, n: android.app.Notification): android.app.Notification.Builder;
public constructor(context: android.content.Context, channelId: string);
public setTimeoutAfter(durationMs: number): android.app.Notification.Builder;
/** @deprecated */
public setVibrate(pattern: native.Array<number>): android.app.Notification.Builder;
/** @deprecated */
public setSound(sound: android.net.Uri, audioAttributes: any): android.app.Notification.Builder;
public setContentTitle(title: string): android.app.Notification.Builder;
public setSmallIcon(icon: number, level: number): android.app.Notification.Builder;
public setOnlyAlertOnce(onlyAlertOnce: boolean): android.app.Notification.Builder;
public setSortKey(sortKey: string): android.app.Notification.Builder;
/** @deprecated */
public addAction(icon: number, title: string, intent: android.app.PendingIntent): android.app.Notification.Builder;
public setColorized(colorize: boolean): android.app.Notification.Builder;
public getExtras(): android.os.Bundle;
public setContentIntent(intent: android.app.PendingIntent): android.app.Notification.Builder;
public createHeadsUpContentView(): android.widget.RemoteViews;
/** @deprecated */
public setSound(sound: android.net.Uri): android.app.Notification.Builder;
public setDeleteIntent(intent: android.app.PendingIntent): android.app.Notification.Builder;
/** @deprecated */
public setTicker(tickerText: string, views: android.widget.RemoteViews): android.app.Notification.Builder;
public setActions(actions: native.Array<android.app.Notification.Action>): android.app.Notification.Builder;
/** @deprecated */
public setContentInfo(info: string): android.app.Notification.Builder;
public setWhen(when: number): android.app.Notification.Builder;
/** @deprecated */
public setSound(sound: android.net.Uri, streamType: number): android.app.Notification.Builder;
/** @deprecated */
public getNotification(): android.app.Notification;
public setNumber(number: number): android.app.Notification.Builder;
public setGroup(groupKey: string): android.app.Notification.Builder;
public setStyle(style: android.app.Notification.Style): android.app.Notification.Builder;
public setOngoing(ongoing: boolean): android.app.Notification.Builder;
public setChronometerCountDown(countDown: boolean): android.app.Notification.Builder;
/** @deprecated */
public setContent(views: android.widget.RemoteViews): android.app.Notification.Builder;
public setSmallIcon(icon: any): android.app.Notification.Builder;
public setAllowSystemGeneratedContextualActions(allowed: boolean): android.app.Notification.Builder;
public setGroupSummary(isGroupSummary: boolean): android.app.Notification.Builder;
public setCustomBigContentView(contentView: android.widget.RemoteViews): android.app.Notification.Builder;
public addExtras(extras: android.os.Bundle): android.app.Notification.Builder;
public setUsesChronometer(b: boolean): android.app.Notification.Builder;
public setLargeIcon(icon: any): android.app.Notification.Builder;
public addPerson(person: any): android.app.Notification.Builder;
public setShortcutId(shortcutId: string): android.app.Notification.Builder;
public setCategory(category: string): android.app.Notification.Builder;
public setSubText(text: string): android.app.Notification.Builder;
public setChannelId(channelId: string): android.app.Notification.Builder;
public setFullScreenIntent(intent: android.app.PendingIntent, highPriority: boolean): android.app.Notification.Builder;
public setLargeIcon(b: android.graphics.Bitmap): android.app.Notification.Builder;
public createContentView(): android.widget.RemoteViews;
public setBubbleMetadata(data: android.app.Notification.BubbleMetadata): android.app.Notification.Builder;
public build(): android.app.Notification;
public setColor(int0: number): android.app.Notification.Builder;
public setVisibility(visibility: number): android.app.Notification.Builder;
/** @deprecated */
public setLights(int0: number, onMs: number, offMs: number): android.app.Notification.Builder;
public extend(extender: android.app.Notification.Extender): android.app.Notification.Builder;
public setSettingsText(text: string): android.app.Notification.Builder;
public setTicker(tickerText: string): android.app.Notification.Builder;
public setPublicVersion(n: android.app.Notification): android.app.Notification.Builder;
/** @deprecated */
public setDefaults(defaults: number): android.app.Notification.Builder;
/** @deprecated */
public addPerson(uri: string): android.app.Notification.Builder;
/** @deprecated */
public constructor(context: android.content.Context);
public setExtras(extras: android.os.Bundle): android.app.Notification.Builder;
public setLocusId(locusId: android.content.LocusId): android.app.Notification.Builder;
public addAction(action: android.app.Notification.Action): android.app.Notification.Builder;
public setShowWhen(show: boolean): android.app.Notification.Builder;
public setBadgeIconType(icon: number): android.app.Notification.Builder;
/** @deprecated */
public setPriority(pri: number): android.app.Notification.Builder;
public setContentText(text: string): android.app.Notification.Builder;
public setSmallIcon(icon: number): android.app.Notification.Builder;
public setProgress(max: number, progress: number, indeterminate: boolean): android.app.Notification.Builder;
public setLocalOnly(localOnly: boolean): android.app.Notification.Builder;
}
export class CarExtender extends java.lang.Object implements android.app.Notification.Extender {
public static class: java.lang.Class<android.app.Notification.CarExtender>;
public constructor(notif: android.app.Notification);
public getColor(): number;
public setUnreadConversation(unreadConversation: android.app.Notification.CarExtender.UnreadConversation): android.app.Notification.CarExtender;
public setColor(color: number): android.app.Notification.CarExtender;
public getLargeIcon(): android.graphics.Bitmap;
public setLargeIcon(largeIcon: android.graphics.Bitmap): android.app.Notification.CarExtender;
public getUnreadConversation(): android.app.Notification.CarExtender.UnreadConversation;
public constructor();
public extend(builder: android.app.Notification.Builder): android.app.Notification.Builder;
}
export module CarExtender {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.CarExtender.Builder>;
public setReadPendingIntent(pendingIntent: android.app.PendingIntent): android.app.Notification.CarExtender.Builder;
public setLatestTimestamp(timestamp: number): android.app.Notification.CarExtender.Builder;
public constructor(name: string);
public setReplyAction(pendingIntent: android.app.PendingIntent, remoteInput: android.app.RemoteInput): android.app.Notification.CarExtender.Builder;
public addMessage(message: string): android.app.Notification.CarExtender.Builder;
public build(): android.app.Notification.CarExtender.UnreadConversation;
}
export class UnreadConversation extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.CarExtender.UnreadConversation>;
public getReplyPendingIntent(): android.app.PendingIntent;
public getParticipants(): native.Array<string>;
public getLatestTimestamp(): number;
public getMessages(): native.Array<string>;
public getParticipant(): string;
public getReadPendingIntent(): android.app.PendingIntent;
public getRemoteInput(): android.app.RemoteInput;
}
}
export class DecoratedCustomViewStyle extends android.app.Notification.Style {
public static class: java.lang.Class<android.app.Notification.DecoratedCustomViewStyle>;
public constructor();
}
export class DecoratedMediaCustomViewStyle extends android.app.Notification.MediaStyle {
public static class: java.lang.Class<android.app.Notification.DecoratedMediaCustomViewStyle>;
/** @deprecated */
public constructor(builder: android.app.Notification.Builder);
public constructor();
}
export class Extender extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.Extender>;
/**
* Constructs a new instance of the android.app.Notification$Extender interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
extend(builder0: android.app.Notification.Builder): android.app.Notification.Builder;
});
public constructor();
public extend(builder0: android.app.Notification.Builder): android.app.Notification.Builder;
}
export class InboxStyle extends android.app.Notification.Style {
public static class: java.lang.Class<android.app.Notification.InboxStyle>;
public setBigContentTitle(title: string): android.app.Notification.InboxStyle;
public addLine(cs: string): android.app.Notification.InboxStyle;
/** @deprecated */
public constructor(builder: android.app.Notification.Builder);
public constructor();
public setSummaryText(cs: string): android.app.Notification.InboxStyle;
}
export class MediaStyle extends android.app.Notification.Style {
public static class: java.lang.Class<android.app.Notification.MediaStyle>;
public setShowActionsInCompactView(actions: native.Array<number>): android.app.Notification.MediaStyle;
/** @deprecated */
public constructor(builder: android.app.Notification.Builder);
public setMediaSession(token: any): android.app.Notification.MediaStyle;
public constructor();
}
export class MessagingStyle extends android.app.Notification.Style {
public static class: java.lang.Class<android.app.Notification.MessagingStyle>;
public static MAXIMUM_RETAINED_MESSAGES: number;
/** @deprecated */
public constructor(userDisplayName: string);
public isGroupConversation(): boolean;
public getHistoricMessages(): java.util.List<android.app.Notification.MessagingStyle.Message>;
public getMessages(): java.util.List<android.app.Notification.MessagingStyle.Message>;
public setGroupConversation(isGroupConversation: boolean): android.app.Notification.MessagingStyle;
public addMessage(message: android.app.Notification.MessagingStyle.Message): android.app.Notification.MessagingStyle;
public getConversationTitle(): string;
public constructor();
public getUser(): any;
public setConversationTitle(conversationTitle: string): android.app.Notification.MessagingStyle;
public addMessage(text: string, timestamp: number, sender: any): android.app.Notification.MessagingStyle;
public constructor(user: any);
/** @deprecated */
public addMessage(text: string, timestamp: number, sender: string): android.app.Notification.MessagingStyle;
/** @deprecated */
public getUserDisplayName(): string;
public addHistoricMessage(message: android.app.Notification.MessagingStyle.Message): android.app.Notification.MessagingStyle;
}
export module MessagingStyle {
export class Message extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.MessagingStyle.Message>;
public constructor(text: string, timestamp: number, sender: any);
public setData(dataMimeType: string, dataUri: android.net.Uri): android.app.Notification.MessagingStyle.Message;
/** @deprecated */
public constructor(text: string, timestamp: number, sender: string);
public getDataMimeType(): string;
public getText(): string;
public getTimestamp(): number;
public getSenderPerson(): any;
public getExtras(): android.os.Bundle;
public getDataUri(): android.net.Uri;
/** @deprecated */
public getSender(): string;
}
}
export abstract class Style extends java.lang.Object {
public static class: java.lang.Class<android.app.Notification.Style>;
public mBuilder: android.app.Notification.Builder;
public checkBuilder(): void;
public internalSetBigContentTitle(title: string): void;
public internalSetSummaryText(cs: string): void;
public setBuilder(builder: android.app.Notification.Builder): void;
public constructor();
public getStandardView(layoutId: number): android.widget.RemoteViews;
public build(): android.app.Notification;
}
export class WearableExtender extends java.lang.Object implements android.app.Notification.Extender {
public static class: java.lang.Class<android.app.Notification.WearableExtender>;
public static SCREEN_TIMEOUT_LONG: number;
public static SCREEN_TIMEOUT_SHORT: number;
public static SIZE_DEFAULT: number;
public static SIZE_FULL_SCREEN: number;
public static SIZE_LARGE: number;
public static SIZE_MEDIUM: number;
public static SIZE_SMALL: number;
public static SIZE_XSMALL: number;
public static UNSET_ACTION_INDEX: number;
/** @deprecated */
public setHintAvoidBackgroundClipping(hintAvoidBackgroundClipping: boolean): android.app.Notification.WearableExtender;
public clearActions(): android.app.Notification.WearableExtender;
public constructor(notif: android.app.Notification);
public addActions(actions: java.util.List<android.app.Notification.Action>): android.app.Notification.WearableExtender;
/** @deprecated */
public getDisplayIntent(): android.app.PendingIntent;
/** @deprecated */
public addPage(page: android.app.Notification): android.app.Notification.WearableExtender;
/** @deprecated */
public getCustomSizePreset(): number;
public getContentIntentAvailableOffline(): boolean;
public constructor();
/** @deprecated */
public getCustomContentHeight(): number;
/** @deprecated */
public setHintScreenTimeout(timeout: number): android.app.Notification.WearableExtender;
public clone(): any;
/** @deprecated */
public getContentIconGravity(): number;
public getHintContentIntentLaunchesActivity(): boolean;
/** @deprecated */
public setCustomContentHeight(height: number): android.app.Notification.WearableExtender;
/** @deprecated */
public getHintScreenTimeout(): number;
public getDismissalId(): string;
/** @deprecated */
public setHintHideIcon(hintHideIcon: boolean): android.app.Notification.WearableExtender;
/** @deprecated */
public setHintAmbientBigPicture(hintAmbientBigPicture: boolean): android.app.Notification.WearableExtender;
public setContentAction(actionIndex: number): android.app.Notification.WearableExtender;
/** @deprecated */
public setContentIconGravity(contentIconGravity: number): android.app.Notification.WearableExtender;
/** @deprecated */
public setGravity(gravity: number): android.app.Notification.WearableExtender;
public setHintContentIntentLaunchesActivity(hintContentIntentLaunchesActivity: boolean): android.app.Notification.WearableExtender;
/** @deprecated */
public getBackground(): android.graphics.Bitmap;
public extend(builder: android.app.Notification.Builder): android.app.Notification.Builder;
public getBridgeTag(): string;
/** @deprecated */
public getHintAmbientBigPicture(): boolean;
public setContentIntentAvailableOffline(contentIntentAvailableOffline: boolean): android.app.Notification.WearableExtender;
public setDismissalId(dismissalId: string): android.app.Notification.WearableExtender;
/** @deprecated */
public getGravity(): number;
/** @deprecated */
public getHintHideIcon(): boolean;
/** @deprecated */
public setHintShowBackgroundOnly(hintShowBackgroundOnly: boolean): android.app.Notification.WearableExtender;
/** @deprecated */
public getPages(): java.util.List<android.app.Notification>;
public getStartScrollBottom(): boolean;
/** @deprecated */
public setBackground(background: android.graphics.Bitmap): android.app.Notification.WearableExtender;
/** @deprecated */
public getHintShowBackgroundOnly(): boolean;
public clone(): android.app.Notification.WearableExtender;
/** @deprecated */
public addPages(pages: java.util.List<android.app.Notification>): android.app.Notification.WearableExtender;
public getContentAction(): number;
/** @deprecated */
public setDisplayIntent(intent: android.app.PendingIntent): android.app.Notification.WearableExtender;
/** @deprecated */
public getContentIcon(): number;
public setBridgeTag(bridgeTag: string): android.app.Notification.WearableExtender;
public addAction(action: android.app.Notification.Action): android.app.Notification.WearableExtender;
/** @deprecated */
public setCustomSizePreset(sizePreset: number): android.app.Notification.WearableExtender;
public setStartScrollBottom(startScrollBottom: boolean): android.app.Notification.WearableExtender;
/** @deprecated */
public clearPages(): android.app.Notification.WearableExtender;
/** @deprecated */
public setContentIcon(icon: number): android.app.Notification.WearableExtender;
public getActions(): java.util.List<android.app.Notification.Action>;
/** @deprecated */
public getHintAvoidBackgroundClipping(): boolean;
}
}
}
}
declare module android {
export module app {
export class NotificationChannel extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.NotificationChannel>;
public static CREATOR: android.os.Parcelable.Creator<android.app.NotificationChannel>;
public static DEFAULT_CHANNEL_ID: string;
public getLightColor(): number;
public canShowBadge(): boolean;
public setImportance(importance: number): void;
public getSound(): android.net.Uri;
public setVibrationPattern(vibrationPattern: native.Array<number>): void;
public setBypassDnd(bypassDnd: boolean): void;
public getImportance(): number;
public setDescription(description: string): void;
public getAudioAttributes(): any;
public getLockscreenVisibility(): number;
public getVibrationPattern(): native.Array<number>;
public setLightColor(int0: number): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getGroup(): string;
public setLockscreenVisibility(lockscreenVisibility: number): void;
public setSound(sound: android.net.Uri, audioAttributes: any): void;
public hasUserSetImportance(): boolean;
public setGroup(groupId: string): void;
public canBypassDnd(): boolean;
public getId(): string;
public shouldShowLights(): boolean;
public toString(): string;
public getName(): string;
public shouldVibrate(): boolean;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public setShowBadge(showBadge: boolean): void;
public setAllowBubbles(allowBubbles: boolean): void;
public describeContents(): number;
public setName(name: string): void;
public enableVibration(vibration: boolean): void;
public constructor(id: string, name: string, importance: number);
public getDescription(): string;
public enableLights(lights: boolean): void;
public canBubble(): boolean;
public hashCode(): number;
}
}
}
declare module android {
export module app {
export class NotificationChannelGroup extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.NotificationChannelGroup>;
public static CREATOR: android.os.Parcelable.Creator<android.app.NotificationChannelGroup>;
public isBlocked(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getChannels(): java.util.List<android.app.NotificationChannel>;
public clone(): android.app.NotificationChannelGroup;
public constructor(id: string, name: string);
public getId(): string;
public clone(): any;
public toString(): string;
public getName(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public getDescription(): string;
public setDescription(description: string): void;
public hashCode(): number;
}
}
}
declare module android {
export module app {
export class NotificationManager extends java.lang.Object {
public static class: java.lang.Class<android.app.NotificationManager>;
public static ACTION_APP_BLOCK_STATE_CHANGED: string;
public static ACTION_AUTOMATIC_ZEN_RULE: string;
public static ACTION_INTERRUPTION_FILTER_CHANGED: string;
public static ACTION_NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED: string;
public static ACTION_NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED: string;
public static ACTION_NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED: string;
public static ACTION_NOTIFICATION_POLICY_CHANGED: string;
public static EXTRA_AUTOMATIC_RULE_ID: string;
public static EXTRA_BLOCKED_STATE: string;
public static EXTRA_NOTIFICATION_CHANNEL_GROUP_ID: string;
public static EXTRA_NOTIFICATION_CHANNEL_ID: string;
public static IMPORTANCE_DEFAULT: number;
public static IMPORTANCE_HIGH: number;
public static IMPORTANCE_LOW: number;
public static IMPORTANCE_MAX: number;
public static IMPORTANCE_MIN: number;
public static IMPORTANCE_NONE: number;
public static IMPORTANCE_UNSPECIFIED: number;
public static INTERRUPTION_FILTER_ALARMS: number;
public static INTERRUPTION_FILTER_ALL: number;
public static INTERRUPTION_FILTER_NONE: number;
public static INTERRUPTION_FILTER_PRIORITY: number;
public static INTERRUPTION_FILTER_UNKNOWN: number;
public static META_DATA_AUTOMATIC_RULE_TYPE: string;
public static META_DATA_RULE_INSTANCE_LIMIT: string;
public updateAutomaticZenRule(id: string, automaticZenRule: android.app.AutomaticZenRule): boolean;
public createNotificationChannels(channels: java.util.List<android.app.NotificationChannel>): void;
public getNotificationChannels(): java.util.List<android.app.NotificationChannel>;
public getCurrentInterruptionFilter(): number;
public deleteNotificationChannel(channelId: string): void;
public areBubblesAllowed(): boolean;
public setNotificationDelegate(delegate: string): void;
public getAutomaticZenRule(id: string): android.app.AutomaticZenRule;
public createNotificationChannelGroup(group: android.app.NotificationChannelGroup): void;
public notifyAsPackage(targetPackage: string, tag: string, id: number, notification: android.app.Notification): void;
public getNotificationPolicy(): android.app.NotificationManager.Policy;
public cancel(id: number): void;
public cancel(tag: string, id: number): void;
public cancelAll(): void;
public areNotificationsPaused(): boolean;
public createNotificationChannel(channel: android.app.NotificationChannel): void;
public notify(): void;
public notify(id: number, notification: android.app.Notification): void;
public getImportance(): number;
public notify(tag: string, id: number, notification: android.app.Notification): void;
public isNotificationListenerAccessGranted(listener: android.content.ComponentName): boolean;
public getNotificationChannelGroups(): java.util.List<android.app.NotificationChannelGroup>;
public addAutomaticZenRule(automaticZenRule: android.app.AutomaticZenRule): string;
public deleteNotificationChannelGroup(groupId: string): void;
public setNotificationPolicy(policy: android.app.NotificationManager.Policy): void;
public setInterruptionFilter(interruptionFilter: number): void;
public setAutomaticZenRuleState(id: string, condition: android.service.notification.Condition): void;
public getNotificationChannelGroup(channelGroupId: string): android.app.NotificationChannelGroup;
public getActiveNotifications(): native.Array<android.service.notification.StatusBarNotification>;
public shouldHideSilentStatusBarIcons(): boolean;
public getAutomaticZenRules(): java.util.Map<string,android.app.AutomaticZenRule>;
public getNotificationChannel(channelId: string): android.app.NotificationChannel;
public removeAutomaticZenRule(id: string): boolean;
public isNotificationPolicyAccessGranted(): boolean;
public canNotifyAsPackage(pkg: string): boolean;
public createNotificationChannelGroups(groups: java.util.List<android.app.NotificationChannelGroup>): void;
public areNotificationsEnabled(): boolean;
public getNotificationDelegate(): string;
}
export module NotificationManager {
export class Policy extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.NotificationManager.Policy>;
public static CREATOR: android.os.Parcelable.Creator<android.app.NotificationManager.Policy>;
public static PRIORITY_CATEGORY_ALARMS: number;
public static PRIORITY_CATEGORY_CALLS: number;
public static PRIORITY_CATEGORY_EVENTS: number;
public static PRIORITY_CATEGORY_MEDIA: number;
public static PRIORITY_CATEGORY_MESSAGES: number;
public static PRIORITY_CATEGORY_REMINDERS: number;
public static PRIORITY_CATEGORY_REPEAT_CALLERS: number;
public static PRIORITY_CATEGORY_SYSTEM: number;
public static PRIORITY_SENDERS_ANY: number;
public static PRIORITY_SENDERS_CONTACTS: number;
public static PRIORITY_SENDERS_STARRED: number;
public static SUPPRESSED_EFFECT_AMBIENT: number;
public static SUPPRESSED_EFFECT_BADGE: number;
public static SUPPRESSED_EFFECT_FULL_SCREEN_INTENT: number;
public static SUPPRESSED_EFFECT_LIGHTS: number;
public static SUPPRESSED_EFFECT_NOTIFICATION_LIST: number;
public static SUPPRESSED_EFFECT_PEEK: number;
public static SUPPRESSED_EFFECT_SCREEN_OFF: number;
public static SUPPRESSED_EFFECT_SCREEN_ON: number;
public static SUPPRESSED_EFFECT_STATUS_BAR: number;
public priorityCallSenders: number;
public priorityCategories: number;
public priorityMessageSenders: number;
public suppressedVisualEffects: number;
public static prioritySendersToString(prioritySenders: number): string;
public equals(obj: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public hashCode(): number;
public static priorityCategoriesToString(priorityCategories: number): string;
public constructor(priorityCategories: number, priorityCallSenders: number, priorityMessageSenders: number, suppressedVisualEffects: number);
public describeContents(): number;
public static suppressedEffectsToString(effects: number): string;
public equals(o: any): boolean;
public toString(): string;
public constructor(priorityCategories: number, priorityCallSenders: number, priorityMessageSenders: number);
}
}
}
}
declare module android {
export module app {
export class PendingIntent extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.PendingIntent>;
public static CREATOR: android.os.Parcelable.Creator<android.app.PendingIntent>;
public static FLAG_CANCEL_CURRENT: number;
public static FLAG_IMMUTABLE: number;
public static FLAG_NO_CREATE: number;
public static FLAG_ONE_SHOT: number;
public static FLAG_UPDATE_CURRENT: number;
public send(): void;
public static getActivity(context: android.content.Context, requestCode: number, intent: android.content.Intent, flags: number): android.app.PendingIntent;
public cancel(): void;
public send(code: number): void;
public getCreatorPackage(): string;
public static getActivities(context: android.content.Context, requestCode: number, intents: native.Array<android.content.Intent>, flags: number, options: android.os.Bundle): android.app.PendingIntent;
public getCreatorUserHandle(): android.os.UserHandle;
public send(context: android.content.Context, code: number, intent: android.content.Intent, onFinished: android.app.PendingIntent.OnFinished, handler: android.os.Handler): void;
public static getBroadcast(context: android.content.Context, requestCode: number, intent: android.content.Intent, flags: number): android.app.PendingIntent;
public static readPendingIntentOrNullFromParcel(in0: android.os.Parcel): android.app.PendingIntent;
public static getForegroundService(context: android.content.Context, requestCode: number, intent: android.content.Intent, flags: number): android.app.PendingIntent;
public getCreatorUid(): number;
public send(context: android.content.Context, code: number, intent: android.content.Intent): void;
/** @deprecated */
public getTargetPackage(): string;
public send(context: android.content.Context, code: number, intent: android.content.Intent, onFinished: android.app.PendingIntent.OnFinished, handler: android.os.Handler, requiredPermission: string, options: android.os.Bundle): void;
public send(code: number, onFinished: android.app.PendingIntent.OnFinished, handler: android.os.Handler): void;
public toString(): string;
public static writePendingIntentOrNullToParcel(sender: android.app.PendingIntent, out: android.os.Parcel): void;
public equals(obj: any): boolean;
public getIntentSender(): android.content.IntentSender;
public static getActivity(context: android.content.Context, requestCode: number, intent: android.content.Intent, flags: number, options: android.os.Bundle): android.app.PendingIntent;
public equals(otherObj: any): boolean;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public static getActivities(context: android.content.Context, requestCode: number, intents: native.Array<android.content.Intent>, flags: number): android.app.PendingIntent;
public static getService(context: android.content.Context, requestCode: number, intent: android.content.Intent, flags: number): android.app.PendingIntent;
public send(context: android.content.Context, code: number, intent: android.content.Intent, onFinished: android.app.PendingIntent.OnFinished, handler: android.os.Handler, requiredPermission: string): void;
public hashCode(): number;
}
export module PendingIntent {
export class CanceledException extends android.util.AndroidException {
public static class: java.lang.Class<android.app.PendingIntent.CanceledException>;
public constructor(cause: java.lang.Throwable);
public constructor(name: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor(name: string, cause: java.lang.Throwable);
public constructor();
public constructor(cause: java.lang.Exception);
}
export class OnFinished extends java.lang.Object {
public static class: java.lang.Class<android.app.PendingIntent.OnFinished>;
/**
* Constructs a new instance of the android.app.PendingIntent$OnFinished interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onSendFinished(pendingIntent0: android.app.PendingIntent, intent1: android.content.Intent, int2: number, string3: string, bundle4: android.os.Bundle): void;
});
public constructor();
public onSendFinished(pendingIntent0: android.app.PendingIntent, intent1: android.content.Intent, int2: number, string3: string, bundle4: android.os.Bundle): void;
}
}
}
}
declare module android {
export module app {
export class Person extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.Person>;
public static CREATOR: android.os.Parcelable.Creator<any>;
public getName(): string;
public equals(obj: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getUri(): string;
public describeContents(): number;
public getKey(): string;
public isImportant(): boolean;
public toBuilder(): android.app.Person.Builder;
public isBot(): boolean;
public getIcon(): any;
public hashCode(): number;
}
export module Person {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.Person.Builder>;
public build(): any;
public setName(name: string): android.app.Person.Builder;
public setKey(key: string): android.app.Person.Builder;
public setBot(isBot: boolean): android.app.Person.Builder;
public setUri(uri: string): android.app.Person.Builder;
public setImportant(isImportant: boolean): android.app.Person.Builder;
public constructor();
public setIcon(icon: any): android.app.Person.Builder;
}
}
}
}
declare module android {
export module app {
export class PictureInPictureParams extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.PictureInPictureParams>;
public static CREATOR: android.os.Parcelable.Creator<android.app.PictureInPictureParams>;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
}
export module PictureInPictureParams {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.PictureInPictureParams.Builder>;
public setAspectRatio(aspectRatio: android.util.Rational): android.app.PictureInPictureParams.Builder;
public setActions(actions: java.util.List<any>): android.app.PictureInPictureParams.Builder;
public setSourceRectHint(launchBounds: android.graphics.Rect): android.app.PictureInPictureParams.Builder;
public build(): android.app.PictureInPictureParams;
public constructor();
}
}
}
}
declare module android {
export module app {
export class Presentation extends android.app.Dialog {
public static class: java.lang.Class<android.app.Presentation>;
public show(): void;
public getResources(): android.content.res.Resources;
public onStart(): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public cancel(): void;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(context: android.content.Context);
public constructor(outerContext: android.content.Context, display: android.view.Display);
public constructor(outerContext: android.content.Context, display: android.view.Display, theme: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, cancelable: boolean, cancelListener: android.content.DialogInterface.OnCancelListener);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onDisplayChanged(): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onStop(): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onDetachedFromWindow(): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dismiss(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public getDisplay(): android.view.Display;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onDisplayRemoved(): void;
public constructor(context: android.content.Context, themeResId: number);
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onAttachedToWindow(): void;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
}
}
}
declare module android {
export module app {
export class ProgressDialog extends android.app.AlertDialog {
public static class: java.lang.Class<android.app.ProgressDialog>;
public static STYLE_HORIZONTAL: number;
public static STYLE_SPINNER: number;
/** @deprecated */
public setProgressStyle(style: number): void;
public onStart(): void;
/** @deprecated */
public setIndeterminate(indeterminate: boolean): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
/** @deprecated */
public static show(context: android.content.Context, title: string, message: string, indeterminate: boolean, cancelable: boolean): android.app.ProgressDialog;
/** @deprecated */
public static show(context: android.content.Context, title: string, message: string, indeterminate: boolean, cancelable: boolean, cancelListener: android.content.DialogInterface.OnCancelListener): android.app.ProgressDialog;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
/** @deprecated */
public onStop(): void;
public cancel(): void;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
/** @deprecated */
public constructor(context: android.content.Context);
public onSearchRequested(): boolean;
public constructor(context: android.content.Context);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
/** @deprecated */
public getProgress(): number;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public setMessage(message: string): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onDetachedFromWindow(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
/** @deprecated */
public getMax(): number;
/** @deprecated */
public incrementProgressBy(diff: number): void;
/** @deprecated */
public setProgressNumberFormat(format: string): void;
/** @deprecated */
public static show(context: android.content.Context, title: string, message: string, indeterminate: boolean): android.app.ProgressDialog;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
/** @deprecated */
public setSecondaryProgress(secondaryProgress: number): void;
/** @deprecated */
public static show(context: android.content.Context, title: string, message: string): android.app.ProgressDialog;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
public show(): void;
public onCreate(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public getSecondaryProgress(): number;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
/** @deprecated */
public setProgress(value: number): void;
public constructor(context: android.content.Context, cancelable: boolean, cancelListener: android.content.DialogInterface.OnCancelListener);
/** @deprecated */
public isIndeterminate(): boolean;
/** @deprecated */
public setMax(max: number): void;
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
/** @deprecated */
public onStart(): void;
public onStop(): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
/** @deprecated */
public setProgressDrawable(d: android.graphics.drawable.Drawable): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public dismiss(): void;
/** @deprecated */
public onCreate(savedInstanceState: android.os.Bundle): void;
/** @deprecated */
public constructor(context: android.content.Context, theme: number);
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
/** @deprecated */
public setProgressPercentFormat(format: java.text.NumberFormat): void;
/** @deprecated */
public setIndeterminateDrawable(d: android.graphics.drawable.Drawable): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, themeResId: number);
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
/** @deprecated */
public incrementSecondaryProgressBy(diff: number): void;
public onAttachedToWindow(): void;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
/** @deprecated */
public setMessage(message: string): void;
}
}
}
declare module android {
export module app {
export class RecoverableSecurityException extends java.lang.SecurityException implements android.os.Parcelable {
public static class: java.lang.Class<android.app.RecoverableSecurityException>;
public static CREATOR: android.os.Parcelable.Creator<android.app.RecoverableSecurityException>;
public getUserMessage(): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public constructor(message: string, cause: java.lang.Throwable);
public constructor(s: string);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
public getUserAction(): any;
public constructor(cause: java.lang.Throwable, userMessage: string, userAction: any);
}
}
}
declare module android {
export module app {
export class RemoteAction extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.RemoteAction>;
public static CREATOR: android.os.Parcelable.Creator<any>;
public shouldShowIcon(): boolean;
public getTitle(): string;
public getActionIntent(): android.app.PendingIntent;
public setEnabled(enabled: boolean): void;
public dump(prefix: string, pw: java.io.PrintWriter): void;
public getIcon(): any;
public getContentDescription(): string;
public isEnabled(): boolean;
public constructor(icon: any, title: string, contentDescription: string, intent: android.app.PendingIntent);
public clone(): any;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public setShouldShowIcon(shouldShowIcon: boolean): void;
}
}
}
declare module android {
export module app {
export class RemoteInput extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.RemoteInput>;
public static CREATOR: android.os.Parcelable.Creator<android.app.RemoteInput>;
public static EDIT_CHOICES_BEFORE_SENDING_AUTO: number;
public static EDIT_CHOICES_BEFORE_SENDING_DISABLED: number;
public static EDIT_CHOICES_BEFORE_SENDING_ENABLED: number;
public static EXTRA_RESULTS_DATA: string;
public static RESULTS_CLIP_LABEL: string;
public static SOURCE_CHOICE: number;
public static SOURCE_FREE_FORM_INPUT: number;
public getLabel(): string;
public getAllowedDataTypes(): java.util.Set<string>;
public getAllowFreeFormInput(): boolean;
public static addResultsToIntent(remoteInputs: native.Array<android.app.RemoteInput>, intent: android.content.Intent, results: android.os.Bundle): void;
public static getDataResultsFromIntent(intent: android.content.Intent, remoteInputResultKey: string): java.util.Map<string,android.net.Uri>;
public getEditChoicesBeforeSending(): number;
public getChoices(): native.Array<string>;
public isDataOnly(): boolean;
public static addDataResultToIntent(remoteInput: android.app.RemoteInput, intent: android.content.Intent, results: java.util.Map<string,android.net.Uri>): void;
public static getResultsSource(intent: android.content.Intent): number;
public static setResultsSource(intent: android.content.Intent, source: number): void;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public static getResultsFromIntent(intent: android.content.Intent): android.os.Bundle;
public getResultKey(): string;
public getExtras(): android.os.Bundle;
}
export module RemoteInput {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.RemoteInput.Builder>;
public build(): android.app.RemoteInput;
public setLabel(label: string): android.app.RemoteInput.Builder;
public constructor(resultKey: string);
public setEditChoicesBeforeSending(editChoicesBeforeSending: number): android.app.RemoteInput.Builder;
public setAllowDataType(mimeType: string, doAllow: boolean): android.app.RemoteInput.Builder;
public getExtras(): android.os.Bundle;
public addExtras(extras: android.os.Bundle): android.app.RemoteInput.Builder;
public setChoices(choices: native.Array<string>): android.app.RemoteInput.Builder;
public setAllowFreeFormInput(allowFreeFormTextInput: boolean): android.app.RemoteInput.Builder;
}
}
}
}
declare module android {
export module app {
export class SearchManager extends java.lang.Object implements android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnCancelListener {
public static class: java.lang.Class<android.app.SearchManager>;
public static ACTION_KEY: string;
public static ACTION_MSG: string;
public static APP_DATA: string;
public static CURSOR_EXTRA_KEY_IN_PROGRESS: string;
public static EXTRA_DATA_KEY: string;
public static EXTRA_NEW_SEARCH: string;
public static EXTRA_SELECT_QUERY: string;
public static EXTRA_WEB_SEARCH_PENDINGINTENT: string;
public static FLAG_QUERY_REFINEMENT: number;
public static INTENT_ACTION_GLOBAL_SEARCH: string;
public static INTENT_ACTION_SEARCHABLES_CHANGED: string;
public static INTENT_ACTION_SEARCH_SETTINGS: string;
public static INTENT_ACTION_SEARCH_SETTINGS_CHANGED: string;
public static INTENT_ACTION_WEB_SEARCH_SETTINGS: string;
public static INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED: string;
public static MENU_KEY: string;
public static MENU_KEYCODE: number;
public static QUERY: string;
public static SHORTCUT_MIME_TYPE: string;
public static SUGGEST_COLUMN_AUDIO_CHANNEL_CONFIG: string;
public static SUGGEST_COLUMN_CONTENT_TYPE: string;
public static SUGGEST_COLUMN_DURATION: string;
public static SUGGEST_COLUMN_FLAGS: string;
public static SUGGEST_COLUMN_FORMAT: string;
public static SUGGEST_COLUMN_ICON_1: string;
public static SUGGEST_COLUMN_ICON_2: string;
public static SUGGEST_COLUMN_INTENT_ACTION: string;
public static SUGGEST_COLUMN_INTENT_DATA: string;
public static SUGGEST_COLUMN_INTENT_DATA_ID: string;
public static SUGGEST_COLUMN_INTENT_EXTRA_DATA: string;
public static SUGGEST_COLUMN_IS_LIVE: string;
public static SUGGEST_COLUMN_LAST_ACCESS_HINT: string;
public static SUGGEST_COLUMN_PRODUCTION_YEAR: string;
public static SUGGEST_COLUMN_PURCHASE_PRICE: string;
public static SUGGEST_COLUMN_QUERY: string;
public static SUGGEST_COLUMN_RATING_SCORE: string;
public static SUGGEST_COLUMN_RATING_STYLE: string;
public static SUGGEST_COLUMN_RENTAL_PRICE: string;
public static SUGGEST_COLUMN_RESULT_CARD_IMAGE: string;
public static SUGGEST_COLUMN_SHORTCUT_ID: string;
public static SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING: string;
public static SUGGEST_COLUMN_TEXT_1: string;
public static SUGGEST_COLUMN_TEXT_2: string;
public static SUGGEST_COLUMN_TEXT_2_URL: string;
public static SUGGEST_COLUMN_VIDEO_HEIGHT: string;
public static SUGGEST_COLUMN_VIDEO_WIDTH: string;
public static SUGGEST_MIME_TYPE: string;
public static SUGGEST_NEVER_MAKE_SHORTCUT: string;
public static SUGGEST_PARAMETER_LIMIT: string;
public static SUGGEST_URI_PATH_QUERY: string;
public static SUGGEST_URI_PATH_SHORTCUT: string;
public static USER_QUERY: string;
/** @deprecated */
public onCancel(dialog: android.content.DialogInterface): void;
/** @deprecated */
public onDismiss(dialog: android.content.DialogInterface): void;
public getSearchablesInGlobalSearch(): java.util.List<android.app.SearchableInfo>;
public getGlobalSearchActivity(): android.content.ComponentName;
public stopSearch(): void;
public setOnDismissListener(listener: android.app.SearchManager.OnDismissListener): void;
public getSearchableInfo(componentName: android.content.ComponentName): android.app.SearchableInfo;
public startSearch(initialQuery: string, selectInitialQuery: boolean, launchActivity: android.content.ComponentName, appSearchData: android.os.Bundle, globalSearch: boolean): void;
public onDismiss(dialog: android.content.DialogInterface): void;
public onCancel(dialog: android.content.DialogInterface): void;
public triggerSearch(query: string, launchActivity: android.content.ComponentName, appSearchData: android.os.Bundle): void;
public setOnCancelListener(listener: android.app.SearchManager.OnCancelListener): void;
}
export module SearchManager {
export class OnCancelListener extends java.lang.Object {
public static class: java.lang.Class<android.app.SearchManager.OnCancelListener>;
/**
* Constructs a new instance of the android.app.SearchManager$OnCancelListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onCancel(): void;
});
public constructor();
public onCancel(): void;
}
export class OnDismissListener extends java.lang.Object {
public static class: java.lang.Class<android.app.SearchManager.OnDismissListener>;
/**
* Constructs a new instance of the android.app.SearchManager$OnDismissListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onDismiss(): void;
});
public constructor();
public onDismiss(): void;
}
}
}
}
declare module android {
export module app {
export class SearchableInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.SearchableInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.SearchableInfo>;
public getSearchActivity(): android.content.ComponentName;
public getImeOptions(): number;
public getVoiceLanguageModeId(): number;
public getVoicePromptTextId(): number;
public getSuggestThreshold(): number;
public getVoiceMaxResults(): number;
public getVoiceSearchLaunchWebSearch(): boolean;
public getSuggestAuthority(): string;
public getSettingsDescriptionId(): number;
public getVoiceLanguageId(): number;
public getInputType(): number;
public getSuggestSelection(): string;
public getSuggestPackage(): string;
public autoUrlDetect(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getSuggestPath(): string;
public getSuggestIntentAction(): string;
public shouldIncludeInGlobalSearch(): boolean;
public getHintId(): number;
public queryAfterZeroResults(): boolean;
public describeContents(): number;
public getSuggestIntentData(): string;
public getVoiceSearchEnabled(): boolean;
public getVoiceSearchLaunchRecognizer(): boolean;
public shouldRewriteQueryFromText(): boolean;
public shouldRewriteQueryFromData(): boolean;
}
}
}
declare module android {
export module app {
export abstract class Service extends android.content.ContextWrapper implements android.content.ComponentCallbacks2 {
public static class: java.lang.Class<android.app.Service>;
public static START_CONTINUATION_MASK: number;
public static START_FLAG_REDELIVERY: number;
public static START_FLAG_RETRY: number;
public static START_NOT_STICKY: number;
public static START_REDELIVER_INTENT: number;
public static START_STICKY: number;
public static START_STICKY_COMPATIBILITY: number;
public static STOP_FOREGROUND_DETACH: number;
public static STOP_FOREGROUND_REMOVE: number;
public onUnbind(intent: android.content.Intent): boolean;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public onBind(intent0: android.content.Intent): android.os.IBinder;
public onRebind(intent: android.content.Intent): void;
public stopSelfResult(startId: number): boolean;
public startForeground(id: number, notification: android.app.Notification): void;
public onCreate(): void;
public constructor();
public getApplication(): android.app.Application;
public onDestroy(): void;
public startForeground(id: number, notification: android.app.Notification, foregroundServiceType: number): void;
public onLowMemory(): void;
public getForegroundServiceType(): number;
public dump(fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings2: native.Array<string>): void;
/** @deprecated */
public onStart(intent: android.content.Intent, startId: number): void;
public stopForeground(removeNotification: boolean): void;
public stopForeground(flags: number): void;
public onTrimMemory(level: number): void;
public onStartCommand(intent: android.content.Intent, flags: number, startId: number): number;
public stopSelf(): void;
public constructor(base: android.content.Context);
public onTaskRemoved(rootIntent: android.content.Intent): void;
public stopSelf(startId: number): void;
}
}
}
declare module android {
export module app {
export abstract class SharedElementCallback extends java.lang.Object {
public static class: java.lang.Class<any>;
public onCreateSnapshotView(context: android.content.Context, snapshot: android.os.Parcelable): android.view.View;
public onMapSharedElements(names: java.util.List<string>, sharedElements: java.util.Map<string,android.view.View>): void;
public onSharedElementsArrived(sharedElementNames: java.util.List<string>, sharedElements: java.util.List<android.view.View>, listener: any): void;
public onSharedElementStart(sharedElementNames: java.util.List<string>, sharedElements: java.util.List<android.view.View>, sharedElementSnapshots: java.util.List<android.view.View>): void;
public onCaptureSharedElementSnapshot(sharedElement: android.view.View, viewToGlobalMatrix: android.graphics.Matrix, screenBounds: android.graphics.RectF): android.os.Parcelable;
public onSharedElementEnd(sharedElementNames: java.util.List<string>, sharedElements: java.util.List<android.view.View>, sharedElementSnapshots: java.util.List<android.view.View>): void;
public constructor();
public onRejectSharedElements(rejectedSharedElements: java.util.List<android.view.View>): void;
}
export module SharedElementCallback {
export class OnSharedElementsReadyListener extends java.lang.Object {
public static class: java.lang.Class<any>;
/**
* Constructs a new instance of the any$OnSharedElementsReadyListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onSharedElementsReady(): void;
});
public constructor();
public onSharedElementsReady(): void;
}
}
}
}
declare module android {
export module app {
export class StatusBarManager extends java.lang.Object {
public static class: java.lang.Class<android.app.StatusBarManager>;
}
}
}
declare module android {
export module app {
export class TabActivity extends android.app.ActivityGroup {
public static class: java.lang.Class<android.app.TabActivity>;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public onCreateView(name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
/** @deprecated */
public getTabHost(): android.widget.TabHost;
/** @deprecated */
public constructor(singleActivityMode: boolean);
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(base: android.content.Context, themeResId: number);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
/** @deprecated */
public constructor();
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
/** @deprecated */
public setDefaultTab(index: number): void;
/** @deprecated */
public onRestoreInstanceState(state: android.os.Bundle): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onDetachedFromWindow(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
/** @deprecated */
public onPostCreate(icicle: android.os.Bundle): void;
public onPostCreate(savedInstanceState: android.os.Bundle): void;
public onTrimMemory(level: number): void;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
/** @deprecated */
public setDefaultTab(tag: string): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onContentChanged(): void;
/** @deprecated */
public onChildTitleChanged(childActivity: android.app.Activity, title: string): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onCreatePanelView(featureId: number): android.view.View;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
/** @deprecated */
public onSaveInstanceState(outState: android.os.Bundle): void;
/** @deprecated */
public getTabWidget(): android.widget.TabWidget;
public constructor(base: android.content.Context, theme: android.content.res.Resources.Theme);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onWindowFocusChanged(hasFocus: boolean): void;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onChildTitleChanged(childActivity: android.app.Activity, title: string): void;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onSaveInstanceState(outState: android.os.Bundle, outPersistentState: any): void;
public onPostCreate(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onCreateView(parent: android.view.View, name: string, context: android.content.Context, attrs: android.util.AttributeSet): android.view.View;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
/** @deprecated */
public onContentChanged(): void;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle, persistentState: any): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public onAttachedToWindow(): void;
public constructor(base: android.content.Context);
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle): void;
}
}
}
declare module android {
export module app {
export class TaskInfo extends java.lang.Object {
public static class: java.lang.Class<android.app.TaskInfo>;
public baseActivity: android.content.ComponentName;
public baseIntent: android.content.Intent;
public isRunning: boolean;
public numActivities: number;
public origActivity: android.content.ComponentName;
public taskDescription: android.app.ActivityManager.TaskDescription;
public taskId: number;
public topActivity: android.content.ComponentName;
public toString(): string;
}
}
}
declare module android {
export module app {
export class TaskStackBuilder extends java.lang.Object {
public static class: java.lang.Class<android.app.TaskStackBuilder>;
public getIntents(): native.Array<android.content.Intent>;
public static create(context: android.content.Context): android.app.TaskStackBuilder;
public addParentStack(sourceActivityName: android.content.ComponentName): android.app.TaskStackBuilder;
public startActivities(): void;
public startActivities(options: android.os.Bundle): void;
public getPendingIntent(requestCode: number, flags: number, options: android.os.Bundle): android.app.PendingIntent;
public getIntentCount(): number;
public addParentStack(sourceActivity: android.app.Activity): android.app.TaskStackBuilder;
public addNextIntentWithParentStack(nextIntent: android.content.Intent): android.app.TaskStackBuilder;
public addParentStack(sourceActivityClass: java.lang.Class<any>): android.app.TaskStackBuilder;
public editIntentAt(index: number): android.content.Intent;
public getPendingIntent(requestCode: number, flags: number): android.app.PendingIntent;
public addNextIntent(nextIntent: android.content.Intent): android.app.TaskStackBuilder;
}
}
}
declare module android {
export module app {
export class TimePickerDialog extends android.app.AlertDialog implements android.content.DialogInterface.OnClickListener, android.widget.TimePicker.OnTimeChangedListener {
public static class: java.lang.Class<android.app.TimePickerDialog>;
public show(): void;
public onActionModeStarted(mode: android.view.ActionMode): void;
public onActionModeFinished(mode: android.view.ActionMode): void;
public onClick(dialog: android.content.DialogInterface, which: number): void;
public onCreatePanelView(featureId: number): android.view.View;
public onMenuOpened(featureId: number, menu: android.view.Menu): boolean;
public cancel(): void;
public dispatchTrackballEvent(ev: android.view.MotionEvent): boolean;
public onPreparePanel(featureId: number, view: android.view.View, menu: android.view.Menu): boolean;
public onMenuItemSelected(featureId: number, item: android.view.MenuItem): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public onSearchRequested(): boolean;
public constructor(context: android.content.Context);
public dispatchPopulateAccessibilityEvent(event: android.view.accessibility.AccessibilityEvent): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, cancelable: boolean, cancelListener: android.content.DialogInterface.OnCancelListener);
public dispatchGenericMotionEvent(ev: android.view.MotionEvent): boolean;
public onSaveInstanceState(): android.os.Bundle;
public onWindowFocusChanged(hasFocus: boolean): void;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public onCreateContextMenu(menu: android.view.ContextMenu, v: android.view.View, menuInfo: android.view.ContextMenu.ContextMenuInfo): void;
public onDetachedFromWindow(): void;
public onCreatePanelMenu(featureId: number, menu: android.view.Menu): boolean;
public onWindowStartingActionMode(callback: android.view.ActionMode.Callback): android.view.ActionMode;
public updateTime(hourOfDay: number, minuteOfHour: number): void;
public dismiss(): void;
public dispatchKeyShortcutEvent(event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, themeResId: number, listener: android.app.TimePickerDialog.OnTimeSetListener, hourOfDay: number, minute: number, is24HourView: boolean);
public onTimeChanged(view: android.widget.TimePicker, hourOfDay: number, minute: number): void;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, listener: android.app.TimePickerDialog.OnTimeSetListener, hourOfDay: number, minute: number, is24HourView: boolean);
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
public constructor(context: android.content.Context, themeResId: number);
public onPointerCaptureChanged(hasCapture: boolean): void;
public dispatchTouchEvent(ev: android.view.MotionEvent): boolean;
public dispatchKeyEvent(event: android.view.KeyEvent): boolean;
public onAttachedToWindow(): void;
public onWindowAttributesChanged(params: android.view.WindowManager.LayoutParams): void;
public onPanelClosed(featureId: number, menu: android.view.Menu): void;
public onProvideKeyboardShortcuts(data: java.util.List<any>, menu: android.view.Menu, deviceId: number): void;
public onSearchRequested(searchEvent: any): boolean;
public onRestoreInstanceState(savedInstanceState: android.os.Bundle): void;
public onContentChanged(): void;
}
export module TimePickerDialog {
export class OnTimeSetListener extends java.lang.Object {
public static class: java.lang.Class<android.app.TimePickerDialog.OnTimeSetListener>;
/**
* Constructs a new instance of the android.app.TimePickerDialog$OnTimeSetListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onTimeSet(timePicker0: android.widget.TimePicker, int1: number, int2: number): void;
});
public constructor();
public onTimeSet(timePicker0: android.widget.TimePicker, int1: number, int2: number): void;
}
}
}
}
declare module android {
export module app {
export class UiAutomation extends java.lang.Object {
public static class: java.lang.Class<android.app.UiAutomation>;
public static FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES: number;
public static ROTATION_FREEZE_0: number;
public static ROTATION_FREEZE_180: number;
public static ROTATION_FREEZE_270: number;
public static ROTATION_FREEZE_90: number;
public static ROTATION_FREEZE_CURRENT: number;
public static ROTATION_UNFREEZE: number;
public takeScreenshot(): android.graphics.Bitmap;
public revokeRuntimePermissionAsUser(packageName: string, permission: string, userHandle: android.os.UserHandle): void;
public getWindows(): java.util.List<android.view.accessibility.AccessibilityWindowInfo>;
public adoptShellPermissionIdentity(permissions: native.Array<string>): void;
public executeAndWaitForEvent(command: java.lang.Runnable, filter: android.app.UiAutomation.AccessibilityEventFilter, timeoutMillis: number): android.view.accessibility.AccessibilityEvent;
public getRootInActiveWindow(): android.view.accessibility.AccessibilityNodeInfo;
public grantRuntimePermission(packageName: string, permission: string): void;
public revokeRuntimePermission(packageName: string, permission: string): void;
public adoptShellPermissionIdentity(): void;
public grantRuntimePermissionAsUser(packageName: string, permission: string, userHandle: android.os.UserHandle): void;
public waitForIdle(idleTimeoutMillis: number, globalTimeoutMillis: number): void;
public setRunAsMonkey(enable: boolean): void;
public clearWindowAnimationFrameStats(): void;
public injectInputEvent(event: android.view.InputEvent, sync: boolean): boolean;
public setRotation(rotation: number): boolean;
public clearWindowContentFrameStats(windowId: number): boolean;
public setServiceInfo(info: android.accessibilityservice.AccessibilityServiceInfo): void;
public getWindowAnimationFrameStats(): android.view.WindowAnimationFrameStats;
public dropShellPermissionIdentity(): void;
public getServiceInfo(): android.accessibilityservice.AccessibilityServiceInfo;
public setOnAccessibilityEventListener(listener: android.app.UiAutomation.OnAccessibilityEventListener): void;
public performGlobalAction(action: number): boolean;
public getWindowContentFrameStats(windowId: number): android.view.WindowContentFrameStats;
public executeShellCommand(command: string): android.os.ParcelFileDescriptor;
public findFocus(focus: number): android.view.accessibility.AccessibilityNodeInfo;
}
export module UiAutomation {
export class AccessibilityEventFilter extends java.lang.Object {
public static class: java.lang.Class<android.app.UiAutomation.AccessibilityEventFilter>;
/**
* Constructs a new instance of the android.app.UiAutomation$AccessibilityEventFilter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
accept(accessibilityEvent0: android.view.accessibility.AccessibilityEvent): boolean;
});
public constructor();
public accept(accessibilityEvent0: android.view.accessibility.AccessibilityEvent): boolean;
}
export class OnAccessibilityEventListener extends java.lang.Object {
public static class: java.lang.Class<android.app.UiAutomation.OnAccessibilityEventListener>;
/**
* Constructs a new instance of the android.app.UiAutomation$OnAccessibilityEventListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onAccessibilityEvent(accessibilityEvent0: android.view.accessibility.AccessibilityEvent): void;
});
public constructor();
public onAccessibilityEvent(accessibilityEvent0: android.view.accessibility.AccessibilityEvent): void;
}
}
}
}
declare module android {
export module app {
export class UiModeManager extends java.lang.Object {
public static class: java.lang.Class<android.app.UiModeManager>;
public static ACTION_ENTER_CAR_MODE: string;
public static ACTION_ENTER_DESK_MODE: string;
public static ACTION_EXIT_CAR_MODE: string;
public static ACTION_EXIT_DESK_MODE: string;
public static DISABLE_CAR_MODE_GO_HOME: number;
public static ENABLE_CAR_MODE_ALLOW_SLEEP: number;
public static ENABLE_CAR_MODE_GO_CAR_HOME: number;
public static MODE_NIGHT_AUTO: number;
public static MODE_NIGHT_NO: number;
public static MODE_NIGHT_YES: number;
public getNightMode(): number;
public enableCarMode(flags: number): void;
public disableCarMode(flags: number): void;
public setNightMode(mode: number): void;
public getCurrentModeType(): number;
}
}
}
declare module android {
export module app {
export class VoiceInteractor extends java.lang.Object {
public static class: java.lang.Class<android.app.VoiceInteractor>;
public getActiveRequests(): native.Array<android.app.VoiceInteractor.Request>;
public isDestroyed(): boolean;
public notifyDirectActionsChanged(): void;
public submitRequest(request: android.app.VoiceInteractor.Request): boolean;
public unregisterOnDestroyedCallback(callback: java.lang.Runnable): boolean;
public supportsCommands(commands: native.Array<string>): native.Array<boolean>;
public submitRequest(request: android.app.VoiceInteractor.Request, name: string): boolean;
public registerOnDestroyedCallback(executor: java.util.concurrent.Executor, callback: java.lang.Runnable): boolean;
public getActiveRequest(name: string): android.app.VoiceInteractor.Request;
}
export module VoiceInteractor {
export class AbortVoiceRequest extends android.app.VoiceInteractor.Request {
public static class: java.lang.Class<android.app.VoiceInteractor.AbortVoiceRequest>;
public constructor(prompt: android.app.VoiceInteractor.Prompt, extras: android.os.Bundle);
public onAbortResult(result: android.os.Bundle): void;
}
export class CommandRequest extends android.app.VoiceInteractor.Request {
public static class: java.lang.Class<android.app.VoiceInteractor.CommandRequest>;
public onCommandResult(isCompleted: boolean, result: android.os.Bundle): void;
public constructor(command: string, bundle1: android.os.Bundle);
}
export class CompleteVoiceRequest extends android.app.VoiceInteractor.Request {
public static class: java.lang.Class<android.app.VoiceInteractor.CompleteVoiceRequest>;
public constructor(prompt: android.app.VoiceInteractor.Prompt, extras: android.os.Bundle);
public onCompleteResult(result: android.os.Bundle): void;
}
export class ConfirmationRequest extends android.app.VoiceInteractor.Request {
public static class: java.lang.Class<android.app.VoiceInteractor.ConfirmationRequest>;
public onConfirmationResult(confirmed: boolean, result: android.os.Bundle): void;
public constructor(prompt: android.app.VoiceInteractor.Prompt, extras: android.os.Bundle);
}
export class PickOptionRequest extends android.app.VoiceInteractor.Request {
public static class: java.lang.Class<android.app.VoiceInteractor.PickOptionRequest>;
public constructor(prompt: android.app.VoiceInteractor.Prompt, options: native.Array<android.app.VoiceInteractor.PickOptionRequest.Option>, extras: android.os.Bundle);
public onPickOptionResult(finished: boolean, selections: native.Array<android.app.VoiceInteractor.PickOptionRequest.Option>, result: android.os.Bundle): void;
}
export module PickOptionRequest {
export class Option extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.VoiceInteractor.PickOptionRequest.Option>;
public static CREATOR: android.os.Parcelable.Creator<android.app.VoiceInteractor.PickOptionRequest.Option>;
public getLabel(): string;
public getIndex(): number;
public constructor(label: string, index: number);
public setExtras(extras: android.os.Bundle): void;
public describeContents(): number;
public countSynonyms(): number;
public addSynonym(synonym: string): android.app.VoiceInteractor.PickOptionRequest.Option;
public getExtras(): android.os.Bundle;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getSynonymAt(index: number): string;
}
}
export class Prompt extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.VoiceInteractor.Prompt>;
public static CREATOR: android.os.Parcelable.Creator<android.app.VoiceInteractor.Prompt>;
public constructor(prompt: string);
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getVisualPrompt(): string;
public getVoicePromptAt(index: number): string;
public describeContents(): number;
public countVoicePrompts(): number;
public constructor(voicePrompts: native.Array<string>, visualPrompt: string);
public toString(): string;
}
export abstract class Request extends java.lang.Object {
public static class: java.lang.Class<android.app.VoiceInteractor.Request>;
public onCancel(): void;
public cancel(): void;
public getName(): string;
public toString(): string;
public getContext(): android.content.Context;
public getActivity(): android.app.Activity;
public onAttached(activity: android.app.Activity): void;
public onDetached(): void;
}
}
}
}
declare module android {
export module app {
export class WallpaperColors extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.WallpaperColors>;
public static CREATOR: android.os.Parcelable.Creator<android.app.WallpaperColors>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public static fromBitmap(bitmap: android.graphics.Bitmap): android.app.WallpaperColors;
public constructor(primaryColor: android.graphics.Color, secondaryColor: android.graphics.Color, tertiaryColor: android.graphics.Color);
public static fromDrawable(drawable: android.graphics.drawable.Drawable): android.app.WallpaperColors;
public getSecondaryColor(): android.graphics.Color;
public getPrimaryColor(): android.graphics.Color;
public getTertiaryColor(): android.graphics.Color;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public constructor(parcel: android.os.Parcel);
public hashCode(): number;
}
}
}
declare module android {
export module app {
export class WallpaperInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.WallpaperInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.WallpaperInfo>;
public dump(pw: android.util.Printer, prefix: string): void;
public getSettingsSliceUri(): android.net.Uri;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getPackageName(): string;
public getShowMetadataInPreview(): boolean;
public getServiceName(): string;
public loadIcon(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public constructor(context: android.content.Context, service: android.content.pm.ResolveInfo);
public getComponent(): android.content.ComponentName;
public toString(): string;
public supportsMultipleDisplays(): boolean;
public loadThumbnail(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public loadContextUri(pm: android.content.pm.PackageManager): android.net.Uri;
public loadAuthor(pm: android.content.pm.PackageManager): string;
public getServiceInfo(): android.content.pm.ServiceInfo;
public loadLabel(pm: android.content.pm.PackageManager): string;
public describeContents(): number;
public loadDescription(pm: android.content.pm.PackageManager): string;
public getSettingsActivity(): string;
public loadContextDescription(pm: android.content.pm.PackageManager): string;
}
}
}
declare module android {
export module app {
export class WallpaperManager extends java.lang.Object {
public static class: java.lang.Class<android.app.WallpaperManager>;
public static ACTION_CHANGE_LIVE_WALLPAPER: string;
public static ACTION_CROP_AND_SET_WALLPAPER: string;
public static ACTION_LIVE_WALLPAPER_CHOOSER: string;
public static COMMAND_DROP: string;
public static COMMAND_SECONDARY_TAP: string;
public static COMMAND_TAP: string;
public static EXTRA_LIVE_WALLPAPER_COMPONENT: string;
public static FLAG_LOCK: number;
public static FLAG_SYSTEM: number;
public static WALLPAPER_PREVIEW_META_DATA: string;
public getBuiltInDrawable(): android.graphics.drawable.Drawable;
public removeOnColorsChangedListener(callback: android.app.WallpaperManager.OnColorsChangedListener): void;
public getDesiredMinimumHeight(): number;
public clearWallpaper(): void;
public getWallpaperColors(which: number): android.app.WallpaperColors;
public getBuiltInDrawable(which: number): android.graphics.drawable.Drawable;
public setStream(bitmapData: java.io.InputStream): void;
public getWallpaperInfo(): android.app.WallpaperInfo;
public isSetWallpaperAllowed(): boolean;
public peekFastDrawable(): android.graphics.drawable.Drawable;
public forgetLoadedWallpaper(): void;
public getCropAndSetWallpaperIntent(imageUri: android.net.Uri): android.content.Intent;
public setResource(resid: number, which: number): number;
public getFastDrawable(): android.graphics.drawable.Drawable;
public setBitmap(fullImage: android.graphics.Bitmap, visibleCropHint: android.graphics.Rect, allowBackup: boolean): number;
public getWallpaperId(which: number): number;
public setBitmap(fullImage: android.graphics.Bitmap, visibleCropHint: android.graphics.Rect, allowBackup: boolean, which: number): number;
public setStream(bitmapData: java.io.InputStream, visibleCropHint: android.graphics.Rect, allowBackup: boolean): number;
public setWallpaperOffsetSteps(xStep: number, yStep: number): void;
public getWallpaperFile(which: number): android.os.ParcelFileDescriptor;
public setResource(resid: number): void;
public setDisplayPadding(padding: android.graphics.Rect): void;
public getBuiltInDrawable(outWidth: number, outHeight: number, scaleToFit: boolean, horizontalAlignment: number, verticalAlignment: number): android.graphics.drawable.Drawable;
public static getInstance(context: android.content.Context): android.app.WallpaperManager;
public clear(): void;
public getDrawable(): android.graphics.drawable.Drawable;
public sendWallpaperCommand(windowToken: android.os.IBinder, action: string, x: number, y: number, z: number, extras: android.os.Bundle): void;
public getDesiredMinimumWidth(): number;
public getBuiltInDrawable(outWidth: number, outHeight: number, scaleToFit: boolean, horizontalAlignment: number, verticalAlignment: number, which: number): android.graphics.drawable.Drawable;
public setWallpaperOffsets(windowToken: android.os.IBinder, xOffset: number, yOffset: number): void;
public clearWallpaperOffsets(windowToken: android.os.IBinder): void;
public setStream(bitmapData: java.io.InputStream, visibleCropHint: android.graphics.Rect, allowBackup: boolean, which: number): number;
public setBitmap(bitmap: android.graphics.Bitmap): void;
public hasResourceWallpaper(resid: number): boolean;
public isWallpaperSupported(): boolean;
public addOnColorsChangedListener(listener: android.app.WallpaperManager.OnColorsChangedListener, handler: android.os.Handler): void;
public peekDrawable(): android.graphics.drawable.Drawable;
public clear(which: number): void;
public suggestDesiredDimensions(minimumWidth: number, minimumHeight: number): void;
}
export module WallpaperManager {
export class OnColorsChangedListener extends java.lang.Object {
public static class: java.lang.Class<android.app.WallpaperManager.OnColorsChangedListener>;
/**
* Constructs a new instance of the android.app.WallpaperManager$OnColorsChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onColorsChanged(wallpaperColors0: android.app.WallpaperColors, int1: number): void;
});
public constructor();
public onColorsChanged(wallpaperColors0: android.app.WallpaperColors, int1: number): void;
}
}
}
}
declare module android {
export module app {
export class ZygotePreload extends java.lang.Object {
public static class: java.lang.Class<android.app.ZygotePreload>;
/**
* Constructs a new instance of the android.app.ZygotePreload interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
doPreload(applicationInfo0: android.content.pm.ApplicationInfo): void;
});
public constructor();
public doPreload(applicationInfo0: android.content.pm.ApplicationInfo): void;
}
}
}
declare module android {
export module app {
export module admin {
export class ConnectEvent extends android.app.admin.NetworkEvent implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.ConnectEvent>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.ConnectEvent>;
public getInetAddress(): java.net.InetAddress;
public getPort(): number;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public toString(): string;
public writeToParcel(parcel0: android.os.Parcel, int1: number): void;
}
}
}
}
declare module android {
export module app {
export module admin {
export class DelegatedAdminReceiver extends android.content.BroadcastReceiver {
public static class: java.lang.Class<android.app.admin.DelegatedAdminReceiver>;
public onNetworkLogsAvailable(context: android.content.Context, intent: android.content.Intent, batchToken: number, networkLogsCount: number): void;
public onReceive(context0: android.content.Context, intent1: android.content.Intent): void;
public onChoosePrivateKeyAlias(context: android.content.Context, intent: android.content.Intent, uid: number, uri: android.net.Uri, alias: string): string;
public constructor();
public onReceive(context: android.content.Context, intent: android.content.Intent): void;
}
}
}
}
declare module android {
export module app {
export module admin {
export class DeviceAdminInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.DeviceAdminInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.DeviceAdminInfo>;
public static USES_ENCRYPTED_STORAGE: number;
public static USES_POLICY_DISABLE_CAMERA: number;
public static USES_POLICY_DISABLE_KEYGUARD_FEATURES: number;
public static USES_POLICY_EXPIRE_PASSWORD: number;
public static USES_POLICY_FORCE_LOCK: number;
public static USES_POLICY_LIMIT_PASSWORD: number;
public static USES_POLICY_RESET_PASSWORD: number;
public static USES_POLICY_WATCH_LOGIN: number;
public static USES_POLICY_WIPE_DATA: number;
public constructor(context: android.content.Context, resolveInfo: android.content.pm.ResolveInfo);
public supportsTransferOwnership(): boolean;
public isVisible(): boolean;
public getTagForPolicy(policyIdent: number): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getPackageName(): string;
public getComponent(): android.content.ComponentName;
public loadLabel(pm: android.content.pm.PackageManager): string;
public usesPolicy(policyIdent: number): boolean;
public loadIcon(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public toString(): string;
public loadDescription(pm: android.content.pm.PackageManager): string;
public dump(pw: android.util.Printer, prefix: string): void;
public getActivityInfo(): android.content.pm.ActivityInfo;
public describeContents(): number;
public getReceiverName(): string;
}
}
}
}
declare module android {
export module app {
export module admin {
export class DeviceAdminReceiver extends android.content.BroadcastReceiver {
public static class: java.lang.Class<android.app.admin.DeviceAdminReceiver>;
public static ACTION_CHOOSE_PRIVATE_KEY_ALIAS: string;
public static ACTION_DEVICE_ADMIN_DISABLED: string;
public static ACTION_DEVICE_ADMIN_DISABLE_REQUESTED: string;
public static ACTION_DEVICE_ADMIN_ENABLED: string;
public static ACTION_LOCK_TASK_ENTERING: string;
public static ACTION_LOCK_TASK_EXITING: string;
public static ACTION_NETWORK_LOGS_AVAILABLE: string;
public static ACTION_PASSWORD_CHANGED: string;
public static ACTION_PASSWORD_EXPIRING: string;
public static ACTION_PASSWORD_FAILED: string;
public static ACTION_PASSWORD_SUCCEEDED: string;
public static ACTION_PROFILE_PROVISIONING_COMPLETE: string;
public static BUGREPORT_FAILURE_FAILED_COMPLETING: number;
public static BUGREPORT_FAILURE_FILE_NO_LONGER_AVAILABLE: number;
public static DEVICE_ADMIN_META_DATA: string;
public static EXTRA_DISABLE_WARNING: string;
public static EXTRA_LOCK_TASK_PACKAGE: string;
public static EXTRA_TRANSFER_OWNERSHIP_ADMIN_EXTRAS_BUNDLE: string;
public onPasswordExpiring(context: android.content.Context, intent: android.content.Intent, user: android.os.UserHandle): void;
public onDisableRequested(context: android.content.Context, intent: android.content.Intent): string;
public onSystemUpdatePending(context: android.content.Context, intent: android.content.Intent, receivedTime: number): void;
public onBugreportShared(context: android.content.Context, intent: android.content.Intent, bugreportHash: string): void;
public onUserSwitched(context: android.content.Context, intent: android.content.Intent, switchedUser: android.os.UserHandle): void;
public onDisabled(context: android.content.Context, intent: android.content.Intent): void;
public onPasswordFailed(context: android.content.Context, intent: android.content.Intent, user: android.os.UserHandle): void;
/** @deprecated */
public onPasswordChanged(context: android.content.Context, intent: android.content.Intent): void;
public constructor();
public onReceive(context: android.content.Context, intent: android.content.Intent): void;
public getWho(context: android.content.Context): android.content.ComponentName;
public onNetworkLogsAvailable(context: android.content.Context, intent: android.content.Intent, batchToken: number, networkLogsCount: number): void;
public onPasswordChanged(context: android.content.Context, intent: android.content.Intent, user: android.os.UserHandle): void;
public onUserStarted(context: android.content.Context, intent: android.content.Intent, startedUser: android.os.UserHandle): void;
public onUserRemoved(context: android.content.Context, intent: android.content.Intent, removedUser: android.os.UserHandle): void;
/** @deprecated */
public onPasswordSucceeded(context: android.content.Context, intent: android.content.Intent): void;
public onProfileProvisioningComplete(context: android.content.Context, intent: android.content.Intent): void;
/** @deprecated */
public onReadyForUserInitialization(context: android.content.Context, intent: android.content.Intent): void;
public onChoosePrivateKeyAlias(context: android.content.Context, intent: android.content.Intent, uid: number, uri: android.net.Uri, alias: string): string;
public onLockTaskModeEntering(context: android.content.Context, intent: android.content.Intent, pkg: string): void;
public getManager(context: android.content.Context): android.app.admin.DevicePolicyManager;
/** @deprecated */
public onPasswordExpiring(context: android.content.Context, intent: android.content.Intent): void;
public onLockTaskModeExiting(context: android.content.Context, intent: android.content.Intent): void;
public onSecurityLogsAvailable(context: android.content.Context, intent: android.content.Intent): void;
public onTransferAffiliatedProfileOwnershipComplete(context: android.content.Context, user: android.os.UserHandle): void;
public onBugreportSharingDeclined(context: android.content.Context, intent: android.content.Intent): void;
public onTransferOwnershipComplete(context: android.content.Context, bundle: any): void;
public onEnabled(context: android.content.Context, intent: android.content.Intent): void;
public onPasswordSucceeded(context: android.content.Context, intent: android.content.Intent, user: android.os.UserHandle): void;
public onUserStopped(context: android.content.Context, intent: android.content.Intent, stoppedUser: android.os.UserHandle): void;
public onReceive(context0: android.content.Context, intent1: android.content.Intent): void;
/** @deprecated */
public onPasswordFailed(context: android.content.Context, intent: android.content.Intent): void;
public onBugreportFailed(context: android.content.Context, intent: android.content.Intent, failureCode: number): void;
public onUserAdded(context: android.content.Context, intent: android.content.Intent, newUser: android.os.UserHandle): void;
}
}
}
}
declare module android {
export module app {
export module admin {
export class DeviceAdminService extends android.app.Service {
public static class: java.lang.Class<android.app.admin.DeviceAdminService>;
public onTrimMemory(level: number): void;
public onBind(intent: android.content.Intent): android.os.IBinder;
public onBind(intent0: android.content.Intent): android.os.IBinder;
public constructor();
public constructor(base: android.content.Context);
}
}
}
}
declare module android {
export module app {
export module admin {
export class DevicePolicyManager extends java.lang.Object {
public static class: java.lang.Class<android.app.admin.DevicePolicyManager>;
public static ACTION_ADD_DEVICE_ADMIN: string;
public static ACTION_ADMIN_POLICY_COMPLIANCE: string;
public static ACTION_APPLICATION_DELEGATION_SCOPES_CHANGED: string;
public static ACTION_DEVICE_ADMIN_SERVICE: string;
public static ACTION_DEVICE_OWNER_CHANGED: string;
public static ACTION_GET_PROVISIONING_MODE: string;
public static ACTION_MANAGED_PROFILE_PROVISIONED: string;
public static ACTION_PROFILE_OWNER_CHANGED: string;
public static ACTION_PROVISIONING_SUCCESSFUL: string;
public static ACTION_PROVISION_MANAGED_DEVICE: string;
public static ACTION_PROVISION_MANAGED_PROFILE: string;
public static ACTION_SET_NEW_PARENT_PROFILE_PASSWORD: string;
public static ACTION_SET_NEW_PASSWORD: string;
public static ACTION_START_ENCRYPTION: string;
public static ACTION_SYSTEM_UPDATE_POLICY_CHANGED: string;
public static DELEGATION_APP_RESTRICTIONS: string;
public static DELEGATION_BLOCK_UNINSTALL: string;
public static DELEGATION_CERT_INSTALL: string;
public static DELEGATION_CERT_SELECTION: string;
public static DELEGATION_ENABLE_SYSTEM_APP: string;
public static DELEGATION_INSTALL_EXISTING_PACKAGE: string;
public static DELEGATION_KEEP_UNINSTALLED_PACKAGES: string;
public static DELEGATION_NETWORK_LOGGING: string;
public static DELEGATION_PACKAGE_ACCESS: string;
public static DELEGATION_PERMISSION_GRANT: string;
public static ENCRYPTION_STATUS_ACTIVATING: number;
public static ENCRYPTION_STATUS_ACTIVE: number;
public static ENCRYPTION_STATUS_ACTIVE_DEFAULT_KEY: number;
public static ENCRYPTION_STATUS_ACTIVE_PER_USER: number;
public static ENCRYPTION_STATUS_INACTIVE: number;
public static ENCRYPTION_STATUS_UNSUPPORTED: number;
public static EXTRA_ADD_EXPLANATION: string;
public static EXTRA_DELEGATION_SCOPES: string;
public static EXTRA_DEVICE_ADMIN: string;
public static EXTRA_PASSWORD_COMPLEXITY: string;
public static EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE: string;
public static EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE: string;
public static EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME: string;
public static EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION_CODE: string;
public static EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSUM: string;
public static EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_COOKIE_HEADER: string;
public static EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION: string;
public static EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME: string;
public static EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM: string;
public static EXTRA_PROVISIONING_DISCLAIMERS: string;
public static EXTRA_PROVISIONING_DISCLAIMER_CONTENT: string;
public static EXTRA_PROVISIONING_DISCLAIMER_HEADER: string;
public static EXTRA_PROVISIONING_EMAIL_ADDRESS: string;
public static EXTRA_PROVISIONING_IMEI: string;
public static EXTRA_PROVISIONING_KEEP_ACCOUNT_ON_MIGRATION: string;
public static EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED: string;
public static EXTRA_PROVISIONING_LOCALE: string;
public static EXTRA_PROVISIONING_LOCAL_TIME: string;
public static EXTRA_PROVISIONING_LOGO_URI: string;
public static EXTRA_PROVISIONING_MAIN_COLOR: string;
public static EXTRA_PROVISIONING_MODE: string;
public static EXTRA_PROVISIONING_SERIAL_NUMBER: string;
public static EXTRA_PROVISIONING_SKIP_EDUCATION_SCREENS: string;
public static EXTRA_PROVISIONING_SKIP_ENCRYPTION: string;
public static EXTRA_PROVISIONING_SKIP_USER_CONSENT: string;
public static EXTRA_PROVISIONING_TIME_ZONE: string;
public static EXTRA_PROVISIONING_WIFI_ANONYMOUS_IDENTITY: string;
public static EXTRA_PROVISIONING_WIFI_CA_CERTIFICATE: string;
public static EXTRA_PROVISIONING_WIFI_DOMAIN: string;
public static EXTRA_PROVISIONING_WIFI_EAP_METHOD: string;
public static EXTRA_PROVISIONING_WIFI_HIDDEN: string;
public static EXTRA_PROVISIONING_WIFI_IDENTITY: string;
public static EXTRA_PROVISIONING_WIFI_PAC_URL: string;
public static EXTRA_PROVISIONING_WIFI_PASSWORD: string;
public static EXTRA_PROVISIONING_WIFI_PHASE2_AUTH: string;
public static EXTRA_PROVISIONING_WIFI_PROXY_BYPASS: string;
public static EXTRA_PROVISIONING_WIFI_PROXY_HOST: string;
public static EXTRA_PROVISIONING_WIFI_PROXY_PORT: string;
public static EXTRA_PROVISIONING_WIFI_SECURITY_TYPE: string;
public static EXTRA_PROVISIONING_WIFI_SSID: string;
public static EXTRA_PROVISIONING_WIFI_USER_CERTIFICATE: string;
public static FLAG_EVICT_CREDENTIAL_ENCRYPTION_KEY: number;
public static FLAG_MANAGED_CAN_ACCESS_PARENT: number;
public static FLAG_PARENT_CAN_ACCESS_MANAGED: number;
public static ID_TYPE_BASE_INFO: number;
public static ID_TYPE_IMEI: number;
public static ID_TYPE_MEID: number;
public static ID_TYPE_SERIAL: number;
public static INSTALLKEY_REQUEST_CREDENTIALS_ACCESS: number;
public static INSTALLKEY_SET_USER_SELECTABLE: number;
public static KEYGUARD_DISABLE_BIOMETRICS: number;
public static KEYGUARD_DISABLE_FACE: number;
public static KEYGUARD_DISABLE_FEATURES_ALL: number;
public static KEYGUARD_DISABLE_FEATURES_NONE: number;
public static KEYGUARD_DISABLE_FINGERPRINT: number;
public static KEYGUARD_DISABLE_IRIS: number;
public static KEYGUARD_DISABLE_REMOTE_INPUT: number;
public static KEYGUARD_DISABLE_SECURE_CAMERA: number;
public static KEYGUARD_DISABLE_SECURE_NOTIFICATIONS: number;
public static KEYGUARD_DISABLE_TRUST_AGENTS: number;
public static KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS: number;
public static KEYGUARD_DISABLE_WIDGETS_ALL: number;
public static LEAVE_ALL_SYSTEM_APPS_ENABLED: number;
public static LOCK_TASK_FEATURE_GLOBAL_ACTIONS: number;
public static LOCK_TASK_FEATURE_HOME: number;
public static LOCK_TASK_FEATURE_KEYGUARD: number;
public static LOCK_TASK_FEATURE_NONE: number;
public static LOCK_TASK_FEATURE_NOTIFICATIONS: number;
public static LOCK_TASK_FEATURE_OVERVIEW: number;
public static LOCK_TASK_FEATURE_SYSTEM_INFO: number;
public static MAKE_USER_EPHEMERAL: number;
public static MIME_TYPE_PROVISIONING_NFC: string;
public static PASSWORD_COMPLEXITY_HIGH: number;
public static PASSWORD_COMPLEXITY_LOW: number;
public static PASSWORD_COMPLEXITY_MEDIUM: number;
public static PASSWORD_COMPLEXITY_NONE: number;
public static PASSWORD_QUALITY_ALPHABETIC: number;
public static PASSWORD_QUALITY_ALPHANUMERIC: number;
public static PASSWORD_QUALITY_BIOMETRIC_WEAK: number;
public static PASSWORD_QUALITY_COMPLEX: number;
public static PASSWORD_QUALITY_NUMERIC: number;
public static PASSWORD_QUALITY_NUMERIC_COMPLEX: number;
public static PASSWORD_QUALITY_SOMETHING: number;
public static PASSWORD_QUALITY_UNSPECIFIED: number;
public static PERMISSION_GRANT_STATE_DEFAULT: number;
public static PERMISSION_GRANT_STATE_DENIED: number;
public static PERMISSION_GRANT_STATE_GRANTED: number;
public static PERMISSION_POLICY_AUTO_DENY: number;
public static PERMISSION_POLICY_AUTO_GRANT: number;
public static PERMISSION_POLICY_PROMPT: number;
public static POLICY_DISABLE_CAMERA: string;
public static POLICY_DISABLE_SCREEN_CAPTURE: string;
public static PRIVATE_DNS_MODE_OFF: number;
public static PRIVATE_DNS_MODE_OPPORTUNISTIC: number;
public static PRIVATE_DNS_MODE_PROVIDER_HOSTNAME: number;
public static PRIVATE_DNS_MODE_UNKNOWN: number;
public static PRIVATE_DNS_SET_ERROR_FAILURE_SETTING: number;
public static PRIVATE_DNS_SET_ERROR_HOST_NOT_SERVING: number;
public static PRIVATE_DNS_SET_NO_ERROR: number;
public static PROVISIONING_MODE_FULLY_MANAGED_DEVICE: number;
public static PROVISIONING_MODE_MANAGED_PROFILE: number;
public static RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT: number;
public static RESET_PASSWORD_REQUIRE_ENTRY: number;
public static SKIP_SETUP_WIZARD: number;
public static WIPE_EUICC: number;
public static WIPE_EXTERNAL_STORAGE: number;
public static WIPE_RESET_PROTECTION_DATA: number;
public static WIPE_SILENTLY: number;
public resetPasswordWithToken(admin: android.content.ComponentName, password: string, token: native.Array<number>, flags: number): boolean;
public retrievePreRebootSecurityLogs(admin: android.content.ComponentName): java.util.List<android.app.admin.SecurityLog.SecurityEvent>;
public isEphemeralUser(admin: android.content.ComponentName): boolean;
public getAutoTimeRequired(): boolean;
public updateOverrideApn(admin: android.content.ComponentName, apnId: number, apnSetting: android.telephony.data.ApnSetting): boolean;
public enableSystemApp(admin: android.content.ComponentName, packageName: string): void;
public removeCrossProfileWidgetProvider(admin: android.content.ComponentName, packageName: string): boolean;
public createAdminSupportIntent(restriction: string): android.content.Intent;
public getWifiMacAddress(admin: android.content.ComponentName): string;
public setPermittedCrossProfileNotificationListeners(admin: android.content.ComponentName, packageList: java.util.List<string>): boolean;
public setKeyguardDisabled(admin: android.content.ComponentName, disabled: boolean): boolean;
public setPermittedAccessibilityServices(admin: android.content.ComponentName, packageNames: java.util.List<string>): boolean;
public setKeyguardDisabledFeatures(admin: android.content.ComponentName, which: number): void;
public setBluetoothContactSharingDisabled(admin: android.content.ComponentName, disabled: boolean): void;
public getPasswordExpirationTimeout(admin: android.content.ComponentName): number;
public setPasswordMinimumLetters(admin: android.content.ComponentName, length: number): void;
public clearApplicationUserData(admin: android.content.ComponentName, packageName: string, executor: java.util.concurrent.Executor, listener: android.app.admin.DevicePolicyManager.OnClearApplicationUserDataListener): void;
public setAlwaysOnVpnPackage(admin: android.content.ComponentName, vpnPackage: string, lockdownEnabled: boolean): void;
public setSecurityLoggingEnabled(admin: android.content.ComponentName, enabled: boolean): void;
public setDeviceOwnerLockScreenInfo(admin: android.content.ComponentName, info: string): void;
public getCrossProfileWidgetProviders(admin: android.content.ComponentName): java.util.List<string>;
public installKeyPair(admin: android.content.ComponentName, privKey: java.security.PrivateKey, certs: native.Array<java.security.cert.Certificate>, alias: string, requestAccess: boolean): boolean;
public getApplicationRestrictions(admin: android.content.ComponentName, packageName: string): android.os.Bundle;
public isAlwaysOnVpnLockdownEnabled(admin: android.content.ComponentName): boolean;
public getTransferOwnershipBundle(): any;
public getRequiredStrongAuthTimeout(admin: android.content.ComponentName): number;
public getBluetoothContactSharingDisabled(admin: android.content.ComponentName): boolean;
public setShortSupportMessage(admin: android.content.ComponentName, message: string): void;
public getInstalledCaCerts(admin: android.content.ComponentName): java.util.List<native.Array<number>>;
public setPasswordQuality(admin: android.content.ComponentName, quality: number): void;
public setPasswordMinimumNumeric(admin: android.content.ComponentName, length: number): void;
public setTimeZone(admin: android.content.ComponentName, timeZone: string): boolean;
public setUserIcon(admin: android.content.ComponentName, icon: android.graphics.Bitmap): void;
public isAffiliatedUser(): boolean;
public getPasswordMinimumLowerCase(admin: android.content.ComponentName): number;
public getAlwaysOnVpnLockdownWhitelist(admin: android.content.ComponentName): java.util.Set<string>;
public setTime(admin: android.content.ComponentName, millis: number): boolean;
public isPackageSuspended(admin: android.content.ComponentName, packageName: string): boolean;
public setPasswordMinimumLength(admin: android.content.ComponentName, length: number): void;
public getMeteredDataDisabledPackages(admin: android.content.ComponentName): java.util.List<string>;
public getCrossProfileCallerIdDisabled(admin: android.content.ComponentName): boolean;
public setDelegatedScopes(admin: android.content.ComponentName, delegatePackage: string, scopes: java.util.List<string>): void;
public setOrganizationColor(admin: android.content.ComponentName, color: number): void;
public getPasswordQuality(admin: android.content.ComponentName): number;
public addUserRestriction(admin: android.content.ComponentName, key: string): void;
public getAffiliationIds(admin: android.content.ComponentName): java.util.Set<string>;
public isResetPasswordTokenActive(admin: android.content.ComponentName): boolean;
public getStorageEncryptionStatus(): number;
public getPasswordMinimumUpperCase(admin: android.content.ComponentName): number;
/** @deprecated */
public setCertInstallerPackage(admin: android.content.ComponentName, installerPackage: string): void;
public setDefaultSmsApplication(admin: android.content.ComponentName, packageName: string): void;
public setLockTaskPackages(admin: android.content.ComponentName, packages: native.Array<string>): void;
public isLockTaskPermitted(pkg: string): boolean;
public isApplicationHidden(admin: android.content.ComponentName, packageName: string): boolean;
public setScreenCaptureDisabled(admin: android.content.ComponentName, disabled: boolean): void;
public setPasswordExpirationTimeout(admin: android.content.ComponentName, timeout: number): void;
public setAccountManagementDisabled(admin: android.content.ComponentName, accountType: string, disabled: boolean): void;
public isSecurityLoggingEnabled(admin: android.content.ComponentName): boolean;
public isUsingUnifiedPassword(admin: android.content.ComponentName): boolean;
public setMasterVolumeMuted(admin: android.content.ComponentName, on: boolean): void;
public getSystemUpdatePolicy(): android.app.admin.SystemUpdatePolicy;
public setCrossProfileContactsSearchDisabled(admin: android.content.ComponentName, disabled: boolean): void;
public clearUserRestriction(admin: android.content.ComponentName, key: string): void;
public setProfileName(admin: android.content.ComponentName, profileName: string): void;
public setTrustAgentConfiguration(admin: android.content.ComponentName, target: android.content.ComponentName, configuration: any): void;
public transferOwnership(admin: android.content.ComponentName, target: android.content.ComponentName, bundle: any): void;
public setSystemUpdatePolicy(admin: android.content.ComponentName, policy: android.app.admin.SystemUpdatePolicy): void;
public isDeviceOwnerApp(packageName: string): boolean;
public setLockTaskFeatures(admin: android.content.ComponentName, flags: number): void;
public clearPackagePersistentPreferredActivities(admin: android.content.ComponentName, packageName: string): void;
public getDeviceOwnerLockScreenInfo(): string;
public getCrossProfileContactsSearchDisabled(admin: android.content.ComponentName): boolean;
public getLongSupportMessage(admin: android.content.ComponentName): string;
public getActiveAdmins(): java.util.List<android.content.ComponentName>;
public getSecondaryUsers(admin: android.content.ComponentName): java.util.List<android.os.UserHandle>;
public setLogoutEnabled(admin: android.content.ComponentName, enabled: boolean): void;
public lockNow(): void;
public getPermittedAccessibilityServices(admin: android.content.ComponentName): java.util.List<string>;
public getEndUserSessionMessage(admin: android.content.ComponentName): string;
public setRestrictionsProvider(admin: android.content.ComponentName, provider: android.content.ComponentName): void;
public setSystemSetting(admin: android.content.ComponentName, setting: string, value: string): void;
/** @deprecated */
public clearProfileOwner(admin: android.content.ComponentName): void;
public setAlwaysOnVpnPackage(admin: android.content.ComponentName, vpnPackage: string, lockdownEnabled: boolean, lockdownWhitelist: java.util.Set<string>): void;
public setPasswordHistoryLength(admin: android.content.ComponentName, length: number): void;
public clearCrossProfileIntentFilters(admin: android.content.ComponentName): void;
public getLockTaskFeatures(admin: android.content.ComponentName): number;
public getKeyguardDisabledFeatures(admin: android.content.ComponentName): number;
public getPasswordMinimumLength(admin: android.content.ComponentName): number;
public installSystemUpdate(admin: android.content.ComponentName, updateFilePath: android.net.Uri, executor: java.util.concurrent.Executor, callback: android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback): void;
public enableSystemApp(admin: android.content.ComponentName, intent: android.content.Intent): number;
public addCrossProfileIntentFilter(admin: android.content.ComponentName, filter: android.content.IntentFilter, flags: number): void;
public retrieveSecurityLogs(admin: android.content.ComponentName): java.util.List<android.app.admin.SecurityLog.SecurityEvent>;
public setRequiredStrongAuthTimeout(admin: android.content.ComponentName, timeoutMs: number): void;
public setMeteredDataDisabledPackages(admin: android.content.ComponentName, packageNames: java.util.List<string>): java.util.List<string>;
public setMaximumFailedPasswordsForWipe(admin: android.content.ComponentName, num: number): void;
public getAlwaysOnVpnPackage(admin: android.content.ComponentName): string;
public setPasswordMinimumSymbols(admin: android.content.ComponentName, length: number): void;
public isDeviceIdAttestationSupported(): boolean;
public wipeData(flags: number): void;
public isProvisioningAllowed(action: string): boolean;
public setCrossProfileCalendarPackages(admin: android.content.ComponentName, packageNames: java.util.Set<string>): void;
public removeActiveAdmin(admin: android.content.ComponentName): void;
public getOrganizationColor(admin: android.content.ComponentName): number;
public setPermittedInputMethods(admin: android.content.ComponentName, packageNames: java.util.List<string>): boolean;
public addPersistentPreferredActivity(admin: android.content.ComponentName, filter: android.content.IntentFilter, activity: android.content.ComponentName): void;
public setNetworkLoggingEnabled(admin: android.content.ComponentName, enabled: boolean): void;
public uninstallCaCert(admin: android.content.ComponentName, certBuffer: native.Array<number>): void;
public reboot(admin: android.content.ComponentName): void;
public clearResetPasswordToken(admin: android.content.ComponentName): boolean;
public setPasswordMinimumNonLetter(admin: android.content.ComponentName, length: number): void;
public getPasswordMinimumLetters(admin: android.content.ComponentName): number;
public installKeyPair(admin: android.content.ComponentName, privKey: java.security.PrivateKey, cert: java.security.cert.Certificate, alias: string): boolean;
public setPermissionGrantState(admin: android.content.ComponentName, packageName: string, permission: string, grantState: number): boolean;
public getCameraDisabled(admin: android.content.ComponentName): boolean;
/** @deprecated */
public getApplicationRestrictionsManagingPackage(admin: android.content.ComponentName): string;
public setOverrideApnsEnabled(admin: android.content.ComponentName, enabled: boolean): void;
public getStartUserSessionMessage(admin: android.content.ComponentName): string;
public getCurrentFailedPasswordAttempts(): number;
public setResetPasswordToken(admin: android.content.ComponentName, token: native.Array<number>): boolean;
public switchUser(admin: android.content.ComponentName, userHandle: android.os.UserHandle): boolean;
public addOverrideApn(admin: android.content.ComponentName, apnSetting: android.telephony.data.ApnSetting): number;
public getPasswordExpiration(admin: android.content.ComponentName): number;
public getStorageEncryption(admin: android.content.ComponentName): boolean;
/** @deprecated */
public setApplicationRestrictionsManagingPackage(admin: android.content.ComponentName, packageName: string): void;
public isLogoutEnabled(): boolean;
/** @deprecated */
public clearDeviceOwnerApp(packageName: string): void;
public setMaximumTimeToLock(admin: android.content.ComponentName, timeMs: number): void;
public setStartUserSessionMessage(admin: android.content.ComponentName, startUserSessionMessage: string): void;
public removeKeyPair(admin: android.content.ComponentName, alias: string): boolean;
/** @deprecated */
public getCertInstallerPackage(admin: android.content.ComponentName): string;
public setGlobalPrivateDnsModeSpecifiedHost(admin: android.content.ComponentName, privateDnsHost: string): number;
public setPackagesSuspended(admin: android.content.ComponentName, packageNames: native.Array<string>, suspended: boolean): native.Array<string>;
public bindDeviceAdminServiceAsUser(admin: android.content.ComponentName, serviceIntent: android.content.Intent, conn: android.content.ServiceConnection, flags: number, targetUser: android.os.UserHandle): boolean;
public getAccountTypesWithManagementDisabled(): native.Array<string>;
public setUninstallBlocked(admin: android.content.ComponentName, packageName: string, uninstallBlocked: boolean): void;
public getPasswordMinimumNonLetter(admin: android.content.ComponentName): number;
public setCameraDisabled(admin: android.content.ComponentName, disabled: boolean): void;
public getScreenCaptureDisabled(admin: android.content.ComponentName): boolean;
public getOverrideApns(admin: android.content.ComponentName): java.util.List<android.telephony.data.ApnSetting>;
public createAndManageUser(admin: android.content.ComponentName, name: string, profileOwner: android.content.ComponentName, adminExtras: any, flags: number): android.os.UserHandle;
public setApplicationRestrictions(admin: android.content.ComponentName, packageName: string, settings: android.os.Bundle): void;
public resetPassword(password: string, flags: number): boolean;
public installExistingPackage(admin: android.content.ComponentName, packageName: string): boolean;
public setKeyPairCertificate(admin: android.content.ComponentName, alias: string, certs: java.util.List<java.security.cert.Certificate>, isUserSelectable: boolean): boolean;
public getShortSupportMessage(admin: android.content.ComponentName): string;
public setKeepUninstalledPackages(admin: android.content.ComponentName, packageNames: java.util.List<string>): void;
public setBackupServiceEnabled(admin: android.content.ComponentName, enabled: boolean): void;
public getPermissionGrantState(admin: android.content.ComponentName, packageName: string, permission: string): number;
public hasCaCertInstalled(admin: android.content.ComponentName, certBuffer: native.Array<number>): boolean;
public getGlobalPrivateDnsMode(admin: android.content.ComponentName): number;
public getPasswordComplexity(): number;
public getPasswordHistoryLength(admin: android.content.ComponentName): number;
public lockNow(flags: number): void;
public getPermittedInputMethods(admin: android.content.ComponentName): java.util.List<string>;
public setRecommendedGlobalProxy(admin: android.content.ComponentName, proxyInfo: android.net.ProxyInfo): void;
public addCrossProfileWidgetProvider(admin: android.content.ComponentName, packageName: string): boolean;
public getPermissionPolicy(admin: android.content.ComponentName): number;
public requestBugreport(admin: android.content.ComponentName): boolean;
public getDelegatePackages(admin: android.content.ComponentName, delegationScope: string): java.util.List<string>;
public getParentProfileInstance(admin: android.content.ComponentName): android.app.admin.DevicePolicyManager;
public getGlobalPrivateDnsHost(admin: android.content.ComponentName): string;
public getMaximumTimeToLock(admin: android.content.ComponentName): number;
public setCrossProfileCallerIdDisabled(admin: android.content.ComponentName, disabled: boolean): void;
public getBindDeviceAdminTargetUsers(admin: android.content.ComponentName): java.util.List<android.os.UserHandle>;
public getPermittedCrossProfileNotificationListeners(admin: android.content.ComponentName): java.util.List<string>;
public setPasswordMinimumLowerCase(admin: android.content.ComponentName, length: number): void;
public getPasswordMinimumSymbols(admin: android.content.ComponentName): number;
public isAdminActive(admin: android.content.ComponentName): boolean;
public isBackupServiceEnabled(admin: android.content.ComponentName): boolean;
public setProfileEnabled(admin: android.content.ComponentName): void;
public isUninstallBlocked(admin: android.content.ComponentName, packageName: string): boolean;
public setPasswordMinimumUpperCase(admin: android.content.ComponentName, length: number): void;
public isProfileOwnerApp(packageName: string): boolean;
public setApplicationHidden(admin: android.content.ComponentName, packageName: string, hidden: boolean): boolean;
public isNetworkLoggingEnabled(admin: android.content.ComponentName): boolean;
public getTrustAgentConfiguration(admin: android.content.ComponentName, agent: android.content.ComponentName): java.util.List<any>;
public setAffiliationIds(admin: android.content.ComponentName, ids: java.util.Set<string>): void;
public removeUser(admin: android.content.ComponentName, userHandle: android.os.UserHandle): boolean;
public getPasswordMaximumLength(quality: number): number;
public setPermissionPolicy(admin: android.content.ComponentName, policy: number): void;
/** @deprecated */
public isCallerApplicationRestrictionsManagingPackage(): boolean;
public stopUser(admin: android.content.ComponentName, userHandle: android.os.UserHandle): number;
public getOrganizationName(admin: android.content.ComponentName): string;
public installCaCert(admin: android.content.ComponentName, certBuffer: native.Array<number>): boolean;
public getUserRestrictions(admin: android.content.ComponentName): android.os.Bundle;
public setLongSupportMessage(admin: android.content.ComponentName, message: string): void;
public getLockTaskPackages(admin: android.content.ComponentName): native.Array<string>;
public uninstallAllUserCaCerts(admin: android.content.ComponentName): void;
public isMasterVolumeMuted(admin: android.content.ComponentName): boolean;
public setStorageEncryption(admin: android.content.ComponentName, encrypt: boolean): number;
public setGlobalPrivateDnsModeOpportunistic(admin: android.content.ComponentName): number;
public setEndUserSessionMessage(admin: android.content.ComponentName, endUserSessionMessage: string): void;
public getDelegatedScopes(admin: android.content.ComponentName, delegatedPackage: string): java.util.List<string>;
public getPendingSystemUpdate(admin: android.content.ComponentName): android.app.admin.SystemUpdateInfo;
public retrieveNetworkLogs(admin: android.content.ComponentName, batchToken: number): java.util.List<android.app.admin.NetworkEvent>;
public getCrossProfileCalendarPackages(admin: android.content.ComponentName): java.util.Set<string>;
public setOrganizationName(admin: android.content.ComponentName, title: string): void;
public hasGrantedPolicy(admin: android.content.ComponentName, usesPolicy: number): boolean;
public getMaximumFailedPasswordsForWipe(admin: android.content.ComponentName): number;
public getPasswordMinimumNumeric(admin: android.content.ComponentName): number;
public isManagedProfile(admin: android.content.ComponentName): boolean;
public removeOverrideApn(admin: android.content.ComponentName, apnId: number): boolean;
public isActivePasswordSufficient(): boolean;
public logoutUser(admin: android.content.ComponentName): number;
public setStatusBarDisabled(admin: android.content.ComponentName, disabled: boolean): boolean;
public installKeyPair(admin: android.content.ComponentName, privKey: java.security.PrivateKey, certs: native.Array<java.security.cert.Certificate>, alias: string, flags: number): boolean;
public setGlobalSetting(admin: android.content.ComponentName, setting: string, value: string): void;
public generateKeyPair(admin: android.content.ComponentName, algorithm: string, keySpec: android.security.keystore.KeyGenParameterSpec, idAttestationFlags: number): android.security.AttestedKeyPair;
public isOverrideApnEnabled(admin: android.content.ComponentName): boolean;
public getKeepUninstalledPackages(admin: android.content.ComponentName): java.util.List<string>;
public startUserInBackground(admin: android.content.ComponentName, userHandle: android.os.UserHandle): number;
public setAutoTimeRequired(admin: android.content.ComponentName, required: boolean): void;
public setSecureSetting(admin: android.content.ComponentName, setting: string, value: string): void;
public wipeData(flags: number, reason: string): void;
}
export module DevicePolicyManager {
export abstract class InstallSystemUpdateCallback extends java.lang.Object {
public static class: java.lang.Class<android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback>;
public static UPDATE_ERROR_BATTERY_LOW: number;
public static UPDATE_ERROR_FILE_NOT_FOUND: number;
public static UPDATE_ERROR_INCORRECT_OS_VERSION: number;
public static UPDATE_ERROR_UNKNOWN: number;
public static UPDATE_ERROR_UPDATE_FILE_INVALID: number;
public constructor();
public onInstallUpdateError(errorCode: number, errorMessage: string): void;
}
export class OnClearApplicationUserDataListener extends java.lang.Object {
public static class: java.lang.Class<android.app.admin.DevicePolicyManager.OnClearApplicationUserDataListener>;
/**
* Constructs a new instance of the android.app.admin.DevicePolicyManager$OnClearApplicationUserDataListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onApplicationUserDataCleared(string0: string, boolean1: boolean): void;
});
public constructor();
public onApplicationUserDataCleared(string0: string, boolean1: boolean): void;
}
}
}
}
}
declare module android {
export module app {
export module admin {
export class DnsEvent extends android.app.admin.NetworkEvent implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.DnsEvent>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.DnsEvent>;
public getInetAddresses(): java.util.List<java.net.InetAddress>;
public getTotalResolvedAddressCount(): number;
public getHostname(): string;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public toString(): string;
public writeToParcel(parcel0: android.os.Parcel, int1: number): void;
}
}
}
}
declare module android {
export module app {
export module admin {
export class FreezePeriod extends java.lang.Object {
public static class: java.lang.Class<android.app.admin.FreezePeriod>;
public constructor(start: java.time.MonthDay, end: java.time.MonthDay);
public getEnd(): java.time.MonthDay;
public getStart(): java.time.MonthDay;
public toString(): string;
}
}
}
}
declare module android {
export module app {
export module admin {
export abstract class NetworkEvent extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.NetworkEvent>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.NetworkEvent>;
public getPackageName(): string;
public getId(): number;
public describeContents(): number;
public getTimestamp(): number;
public writeToParcel(parcel0: android.os.Parcel, int1: number): void;
}
}
}
}
declare module android {
export module app {
export module admin {
export class SecurityLog extends java.lang.Object {
public static class: java.lang.Class<android.app.admin.SecurityLog>;
public static LEVEL_ERROR: number;
public static LEVEL_INFO: number;
public static LEVEL_WARNING: number;
public static TAG_ADB_SHELL_CMD: number;
public static TAG_ADB_SHELL_INTERACTIVE: number;
public static TAG_APP_PROCESS_START: number;
public static TAG_CERT_AUTHORITY_INSTALLED: number;
public static TAG_CERT_AUTHORITY_REMOVED: number;
public static TAG_CERT_VALIDATION_FAILURE: number;
public static TAG_CRYPTO_SELF_TEST_COMPLETED: number;
public static TAG_KEYGUARD_DISABLED_FEATURES_SET: number;
public static TAG_KEYGUARD_DISMISSED: number;
public static TAG_KEYGUARD_DISMISS_AUTH_ATTEMPT: number;
public static TAG_KEYGUARD_SECURED: number;
public static TAG_KEY_DESTRUCTION: number;
public static TAG_KEY_GENERATED: number;
public static TAG_KEY_IMPORT: number;
public static TAG_KEY_INTEGRITY_VIOLATION: number;
public static TAG_LOGGING_STARTED: number;
public static TAG_LOGGING_STOPPED: number;
public static TAG_LOG_BUFFER_SIZE_CRITICAL: number;
public static TAG_MAX_PASSWORD_ATTEMPTS_SET: number;
public static TAG_MAX_SCREEN_LOCK_TIMEOUT_SET: number;
public static TAG_MEDIA_MOUNT: number;
public static TAG_MEDIA_UNMOUNT: number;
public static TAG_OS_SHUTDOWN: number;
public static TAG_OS_STARTUP: number;
public static TAG_PASSWORD_COMPLEXITY_SET: number;
public static TAG_PASSWORD_EXPIRATION_SET: number;
public static TAG_PASSWORD_HISTORY_LENGTH_SET: number;
public static TAG_REMOTE_LOCK: number;
public static TAG_SYNC_RECV_FILE: number;
public static TAG_SYNC_SEND_FILE: number;
public static TAG_USER_RESTRICTION_ADDED: number;
public static TAG_USER_RESTRICTION_REMOVED: number;
public static TAG_WIPE_FAILURE: number;
public constructor();
}
export module SecurityLog {
export class SecurityEvent extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.SecurityLog.SecurityEvent>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.SecurityLog.SecurityEvent>;
public getData(): any;
public equals(obj: any): boolean;
public getTag(): number;
public getLogLevel(): number;
public getId(): number;
public describeContents(): number;
public getTimeNanos(): number;
public equals(o: any): boolean;
public hashCode(): number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
}
}
}
}
}
declare module android {
export module app {
export module admin {
export class SystemUpdateInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.SystemUpdateInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.SystemUpdateInfo>;
public static SECURITY_PATCH_STATE_FALSE: number;
public static SECURITY_PATCH_STATE_TRUE: number;
public static SECURITY_PATCH_STATE_UNKNOWN: number;
public equals(obj: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getSecurityPatchState(): number;
public hashCode(): number;
public describeContents(): number;
public equals(o: any): boolean;
public getReceivedTime(): number;
public toString(): string;
}
}
}
}
declare module android {
export module app {
export module admin {
export class SystemUpdatePolicy extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.SystemUpdatePolicy>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.SystemUpdatePolicy>;
public static TYPE_INSTALL_AUTOMATIC: number;
public static TYPE_INSTALL_WINDOWED: number;
public static TYPE_POSTPONE: number;
public getPolicyType(): number;
public static createPostponeInstallPolicy(): android.app.admin.SystemUpdatePolicy;
public getInstallWindowStart(): number;
public getFreezePeriods(): java.util.List<android.app.admin.FreezePeriod>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public setFreezePeriods(freezePeriods: java.util.List<android.app.admin.FreezePeriod>): android.app.admin.SystemUpdatePolicy;
public static createAutomaticInstallPolicy(): android.app.admin.SystemUpdatePolicy;
public static createWindowedInstallPolicy(startTime: number, endTime: number): android.app.admin.SystemUpdatePolicy;
public toString(): string;
public getInstallWindowEnd(): number;
}
export module SystemUpdatePolicy {
export class ValidationFailedException extends java.lang.IllegalArgumentException implements android.os.Parcelable {
public static class: java.lang.Class<android.app.admin.SystemUpdatePolicy.ValidationFailedException>;
public static CREATOR: android.os.Parcelable.Creator<android.app.admin.SystemUpdatePolicy.ValidationFailedException>;
public static ERROR_COMBINED_FREEZE_PERIOD_TOO_CLOSE: number;
public static ERROR_COMBINED_FREEZE_PERIOD_TOO_LONG: number;
public static ERROR_DUPLICATE_OR_OVERLAP: number;
public static ERROR_NEW_FREEZE_PERIOD_TOO_CLOSE: number;
public static ERROR_NEW_FREEZE_PERIOD_TOO_LONG: number;
public static ERROR_UNKNOWN: number;
public getErrorCode(): number;
public describeContents(): number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
}
}
}
}
}
declare module android {
export module app {
export module assist {
export class AssistContent extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.assist.AssistContent>;
public static CREATOR: android.os.Parcelable.Creator<android.app.assist.AssistContent>;
public setWebUri(uri: android.net.Uri): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getWebUri(): android.net.Uri;
public getIntent(): android.content.Intent;
public setClipData(clip: android.content.ClipData): void;
public getStructuredData(): string;
public constructor();
public isAppProvidedIntent(): boolean;
public setStructuredData(structuredData: string): void;
public isAppProvidedWebUri(): boolean;
public getClipData(): android.content.ClipData;
public describeContents(): number;
public setIntent(intent: android.content.Intent): void;
public getExtras(): android.os.Bundle;
}
}
}
}
declare module android {
export module app {
export module assist {
export class AssistStructure extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.assist.AssistStructure>;
public static CREATOR: android.os.Parcelable.Creator<android.app.assist.AssistStructure>;
public getWindowNodeAt(index: number): android.app.assist.AssistStructure.WindowNode;
public getAcquisitionStartTime(): number;
public isHomeActivity(): boolean;
public describeContents(): number;
public getWindowNodeCount(): number;
public getActivityComponent(): android.content.ComponentName;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getAcquisitionEndTime(): number;
public constructor();
}
export module AssistStructure {
export class ViewNode extends java.lang.Object {
public static class: java.lang.Class<android.app.assist.AssistStructure.ViewNode>;
public static TEXT_COLOR_UNDEFINED: number;
public static TEXT_STYLE_BOLD: number;
public static TEXT_STYLE_ITALIC: number;
public static TEXT_STYLE_STRIKE_THRU: number;
public static TEXT_STYLE_UNDERLINE: number;
public getWebScheme(): string;
public getChildCount(): number;
public getElevation(): number;
public isFocusable(): boolean;
public getHtmlInfo(): any;
public isClickable(): boolean;
public getContentDescription(): string;
public getTextStyle(): number;
public getHint(): string;
public getImportantForAutofill(): number;
public getTextBackgroundColor(): number;
public isContextClickable(): boolean;
public getVisibility(): number;
public isEnabled(): boolean;
public isOpaque(): boolean;
public getAlpha(): number;
public isActivated(): boolean;
public getTransformation(): android.graphics.Matrix;
public getText(): string;
public getHeight(): number;
public getMinTextEms(): number;
public getId(): number;
public getAutofillType(): number;
public getIdEntry(): string;
public getTextSelectionStart(): number;
public getAutofillOptions(): native.Array<string>;
public getLeft(): number;
public getChildAt(index: number): android.app.assist.AssistStructure.ViewNode;
public isSelected(): boolean;
public getScrollY(): number;
public isFocused(): boolean;
public getLocaleList(): any;
public getTextIdEntry(): string;
public getTextSelectionEnd(): number;
public isAssistBlocked(): boolean;
public getAutofillId(): android.view.autofill.AutofillId;
public getClassName(): string;
public getTextSize(): number;
public isCheckable(): boolean;
public getIdPackage(): string;
public isAccessibilityFocused(): boolean;
public getTextLineCharOffsets(): native.Array<number>;
public isChecked(): boolean;
public getTextLineBaselines(): native.Array<number>;
public getMaxTextEms(): number;
public getWebDomain(): string;
public getWidth(): number;
public getAutofillValue(): android.view.autofill.AutofillValue;
public getMaxTextLength(): number;
public getIdType(): string;
public getTop(): number;
public isLongClickable(): boolean;
public getTextColor(): number;
public getAutofillHints(): native.Array<string>;
public getScrollX(): number;
public getExtras(): android.os.Bundle;
public getInputType(): number;
}
export class WindowNode extends java.lang.Object {
public static class: java.lang.Class<android.app.assist.AssistStructure.WindowNode>;
public getTitle(): string;
public getDisplayId(): number;
public getHeight(): number;
public getWidth(): number;
public getLeft(): number;
public getRootViewNode(): android.app.assist.AssistStructure.ViewNode;
public getTop(): number;
}
}
}
}
}
declare module android {
export module app {
export module backup {
export abstract class BackupAgent extends android.content.ContextWrapper {
public static class: java.lang.Class<android.app.backup.BackupAgent>;
public static FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED: number;
public static FLAG_DEVICE_TO_DEVICE_TRANSFER: number;
public static TYPE_DIRECTORY: number;
public static TYPE_FILE: number;
public onRestoreFinished(): void;
public fullBackupFile(file: java.io.File, output: android.app.backup.FullBackupDataOutput): void;
public onQuotaExceeded(backupDataBytes: number, quotaBytes: number): void;
public onCreate(): void;
public onRestore(backupDataInput0: android.app.backup.BackupDataInput, int1: number, parcelFileDescriptor2: android.os.ParcelFileDescriptor): void;
public onRestore(data: android.app.backup.BackupDataInput, appVersionCode: number, newState: android.os.ParcelFileDescriptor): void;
public onRestoreFile(data: android.os.ParcelFileDescriptor, size: number, destination: java.io.File, type: number, mode: number, mtime: number): void;
public onDestroy(): void;
public onFullBackup(data: android.app.backup.FullBackupDataOutput): void;
public constructor(base: android.content.Context);
public constructor();
public onBackup(parcelFileDescriptor0: android.os.ParcelFileDescriptor, backupDataOutput1: android.app.backup.BackupDataOutput, parcelFileDescriptor2: android.os.ParcelFileDescriptor): void;
}
}
}
}
declare module android {
export module app {
export module backup {
export class BackupAgentHelper extends android.app.backup.BackupAgent {
public static class: java.lang.Class<android.app.backup.BackupAgentHelper>;
public addHelper(keyPrefix: string, helper: android.app.backup.BackupHelper): void;
public onRestore(backupDataInput0: android.app.backup.BackupDataInput, int1: number, parcelFileDescriptor2: android.os.ParcelFileDescriptor): void;
public onRestore(data: android.app.backup.BackupDataInput, appVersionCode: number, newState: android.os.ParcelFileDescriptor): void;
public onBackup(oldState: android.os.ParcelFileDescriptor, data: android.app.backup.BackupDataOutput, newState: android.os.ParcelFileDescriptor): void;
public constructor();
public constructor(base: android.content.Context);
public onBackup(parcelFileDescriptor0: android.os.ParcelFileDescriptor, backupDataOutput1: android.app.backup.BackupDataOutput, parcelFileDescriptor2: android.os.ParcelFileDescriptor): void;
}
}
}
}
declare module android {
export module app {
export module backup {
export class BackupDataInput extends java.lang.Object {
public static class: java.lang.Class<android.app.backup.BackupDataInput>;
public skipEntityData(): void;
public readEntityData(data: native.Array<number>, offset: number, size: number): number;
public getDataSize(): number;
public finalize(): void;
public getKey(): string;
public readNextHeader(): boolean;
}
}
}
}
declare module android {
export module app {
export module backup {
export class BackupDataInputStream extends java.io.InputStream {
public static class: java.lang.Class<android.app.backup.BackupDataInputStream>;
public read(b: native.Array<number>, offset: number, size: number): number;
public read(): number;
public close(): void;
public read(b: native.Array<number>, off: number, len: number): number;
public getKey(): string;
public read(b: native.Array<number>): number;
public size(): number;
}
}
}
}
declare module android {
export module app {
export module backup {
export class BackupDataOutput extends java.lang.Object {
public static class: java.lang.Class<android.app.backup.BackupDataOutput>;
public getTransportFlags(): number;
public getQuota(): number;
public writeEntityData(data: native.Array<number>, size: number): number;
public finalize(): void;
public writeEntityHeader(key: string, dataSize: number): number;
}
}
}
}
declare module android {
export module app {
export module backup {
export class BackupHelper extends java.lang.Object {
public static class: java.lang.Class<android.app.backup.BackupHelper>;
/**
* Constructs a new instance of the android.app.backup.BackupHelper interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
performBackup(parcelFileDescriptor0: android.os.ParcelFileDescriptor, backupDataOutput1: android.app.backup.BackupDataOutput, parcelFileDescriptor2: android.os.ParcelFileDescriptor): void;
restoreEntity(backupDataInputStream0: android.app.backup.BackupDataInputStream): void;
writeNewStateDescription(parcelFileDescriptor0: android.os.ParcelFileDescriptor): void;
});
public constructor();
public restoreEntity(backupDataInputStream0: android.app.backup.BackupDataInputStream): void;
public performBackup(parcelFileDescriptor0: android.os.ParcelFileDescriptor, backupDataOutput1: android.app.backup.BackupDataOutput, parcelFileDescriptor2: android.os.ParcelFileDescriptor): void;
public writeNewStateDescription(parcelFileDescriptor0: android.os.ParcelFileDescriptor): void;
}
}
}
}
declare module android {
export module app {
export module backup {
export class BackupManager extends java.lang.Object {
public static class: java.lang.Class<android.app.backup.BackupManager>;
public dataChanged(): void;
public getUserForAncestralSerialNumber(ancestralSerialNumber: number): android.os.UserHandle;
public constructor(context: android.content.Context);
/** @deprecated */
public requestRestore(observer: android.app.backup.RestoreObserver): number;
public static dataChanged(packageName: string): void;
}
}
}
}
declare module android {
export module app {
export module backup {
export class FileBackupHelper extends java.lang.Object implements android.app.backup.BackupHelper {
public static class: java.lang.Class<android.app.backup.FileBackupHelper>;
public writeNewStateDescription(fd: android.os.ParcelFileDescriptor): void;
public constructor(context: android.content.Context, files: native.Array<string>);
public performBackup(oldState: android.os.ParcelFileDescriptor, data: android.app.backup.BackupDataOutput, newState: android.os.ParcelFileDescriptor): void;
public restoreEntity(data: android.app.backup.BackupDataInputStream): void;
}
}
}
}
declare module android {
export module app {
export module backup {
export class FullBackupDataOutput extends java.lang.Object {
public static class: java.lang.Class<android.app.backup.FullBackupDataOutput>;
public getTransportFlags(): number;
public getQuota(): number;
}
}
}
}
declare module android {
export module app {
export module backup {
export abstract class RestoreObserver extends java.lang.Object {
public static class: java.lang.Class<android.app.backup.RestoreObserver>;
public restoreStarting(numPackages: number): void;
public restoreFinished(error: number): void;
public onUpdate(nowBeingRestored: number, currentPackage: string): void;
public constructor();
}
}
}
}
declare module android {
export module app {
export module backup {
export class SharedPreferencesBackupHelper extends java.lang.Object implements android.app.backup.BackupHelper {
public static class: java.lang.Class<android.app.backup.SharedPreferencesBackupHelper>;
public writeNewStateDescription(fd: android.os.ParcelFileDescriptor): void;
public constructor(context: android.content.Context, prefGroups: native.Array<string>);
public performBackup(oldState: android.os.ParcelFileDescriptor, data: android.app.backup.BackupDataOutput, newState: android.os.ParcelFileDescriptor): void;
public restoreEntity(data: android.app.backup.BackupDataInputStream): void;
}
}
}
}
declare module android {
export module app {
export module role {
export class RoleManager extends java.lang.Object {
public static class: java.lang.Class<android.app.role.RoleManager>;
public static ROLE_ASSISTANT: string;
public static ROLE_BROWSER: string;
public static ROLE_CALL_REDIRECTION: string;
public static ROLE_CALL_SCREENING: string;
public static ROLE_DIALER: string;
public static ROLE_EMERGENCY: string;
public static ROLE_HOME: string;
public static ROLE_SMS: string;
public createRequestRoleIntent(roleName: string): android.content.Intent;
public isRoleHeld(roleName: string): boolean;
public isRoleAvailable(roleName: string): boolean;
}
}
}
}
declare module android {
export module app {
export module slice {
export class Slice extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.slice.Slice>;
public static CREATOR: android.os.Parcelable.Creator<android.app.slice.Slice>;
public static EXTRA_RANGE_VALUE: string;
public static EXTRA_TOGGLE_STATE: string;
public static HINT_ACTIONS: string;
public static HINT_ERROR: string;
public static HINT_HORIZONTAL: string;
public static HINT_KEYWORDS: string;
public static HINT_LARGE: string;
public static HINT_LAST_UPDATED: string;
public static HINT_LIST: string;
public static HINT_LIST_ITEM: string;
public static HINT_NO_TINT: string;
public static HINT_PARTIAL: string;
public static HINT_PERMISSION_REQUEST: string;
public static HINT_SEE_MORE: string;
public static HINT_SELECTED: string;
public static HINT_SHORTCUT: string;
public static HINT_SUMMARY: string;
public static HINT_TITLE: string;
public static HINT_TTL: string;
public static SUBTYPE_COLOR: string;
public static SUBTYPE_CONTENT_DESCRIPTION: string;
public static SUBTYPE_LAYOUT_DIRECTION: string;
public static SUBTYPE_MAX: string;
public static SUBTYPE_MESSAGE: string;
public static SUBTYPE_MILLIS: string;
public static SUBTYPE_PRIORITY: string;
public static SUBTYPE_RANGE: string;
public static SUBTYPE_SOURCE: string;
public static SUBTYPE_TOGGLE: string;
public static SUBTYPE_VALUE: string;
public getUri(): android.net.Uri;
public getHints(): java.util.List<string>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public isCallerNeeded(): boolean;
public toString(): string;
public constructor(in0: android.os.Parcel);
public getItems(): java.util.List<android.app.slice.SliceItem>;
public getSpec(): android.app.slice.SliceSpec;
}
export module Slice {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.app.slice.Slice.Builder>;
public addIcon(icon: any, subType: string, hints: java.util.List<string>): android.app.slice.Slice.Builder;
public addBundle(bundle: android.os.Bundle, subType: string, hints: java.util.List<string>): android.app.slice.Slice.Builder;
public addText(text: string, subType: string, hints: java.util.List<string>): android.app.slice.Slice.Builder;
public build(): android.app.slice.Slice;
public addSubSlice(slice: android.app.slice.Slice, subType: string): android.app.slice.Slice.Builder;
public addLong(value: number, subType: string, hints: java.util.List<string>): android.app.slice.Slice.Builder;
public constructor(uri: android.net.Uri, spec: android.app.slice.SliceSpec);
public addRemoteInput(remoteInput: android.app.RemoteInput, subType: string, hints: java.util.List<string>): android.app.slice.Slice.Builder;
public addAction(action: android.app.PendingIntent, s: android.app.slice.Slice, subType: string): android.app.slice.Slice.Builder;
public constructor(parent: android.app.slice.Slice.Builder);
public setCallerNeeded(callerNeeded: boolean): android.app.slice.Slice.Builder;
public addInt(value: number, subType: string, hints: java.util.List<string>): android.app.slice.Slice.Builder;
public addHints(hints: java.util.List<string>): android.app.slice.Slice.Builder;
}
}
}
}
}
declare module android {
export module app {
export module slice {
export class SliceItem extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.slice.SliceItem>;
public static CREATOR: android.os.Parcelable.Creator<android.app.slice.SliceItem>;
public static FORMAT_ACTION: string;
public static FORMAT_BUNDLE: string;
public static FORMAT_IMAGE: string;
public static FORMAT_INT: string;
public static FORMAT_LONG: string;
public static FORMAT_REMOTE_INPUT: string;
public static FORMAT_SLICE: string;
public static FORMAT_TEXT: string;
public getAction(): android.app.PendingIntent;
public getFormat(): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getIcon(): any;
public getRemoteInput(): android.app.RemoteInput;
public getText(): string;
public getHints(): java.util.List<string>;
public getBundle(): android.os.Bundle;
public hasHint(hint: string): boolean;
public describeContents(): number;
public getInt(): number;
public getSubType(): string;
public getSlice(): android.app.slice.Slice;
public getLong(): number;
}
}
}
}
declare module android {
export module app {
export module slice {
export class SliceManager extends java.lang.Object {
public static class: java.lang.Class<android.app.slice.SliceManager>;
public static CATEGORY_SLICE: string;
public static SLICE_METADATA_KEY: string;
public getPinnedSpecs(uri: android.net.Uri): java.util.Set<android.app.slice.SliceSpec>;
public bindSlice(intent: android.content.Intent, supportedSpecs: java.util.Set<android.app.slice.SliceSpec>): android.app.slice.Slice;
public mapIntentToUri(intent: android.content.Intent): android.net.Uri;
public getPinnedSlices(): java.util.List<android.net.Uri>;
public bindSlice(uri: android.net.Uri, supportedSpecs: java.util.Set<android.app.slice.SliceSpec>): android.app.slice.Slice;
public grantSlicePermission(toPackage: string, uri: android.net.Uri): void;
public unpinSlice(uri: android.net.Uri): void;
public pinSlice(uri: android.net.Uri, specs: java.util.Set<android.app.slice.SliceSpec>): void;
public revokeSlicePermission(toPackage: string, uri: android.net.Uri): void;
public checkSlicePermission(uri: android.net.Uri, pid: number, uid: number): number;
public getSliceDescendants(uri: android.net.Uri): java.util.Collection<android.net.Uri>;
}
}
}
}
declare module android {
export module app {
export module slice {
export class SliceMetrics extends java.lang.Object {
public static class: java.lang.Class<android.app.slice.SliceMetrics>;
public logHidden(): void;
public constructor(context: android.content.Context, uri: android.net.Uri);
public logTouch(actionType: number, subSlice: android.net.Uri): void;
public logVisible(): void;
}
}
}
}
declare module android {
export module app {
export module slice {
export abstract class SliceProvider extends android.content.ContentProvider {
public static class: java.lang.Class<android.app.slice.SliceProvider>;
public static SLICE_TYPE: string;
public delete(uri0: android.net.Uri, string1: string, strings2: native.Array<string>): number;
public onCreatePermissionRequest(sliceUri: android.net.Uri): android.app.PendingIntent;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string): android.database.Cursor;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public insert(uri: android.net.Uri, values: android.content.ContentValues): android.net.Uri;
public onSlicePinned(sliceUri: android.net.Uri): void;
public call(authority: string, method: string, string2: string, extras: android.os.Bundle): android.os.Bundle;
public onBindSlice(sliceUri: android.net.Uri, supportedSpecs: java.util.Set<android.app.slice.SliceSpec>): android.app.slice.Slice;
public query(uri0: android.net.Uri, strings1: native.Array<string>, string2: string, strings3: native.Array<string>, string4: string): android.database.Cursor;
public update(uri: android.net.Uri, values: android.content.ContentValues, selection: string, selectionArgs: native.Array<string>): number;
public attachInfo(context: android.content.Context, info: android.content.pm.ProviderInfo): void;
public insert(uri0: android.net.Uri, contentValues1: android.content.ContentValues): android.net.Uri;
public constructor();
public getType(uri: android.net.Uri): string;
public onSliceUnpinned(sliceUri: android.net.Uri): void;
public onTrimMemory(level: number): void;
public getType(uri0: android.net.Uri): string;
public call(method: string, string1: string, extras: android.os.Bundle): android.os.Bundle;
public delete(uri: android.net.Uri, selection: string, selectionArgs: native.Array<string>): number;
public query(uri: android.net.Uri, projection: native.Array<string>, queryArgs: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public onGetSliceDescendants(uri: android.net.Uri): java.util.Collection<android.net.Uri>;
public onMapIntentToUri(intent: android.content.Intent): android.net.Uri;
public constructor(autoGrantPermissions: native.Array<string>);
public update(uri0: android.net.Uri, contentValues1: android.content.ContentValues, string2: string, strings3: native.Array<string>): number;
}
}
}
}
declare module android {
export module app {
export module slice {
export class SliceSpec extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.slice.SliceSpec>;
public static CREATOR: android.os.Parcelable.Creator<android.app.slice.SliceSpec>;
public getType(): string;
public constructor(type: string, revision: number);
public canRender(candidate: android.app.slice.SliceSpec): boolean;
public equals(obj: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public getRevision(): number;
public toString(): string;
}
}
}
}
declare module android {
export module app {
export module usage {
export class ConfigurationStats extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.usage.ConfigurationStats>;
public static CREATOR: android.os.Parcelable.Creator<android.app.usage.ConfigurationStats>;
public constructor(stats: android.app.usage.ConfigurationStats);
public getLastTimeActive(): number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public getFirstTimeStamp(): number;
public getConfiguration(): android.content.res.Configuration;
public getTotalTimeActive(): number;
public getLastTimeStamp(): number;
public getActivationCount(): number;
}
}
}
}
declare module android {
export module app {
export module usage {
export class EventStats extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.usage.EventStats>;
public static CREATOR: android.os.Parcelable.Creator<android.app.usage.EventStats>;
public add(right: android.app.usage.EventStats): void;
public getEventType(): number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getTotalTime(): number;
public constructor(stats: android.app.usage.EventStats);
public describeContents(): number;
public getFirstTimeStamp(): number;
public getCount(): number;
public getLastTimeStamp(): number;
public getLastEventTime(): number;
}
}
}
}
declare module android {
export module app {
export module usage {
export class ExternalStorageStats extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.usage.ExternalStorageStats>;
public static CREATOR: android.os.Parcelable.Creator<android.app.usage.ExternalStorageStats>;
public getImageBytes(): number;
public getAppBytes(): number;
public getVideoBytes(): number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getTotalBytes(): number;
public describeContents(): number;
public getAudioBytes(): number;
}
}
}
}
declare module android {
export module app {
export module usage {
export class NetworkStats extends java.lang.Object implements java.lang.AutoCloseable {
public static class: java.lang.Class<android.app.usage.NetworkStats>;
public close(): void;
public finalize(): void;
public hasNextBucket(): boolean;
public getNextBucket(bucketOut: android.app.usage.NetworkStats.Bucket): boolean;
}
export module NetworkStats {
export class Bucket extends java.lang.Object {
public static class: java.lang.Class<android.app.usage.NetworkStats.Bucket>;
public static DEFAULT_NETWORK_ALL: number;
public static DEFAULT_NETWORK_NO: number;
public static DEFAULT_NETWORK_YES: number;
public static METERED_ALL: number;
public static METERED_NO: number;
public static METERED_YES: number;
public static ROAMING_ALL: number;
public static ROAMING_NO: number;
public static ROAMING_YES: number;
public static STATE_ALL: number;
public static STATE_DEFAULT: number;
public static STATE_FOREGROUND: number;
public static TAG_NONE: number;
public static UID_ALL: number;
public static UID_REMOVED: number;
public static UID_TETHERING: number;
public getUid(): number;
public getDefaultNetworkStatus(): number;
public getTxBytes(): number;
public getStartTimeStamp(): number;
public getTxPackets(): number;
public getRxPackets(): number;
public getTag(): number;
public getRxBytes(): number;
public constructor();
public getMetered(): number;
public getEndTimeStamp(): number;
public getState(): number;
public getRoaming(): number;
}
}
}
}
}
declare module android {
export module app {
export module usage {
export class NetworkStatsManager extends java.lang.Object {
public static class: java.lang.Class<android.app.usage.NetworkStatsManager>;
public querySummary(networkType: number, subscriberId: string, startTime: number, endTime: number): android.app.usage.NetworkStats;
public queryDetailsForUidTagState(networkType: number, subscriberId: string, startTime: number, endTime: number, uid: number, tag: number, state: number): android.app.usage.NetworkStats;
public registerUsageCallback(networkType: number, subscriberId: string, thresholdBytes: number, callback: android.app.usage.NetworkStatsManager.UsageCallback): void;
public queryDetailsForUidTag(networkType: number, subscriberId: string, startTime: number, endTime: number, uid: number, tag: number): android.app.usage.NetworkStats;
public queryDetails(networkType: number, subscriberId: string, startTime: number, endTime: number): android.app.usage.NetworkStats;
public registerUsageCallback(networkType: number, subscriberId: string, thresholdBytes: number, callback: android.app.usage.NetworkStatsManager.UsageCallback, handler: android.os.Handler): void;
public querySummaryForDevice(networkType: number, subscriberId: string, startTime: number, endTime: number): android.app.usage.NetworkStats.Bucket;
public querySummaryForUser(networkType: number, subscriberId: string, startTime: number, endTime: number): android.app.usage.NetworkStats.Bucket;
public queryDetailsForUid(networkType: number, subscriberId: string, startTime: number, endTime: number, uid: number): android.app.usage.NetworkStats;
public unregisterUsageCallback(callback: android.app.usage.NetworkStatsManager.UsageCallback): void;
}
export module NetworkStatsManager {
export abstract class UsageCallback extends java.lang.Object {
public static class: java.lang.Class<android.app.usage.NetworkStatsManager.UsageCallback>;
public constructor();
public onThresholdReached(int0: number, string1: string): void;
}
}
}
}
}
declare module android {
export module app {
export module usage {
export class StorageStats extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.usage.StorageStats>;
public static CREATOR: android.os.Parcelable.Creator<android.app.usage.StorageStats>;
public getAppBytes(): number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getDataBytes(): number;
public describeContents(): number;
public getCacheBytes(): number;
}
}
}
}
declare module android {
export module app {
export module usage {
export class StorageStatsManager extends java.lang.Object {
public static class: java.lang.Class<android.app.usage.StorageStatsManager>;
public queryStatsForUser(storageUuid: java.util.UUID, user: android.os.UserHandle): android.app.usage.StorageStats;
public getFreeBytes(storageUuid: java.util.UUID): number;
public getTotalBytes(storageUuid: java.util.UUID): number;
public queryStatsForUid(storageUuid: java.util.UUID, uid: number): android.app.usage.StorageStats;
public queryStatsForPackage(storageUuid: java.util.UUID, packageName: string, user: android.os.UserHandle): android.app.usage.StorageStats;
public queryExternalStatsForUser(storageUuid: java.util.UUID, user: android.os.UserHandle): android.app.usage.ExternalStorageStats;
}
}
}
}
declare module android {
export module app {
export module usage {
export class UsageEvents extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.usage.UsageEvents>;
public static CREATOR: android.os.Parcelable.Creator<android.app.usage.UsageEvents>;
public getNextEvent(eventOut: android.app.usage.UsageEvents.Event): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public hasNextEvent(): boolean;
}
export module UsageEvents {
export class Event extends java.lang.Object {
public static class: java.lang.Class<android.app.usage.UsageEvents.Event>;
public static ACTIVITY_PAUSED: number;
public static ACTIVITY_RESUMED: number;
public static ACTIVITY_STOPPED: number;
public static CONFIGURATION_CHANGE: number;
public static DEVICE_SHUTDOWN: number;
public static DEVICE_STARTUP: number;
public static FOREGROUND_SERVICE_START: number;
public static FOREGROUND_SERVICE_STOP: number;
public static KEYGUARD_HIDDEN: number;
public static KEYGUARD_SHOWN: number;
public static MOVE_TO_BACKGROUND: number;
public static MOVE_TO_FOREGROUND: number;
public static NONE: number;
public static SCREEN_INTERACTIVE: number;
public static SCREEN_NON_INTERACTIVE: number;
public static SHORTCUT_INVOCATION: number;
public static STANDBY_BUCKET_CHANGED: number;
public static USER_INTERACTION: number;
public getTimeStamp(): number;
public getAppStandbyBucket(): number;
public getClassName(): string;
public constructor();
public getPackageName(): string;
public getConfiguration(): android.content.res.Configuration;
public getEventType(): number;
public getShortcutId(): string;
}
}
}
}
}
declare module android {
export module app {
export module usage {
export class UsageStats extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.app.usage.UsageStats>;
public static CREATOR: android.os.Parcelable.Creator<android.app.usage.UsageStats>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(stats: android.app.usage.UsageStats);
public getLastTimeForegroundServiceUsed(): number;
public getPackageName(): string;
public add(right: android.app.usage.UsageStats): void;
public getLastTimeUsed(): number;
public getTotalTimeVisible(): number;
public getLastTimeVisible(): number;
public describeContents(): number;
public getFirstTimeStamp(): number;
public getTotalTimeForegroundServiceUsed(): number;
public getTotalTimeInForeground(): number;
public getLastTimeStamp(): number;
}
}
}
}
declare module android {
export module app {
export module usage {
export class UsageStatsManager extends java.lang.Object {
public static class: java.lang.Class<android.app.usage.UsageStatsManager>;
public static INTERVAL_BEST: number;
public static INTERVAL_DAILY: number;
public static INTERVAL_MONTHLY: number;
public static INTERVAL_WEEKLY: number;
public static INTERVAL_YEARLY: number;
public static STANDBY_BUCKET_ACTIVE: number;
public static STANDBY_BUCKET_FREQUENT: number;
public static STANDBY_BUCKET_RARE: number;
public static STANDBY_BUCKET_WORKING_SET: number;
public queryUsageStats(intervalType: number, beginTime: number, endTime: number): java.util.List<android.app.usage.UsageStats>;
public queryAndAggregateUsageStats(beginTime: number, endTime: number): java.util.Map<string,android.app.usage.UsageStats>;
public queryConfigurations(intervalType: number, beginTime: number, endTime: number): java.util.List<android.app.usage.ConfigurationStats>;
public queryEvents(beginTime: number, endTime: number): android.app.usage.UsageEvents;
public getAppStandbyBucket(): number;
public isAppInactive(packageName: string): boolean;
public queryEventsForSelf(beginTime: number, endTime: number): android.app.usage.UsageEvents;
public queryEventStats(intervalType: number, beginTime: number, endTime: number): java.util.List<android.app.usage.EventStats>;
}
}
}
}
declare module android {
export module appwidget {
export class AppWidgetHost extends java.lang.Object {
public static class: java.lang.Class<android.appwidget.AppWidgetHost>;
public clearViews(): void;
public startListening(): void;
public allocateAppWidgetId(): number;
public deleteAppWidgetId(appWidgetId: number): void;
public getAppWidgetIds(): native.Array<number>;
public stopListening(): void;
public onProvidersChanged(): void;
public startAppWidgetConfigureActivityForResult(activity: android.app.Activity, appWidgetId: number, intentFlags: number, requestCode: number, options: android.os.Bundle): void;
public createView(context: android.content.Context, appWidgetId: number, appWidget: android.appwidget.AppWidgetProviderInfo): android.appwidget.AppWidgetHostView;
public onProviderChanged(appWidgetId: number, appWidget: android.appwidget.AppWidgetProviderInfo): void;
public deleteHost(): void;
public constructor(context: android.content.Context, hostId: number);
public onCreateView(context: android.content.Context, appWidgetId: number, appWidget: android.appwidget.AppWidgetProviderInfo): android.appwidget.AppWidgetHostView;
public static deleteAllHosts(): void;
}
}
}
declare module android {
export module appwidget {
export class AppWidgetHostView extends android.widget.FrameLayout {
public static class: java.lang.Class<android.appwidget.AppWidgetHostView>;
public childDrawableStateChanged(child: android.view.View): void;
public isLayoutDirectionResolved(): boolean;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number);
public scheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable, when: number): void;
public constructor(context: android.content.Context);
public showContextMenuForChild(originalView: android.view.View, x: number, y: number): boolean;
public canResolveLayoutDirection(): boolean;
public onKeyDown(keyCode: number, event: android.view.KeyEvent): boolean;
public generateLayoutParams(lp: android.view.ViewGroup.LayoutParams): android.view.ViewGroup.LayoutParams;
public onNestedScrollAccepted(child: android.view.View, target: android.view.View, axes: number): void;
public addView(child: android.view.View, index: number): void;
public keyboardNavigationClusterSearch(currentCluster: android.view.View, direction: number): android.view.View;
public static getDefaultPaddingForWidget(context: android.content.Context, component: android.content.ComponentName, padding: android.graphics.Rect): android.graphics.Rect;
public onKeyLongPress(keyCode: number, event: android.view.KeyEvent): boolean;
public addView(child: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public setExecutor(executor: java.util.concurrent.Executor): void;
public requestChildFocus(child: android.view.View, focused: android.view.View): void;
public requestChildRectangleOnScreen(child: android.view.View, rectangle: android.graphics.Rect, immediate: boolean): boolean;
public getParentForAccessibility(): android.view.ViewParent;
public addView(child: android.view.View, width: number, height: number): void;
public prepareView(view: android.view.View): void;
public getErrorView(): android.view.View;
public canResolveTextAlignment(): boolean;
public getParent(): android.view.ViewParent;
public updateAppWidgetSize(newOptions: android.os.Bundle, minWidth: number, minHeight: number, maxWidth: number, maxHeight: number): void;
public focusableViewAvailable(v: android.view.View): void;
public requestDisallowInterceptTouchEvent(disallowIntercept: boolean): void;
public onStopNestedScroll(child: android.view.View): void;
public getDefaultView(): android.view.View;
public getLayoutDirection(): number;
public setAppWidget(appWidgetId: number, info: android.appwidget.AppWidgetProviderInfo): void;
public getTextAlignment(): number;
public getAppWidgetInfo(): android.appwidget.AppWidgetProviderInfo;
public generateLayoutParams(attrs: android.util.AttributeSet): android.view.ViewGroup.LayoutParams;
public getChildVisibleRect(child: android.view.View, r: android.graphics.Rect, offset: android.graphics.Point): boolean;
public focusSearch(direction: number): android.view.View;
public createContextMenu(menu: android.view.ContextMenu): void;
public generateLayoutParams(attrs: android.util.AttributeSet): android.widget.FrameLayout.LayoutParams;
public isLayoutRequested(): boolean;
public requestTransparentRegion(child: android.view.View): void;
public addView(child: android.view.View, index: number, params: android.view.ViewGroup.LayoutParams): void;
public onNestedPrePerformAccessibilityAction(target: android.view.View, action: number, bundle2: android.os.Bundle): boolean;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet);
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback): android.view.ActionMode;
public onNestedScroll(target: android.view.View, dxConsumed: number, dyConsumed: number, dxUnconsumed: number, dyUnconsumed: number): void;
public onStartNestedScroll(child: android.view.View, target: android.view.View, nestedScrollAxes: number): boolean;
public updateAppWidgetOptions(options: android.os.Bundle): void;
/** @deprecated */
public invalidateChildInParent(location: native.Array<number>, dirty: android.graphics.Rect): android.view.ViewParent;
public startActionModeForChild(originalView: android.view.View, callback: android.view.ActionMode.Callback, type: number): android.view.ActionMode;
public updateViewLayout(view: android.view.View, params: android.view.ViewGroup.LayoutParams): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable): void;
public onLayout(changed: boolean, left: number, top: number, right: number, bottom: number): void;
public onNestedFling(target: android.view.View, velocityX: number, velocityY: number, consumed: boolean): boolean;
public notifySubtreeAccessibilityStateChanged(child: android.view.View, source: android.view.View, changeType: number): void;
public requestLayout(): void;
public isTextAlignmentResolved(): boolean;
public removeView(view: android.view.View): void;
public showContextMenuForChild(originalView: android.view.View): boolean;
public onNestedPreScroll(target: android.view.View, dx: number, dy: number, consumed: native.Array<number>): void;
public getAppWidgetId(): number;
public onNestedPreFling(target: android.view.View, velocityX: number, velocityY: number): boolean;
public canResolveTextDirection(): boolean;
public getTextDirection(): number;
public onKeyMultiple(keyCode: number, repeatCount: number, event: android.view.KeyEvent): boolean;
public invalidateDrawable(drawable: android.graphics.drawable.Drawable): void;
public constructor(context: android.content.Context, animationIn: number, animationOut: number);
public updateAppWidget(remoteViews: android.widget.RemoteViews): void;
public clearChildFocus(child: android.view.View): void;
public dispatchSaveInstanceState(container: android.util.SparseArray<android.os.Parcelable>): void;
/** @deprecated */
public requestFitSystemWindows(): void;
public dispatchRestoreInstanceState(container: android.util.SparseArray<android.os.Parcelable>): void;
public setOnLightBackground(onLightBackground: boolean): void;
public unscheduleDrawable(who: android.graphics.drawable.Drawable, what: java.lang.Runnable): void;
public bringChildToFront(child: android.view.View): void;
public isTextDirectionResolved(): boolean;
public onDescendantInvalidated(child: android.view.View, target: android.view.View): void;
public onKeyUp(keyCode: number, event: android.view.KeyEvent): boolean;
/** @deprecated */
public invalidateChild(child: android.view.View, dirty: android.graphics.Rect): void;
public focusSearch(focused: android.view.View, direction: number): android.view.View;
public addView(child: android.view.View): void;
public recomputeViewAttributes(child: android.view.View): void;
public requestSendAccessibilityEvent(child: android.view.View, event: android.view.accessibility.AccessibilityEvent): boolean;
public constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyleAttr: number, defStyleRes: number);
public childHasTransientStateChanged(child: android.view.View, childHasTransientState: boolean): void;
public requestFitSystemWindows(): void;
public sendAccessibilityEvent(eventType: number): void;
public sendAccessibilityEventUnchecked(event: android.view.accessibility.AccessibilityEvent): void;
}
}
}
declare module android {
export module appwidget {
export class AppWidgetManager extends java.lang.Object {
public static class: java.lang.Class<android.appwidget.AppWidgetManager>;
public static ACTION_APPWIDGET_BIND: string;
public static ACTION_APPWIDGET_CONFIGURE: string;
public static ACTION_APPWIDGET_DELETED: string;
public static ACTION_APPWIDGET_DISABLED: string;
public static ACTION_APPWIDGET_ENABLED: string;
public static ACTION_APPWIDGET_HOST_RESTORED: string;
public static ACTION_APPWIDGET_OPTIONS_CHANGED: string;
public static ACTION_APPWIDGET_PICK: string;
public static ACTION_APPWIDGET_RESTORED: string;
public static ACTION_APPWIDGET_UPDATE: string;
public static EXTRA_APPWIDGET_ID: string;
public static EXTRA_APPWIDGET_IDS: string;
public static EXTRA_APPWIDGET_OLD_IDS: string;
public static EXTRA_APPWIDGET_OPTIONS: string;
public static EXTRA_APPWIDGET_PREVIEW: string;
public static EXTRA_APPWIDGET_PROVIDER: string;
public static EXTRA_APPWIDGET_PROVIDER_PROFILE: string;
public static EXTRA_CUSTOM_EXTRAS: string;
public static EXTRA_CUSTOM_INFO: string;
public static EXTRA_HOST_ID: string;
public static INVALID_APPWIDGET_ID: number;
public static META_DATA_APPWIDGET_PROVIDER: string;
public static OPTION_APPWIDGET_HOST_CATEGORY: string;
public static OPTION_APPWIDGET_MAX_HEIGHT: string;
public static OPTION_APPWIDGET_MAX_WIDTH: string;
public static OPTION_APPWIDGET_MIN_HEIGHT: string;
public static OPTION_APPWIDGET_MIN_WIDTH: string;
public updateAppWidget(appWidgetId: number, views: android.widget.RemoteViews): void;
public updateAppWidget(appWidgetIds: native.Array<number>, views: android.widget.RemoteViews): void;
public notifyAppWidgetViewDataChanged(appWidgetId: number, viewId: number): void;
public bindAppWidgetIdIfAllowed(appWidgetId: number, provider: android.content.ComponentName, options: android.os.Bundle): boolean;
public updateAppWidgetOptions(appWidgetId: number, options: android.os.Bundle): void;
public static getInstance(context: android.content.Context): android.appwidget.AppWidgetManager;
public getAppWidgetOptions(appWidgetId: number): android.os.Bundle;
public updateAppWidgetProviderInfo(provider: android.content.ComponentName, metaDataKey: string): void;
public bindAppWidgetIdIfAllowed(appWidgetId: number, provider: android.content.ComponentName): boolean;
public getInstalledProvidersForPackage(packageName: string, profile: android.os.UserHandle): java.util.List<android.appwidget.AppWidgetProviderInfo>;
public partiallyUpdateAppWidget(appWidgetId: number, views: android.widget.RemoteViews): void;
public isRequestPinAppWidgetSupported(): boolean;
public updateAppWidget(provider: android.content.ComponentName, views: android.widget.RemoteViews): void;
public getInstalledProvidersForProfile(profile: android.os.UserHandle): java.util.List<android.appwidget.AppWidgetProviderInfo>;
public requestPinAppWidget(provider: android.content.ComponentName, extras: android.os.Bundle, successCallback: android.app.PendingIntent): boolean;
public partiallyUpdateAppWidget(appWidgetIds: native.Array<number>, views: android.widget.RemoteViews): void;
public getAppWidgetIds(provider: android.content.ComponentName): native.Array<number>;
public bindAppWidgetIdIfAllowed(appWidgetId: number, user: android.os.UserHandle, provider: android.content.ComponentName, options: android.os.Bundle): boolean;
public notifyAppWidgetViewDataChanged(appWidgetIds: native.Array<number>, viewId: number): void;
public getInstalledProviders(): java.util.List<android.appwidget.AppWidgetProviderInfo>;
public getAppWidgetInfo(appWidgetId: number): android.appwidget.AppWidgetProviderInfo;
}
}
}
declare module android {
export module appwidget {
export class AppWidgetProvider extends android.content.BroadcastReceiver {
public static class: java.lang.Class<android.appwidget.AppWidgetProvider>;
public onAppWidgetOptionsChanged(context: android.content.Context, appWidgetManager: android.appwidget.AppWidgetManager, appWidgetId: number, newOptions: android.os.Bundle): void;
public onEnabled(context: android.content.Context): void;
public onRestored(context: android.content.Context, oldWidgetIds: native.Array<number>, newWidgetIds: native.Array<number>): void;
public onDeleted(context: android.content.Context, appWidgetIds: native.Array<number>): void;
public onUpdate(context: android.content.Context, appWidgetManager: android.appwidget.AppWidgetManager, appWidgetIds: native.Array<number>): void;
public onReceive(context0: android.content.Context, intent1: android.content.Intent): void;
public constructor();
public onReceive(context: android.content.Context, intent: android.content.Intent): void;
public onDisabled(context: android.content.Context): void;
}
}
}
declare module android {
export module appwidget {
export class AppWidgetProviderInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.appwidget.AppWidgetProviderInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.appwidget.AppWidgetProviderInfo>;
public static RESIZE_BOTH: number;
public static RESIZE_HORIZONTAL: number;
public static RESIZE_NONE: number;
public static RESIZE_VERTICAL: number;
public static WIDGET_CATEGORY_HOME_SCREEN: number;
public static WIDGET_CATEGORY_KEYGUARD: number;
public static WIDGET_CATEGORY_SEARCHBOX: number;
public static WIDGET_FEATURE_HIDE_FROM_PICKER: number;
public static WIDGET_FEATURE_RECONFIGURABLE: number;
public autoAdvanceViewId: number;
public configure: android.content.ComponentName;
public icon: number;
public initialKeyguardLayout: number;
public initialLayout: number;
public label: string;
public minHeight: number;
public minResizeHeight: number;
public minResizeWidth: number;
public minWidth: number;
public previewImage: number;
public provider: android.content.ComponentName;
public resizeMode: number;
public updatePeriodMillis: number;
public widgetCategory: number;
public widgetFeatures: number;
public clone(): any;
public toString(): string;
public loadPreviewImage(context: android.content.Context, density: number): android.graphics.drawable.Drawable;
public loadLabel(packageManager: android.content.pm.PackageManager): string;
public getProfile(): android.os.UserHandle;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public describeContents(): number;
public constructor(in0: android.os.Parcel);
public loadIcon(context: android.content.Context, density: number): android.graphics.drawable.Drawable;
public constructor();
public clone(): android.appwidget.AppWidgetProviderInfo;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothA2dp extends java.lang.Object implements android.bluetooth.BluetoothProfile {
public static class: java.lang.Class<android.bluetooth.BluetoothA2dp>;
public static ACTION_CONNECTION_STATE_CHANGED: string;
public static ACTION_PLAYING_STATE_CHANGED: string;
public static STATE_NOT_PLAYING: number;
public static STATE_PLAYING: number;
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public isA2dpPlaying(device: android.bluetooth.BluetoothDevice): boolean;
public finalize(): void;
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothAdapter extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothAdapter>;
public static ACTION_CONNECTION_STATE_CHANGED: string;
public static ACTION_DISCOVERY_FINISHED: string;
public static ACTION_DISCOVERY_STARTED: string;
public static ACTION_LOCAL_NAME_CHANGED: string;
public static ACTION_REQUEST_DISCOVERABLE: string;
public static ACTION_REQUEST_ENABLE: string;
public static ACTION_SCAN_MODE_CHANGED: string;
public static ACTION_STATE_CHANGED: string;
public static ERROR: number;
public static EXTRA_CONNECTION_STATE: string;
public static EXTRA_DISCOVERABLE_DURATION: string;
public static EXTRA_LOCAL_NAME: string;
public static EXTRA_PREVIOUS_CONNECTION_STATE: string;
public static EXTRA_PREVIOUS_SCAN_MODE: string;
public static EXTRA_PREVIOUS_STATE: string;
public static EXTRA_SCAN_MODE: string;
public static EXTRA_STATE: string;
public static SCAN_MODE_CONNECTABLE: number;
public static SCAN_MODE_CONNECTABLE_DISCOVERABLE: number;
public static SCAN_MODE_NONE: number;
public static STATE_CONNECTED: number;
public static STATE_CONNECTING: number;
public static STATE_DISCONNECTED: number;
public static STATE_DISCONNECTING: number;
public static STATE_OFF: number;
public static STATE_ON: number;
public static STATE_TURNING_OFF: number;
public static STATE_TURNING_ON: number;
public getLeMaximumAdvertisingDataLength(): number;
public isOffloadedScanBatchingSupported(): boolean;
public static checkBluetoothAddress(address: string): boolean;
public static getDefaultAdapter(): android.bluetooth.BluetoothAdapter;
public getAddress(): string;
public isLeCodedPhySupported(): boolean;
public getProfileProxy(context: android.content.Context, listener: android.bluetooth.BluetoothProfile.ServiceListener, profile: number): boolean;
public cancelDiscovery(): boolean;
public listenUsingL2capChannel(): android.bluetooth.BluetoothServerSocket;
public isLePeriodicAdvertisingSupported(): boolean;
public isDiscovering(): boolean;
public isMultipleAdvertisementSupported(): boolean;
public getRemoteDevice(address: string): android.bluetooth.BluetoothDevice;
public getBluetoothLeScanner(): android.bluetooth.le.BluetoothLeScanner;
public getRemoteDevice(address: native.Array<number>): android.bluetooth.BluetoothDevice;
public startDiscovery(): boolean;
public listenUsingInsecureRfcommWithServiceRecord(name: string, uuid: java.util.UUID): android.bluetooth.BluetoothServerSocket;
public getProfileConnectionState(profile: number): number;
public isOffloadedFilteringSupported(): boolean;
public disable(): boolean;
public getState(): number;
public finalize(): void;
public closeProfileProxy(profile: number, proxy: android.bluetooth.BluetoothProfile): void;
/** @deprecated */
public stopLeScan(callback: android.bluetooth.BluetoothAdapter.LeScanCallback): void;
public getBondedDevices(): java.util.Set<android.bluetooth.BluetoothDevice>;
public enable(): boolean;
public setName(name: string): boolean;
public getScanMode(): number;
public isLeExtendedAdvertisingSupported(): boolean;
public listenUsingInsecureL2capChannel(): android.bluetooth.BluetoothServerSocket;
public getBluetoothLeAdvertiser(): android.bluetooth.le.BluetoothLeAdvertiser;
public isEnabled(): boolean;
public getName(): string;
public isLe2MPhySupported(): boolean;
public listenUsingRfcommWithServiceRecord(name: string, uuid: java.util.UUID): android.bluetooth.BluetoothServerSocket;
/** @deprecated */
public startLeScan(serviceUuids: native.Array<java.util.UUID>, callback: android.bluetooth.BluetoothAdapter.LeScanCallback): boolean;
/** @deprecated */
public startLeScan(callback: android.bluetooth.BluetoothAdapter.LeScanCallback): boolean;
}
export module BluetoothAdapter {
export class LeScanCallback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothAdapter.LeScanCallback>;
/**
* Constructs a new instance of the android.bluetooth.BluetoothAdapter$LeScanCallback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onLeScan(bluetoothDevice0: android.bluetooth.BluetoothDevice, int1: number, bytes2: native.Array<number>): void;
});
public constructor();
public onLeScan(bluetoothDevice0: android.bluetooth.BluetoothDevice, int1: number, bytes2: native.Array<number>): void;
}
}
}
}
declare module android {
export module bluetooth {
export class BluetoothAssignedNumbers extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothAssignedNumbers>;
public static AAMP_OF_AMERICA: number;
public static ACCEL_SEMICONDUCTOR: number;
public static ACE_SENSOR: number;
public static ADIDAS: number;
public static ADVANCED_PANMOBIL_SYSTEMS: number;
public static AIROHA_TECHNOLOGY: number;
public static ALCATEL: number;
public static ALPWISE: number;
public static AMICCOM_ELECTRONICS: number;
public static APLIX: number;
public static APPLE: number;
public static APT_LICENSING: number;
public static ARCHOS: number;
public static ARP_DEVICES: number;
public static ATHEROS_COMMUNICATIONS: number;
public static ATMEL: number;
public static AUSTCO_COMMUNICATION_SYSTEMS: number;
public static AUTONET_MOBILE: number;
public static AVAGO: number;
public static AVM_BERLIN: number;
public static A_AND_D_ENGINEERING: number;
public static A_AND_R_CAMBRIDGE: number;
public static BANDSPEED: number;
public static BAND_XI_INTERNATIONAL: number;
public static BDE_TECHNOLOGY: number;
public static BEATS_ELECTRONICS: number;
public static BEAUTIFUL_ENTERPRISE: number;
public static BEKEY: number;
public static BELKIN_INTERNATIONAL: number;
public static BINAURIC: number;
public static BIOSENTRONICS: number;
public static BLUEGIGA: number;
public static BLUERADIOS: number;
public static BLUETOOTH_SIG: number;
public static BLUETREK_TECHNOLOGIES: number;
public static BOSE: number;
public static BRIARTEK: number;
public static BROADCOM: number;
public static CAEN_RFID: number;
public static CAMBRIDGE_SILICON_RADIO: number;
public static CATC: number;
public static CINETIX: number;
public static CLARINOX_TECHNOLOGIES: number;
public static COLORFY: number;
public static COMMIL: number;
public static CONEXANT_SYSTEMS: number;
public static CONNECTBLUE: number;
public static CONTINENTAL_AUTOMOTIVE: number;
public static CONWISE_TECHNOLOGY: number;
public static CREATIVE_TECHNOLOGY: number;
public static C_TECHNOLOGIES: number;
public static DANLERS: number;
public static DELORME_PUBLISHING_COMPANY: number;
public static DEXCOM: number;
public static DIALOG_SEMICONDUCTOR: number;
public static DIGIANSWER: number;
public static ECLIPSE: number;
public static ECOTEST: number;
public static ELGATO_SYSTEMS: number;
public static EM_MICROELECTRONIC_MARIN: number;
public static EQUINOX_AG: number;
public static ERICSSON_TECHNOLOGY: number;
public static EVLUMA: number;
public static FREE2MOVE: number;
public static FUNAI_ELECTRIC: number;
public static GARMIN_INTERNATIONAL: number;
public static GCT_SEMICONDUCTOR: number;
public static GELO: number;
public static GENEQ: number;
public static GENERAL_MOTORS: number;
public static GENNUM: number;
public static GEOFORCE: number;
public static GIBSON_GUITARS: number;
public static GN_NETCOM: number;
public static GN_RESOUND: number;
public static GOOGLE: number;
public static GREEN_THROTTLE_GAMES: number;
public static GROUP_SENSE: number;
public static HANLYNN_TECHNOLOGIES: number;
public static HARMAN_INTERNATIONAL: number;
public static HEWLETT_PACKARD: number;
public static HITACHI: number;
public static HOSIDEN: number;
public static IBM: number;
public static INFINEON_TECHNOLOGIES: number;
public static INGENIEUR_SYSTEMGRUPPE_ZAHN: number;
public static INTEGRATED_SILICON_SOLUTION: number;
public static INTEGRATED_SYSTEM_SOLUTION: number;
public static INTEL: number;
public static INVENTEL: number;
public static IPEXTREME: number;
public static I_TECH_DYNAMIC_GLOBAL_DISTRIBUTION: number;
public static JAWBONE: number;
public static JIANGSU_TOPPOWER_AUTOMOTIVE_ELECTRONICS: number;
public static JOHNSON_CONTROLS: number;
public static J_AND_M: number;
public static KAWANTECH: number;
public static KC_TECHNOLOGY: number;
public static KENSINGTON_COMPUTER_PRODUCTS_GROUP: number;
public static LAIRD_TECHNOLOGIES: number;
public static LESSWIRE: number;
public static LG_ELECTRONICS: number;
public static LINAK: number;
public static LUCENT: number;
public static LUDUS_HELSINKI: number;
public static MACRONIX: number;
public static MAGNETI_MARELLI: number;
public static MANSELLA: number;
public static MARVELL: number;
public static MATSUSHITA_ELECTRIC: number;
public static MC10: number;
public static MEDIATEK: number;
public static MESO_INTERNATIONAL: number;
public static META_WATCH: number;
public static MEWTEL_TECHNOLOGY: number;
public static MICOMMAND: number;
public static MICROCHIP_TECHNOLOGY: number;
public static MICROSOFT: number;
public static MINDTREE: number;
public static MISFIT_WEARABLES: number;
public static MITEL_SEMICONDUCTOR: number;
public static MITSUBISHI_ELECTRIC: number;
public static MOBILIAN_CORPORATION: number;
public static MONSTER: number;
public static MOTOROLA: number;
public static MSTAR_SEMICONDUCTOR: number;
public static MUZIK: number;
public static NEC: number;
public static NEC_LIGHTING: number;
public static NEWLOGIC: number;
public static NIKE: number;
public static NINE_SOLUTIONS: number;
public static NOKIA_MOBILE_PHONES: number;
public static NORDIC_SEMICONDUCTOR: number;
public static NORWOOD_SYSTEMS: number;
public static ODM_TECHNOLOGY: number;
public static OMEGAWAVE: number;
public static ONSET_COMPUTER: number;
public static OPEN_INTERFACE: number;
public static OTL_DYNAMICS: number;
public static PANDA_OCEAN: number;
public static PARROT: number;
public static PARTHUS_TECHNOLOGIES: number;
public static PASSIF_SEMICONDUCTOR: number;
public static PETER_SYSTEMTECHNIK: number;
public static PHILIPS_SEMICONDUCTORS: number;
public static PLANTRONICS: number;
public static POLAR_ELECTRO: number;
public static POLAR_ELECTRO_EUROPE: number;
public static PROCTER_AND_GAMBLE: number;
public static QUALCOMM: number;
public static QUALCOMM_CONNECTED_EXPERIENCES: number;
public static QUALCOMM_INNOVATION_CENTER: number;
public static QUALCOMM_LABS: number;
public static QUALCOMM_TECHNOLOGIES: number;
public static QUINTIC: number;
public static QUUPPA: number;
public static RALINK_TECHNOLOGY: number;
public static RDA_MICROELECTRONICS: number;
public static REALTEK_SEMICONDUCTOR: number;
public static RED_M: number;
public static RENESAS_TECHNOLOGY: number;
public static RESEARCH_IN_MOTION: number;
public static RF_MICRO_DEVICES: number;
public static RIVIERAWAVES: number;
public static ROHDE_AND_SCHWARZ: number;
public static RTX_TELECOM: number;
public static SAMSUNG_ELECTRONICS: number;
public static SARIS_CYCLING_GROUP: number;
public static SEERS_TECHNOLOGY: number;
public static SEIKO_EPSON: number;
public static SELFLY: number;
public static SEMILINK: number;
public static SENNHEISER_COMMUNICATIONS: number;
public static SHANGHAI_SUPER_SMART_ELECTRONICS: number;
public static SHENZHEN_EXCELSECU_DATA_TECHNOLOGY: number;
public static SIGNIA_TECHNOLOGIES: number;
public static SILICON_WAVE: number;
public static SIRF_TECHNOLOGY: number;
public static SOCKET_MOBILE: number;
public static SONY_ERICSSON: number;
public static SOUND_ID: number;
public static SPORTS_TRACKING_TECHNOLOGIES: number;
public static SR_MEDIZINELEKTRONIK: number;
public static STACCATO_COMMUNICATIONS: number;
public static STALMART_TECHNOLOGY: number;
public static STARKEY_LABORATORIES: number;
public static STOLLMAN_E_PLUS_V: number;
public static STONESTREET_ONE: number;
public static ST_MICROELECTRONICS: number;
public static SUMMIT_DATA_COMMUNICATIONS: number;
public static SUUNTO: number;
public static SWIRL_NETWORKS: number;
public static SYMBOL_TECHNOLOGIES: number;
public static SYNOPSYS: number;
public static SYSTEMS_AND_CHIPS: number;
public static S_POWER_ELECTRONICS: number;
public static TAIXINGBANG_TECHNOLOGY: number;
public static TENOVIS: number;
public static TERAX: number;
public static TEXAS_INSTRUMENTS: number;
public static THINKOPTICS: number;
public static THREECOM: number;
public static THREE_DIJOY: number;
public static THREE_DSP: number;
public static TIMEKEEPING_SYSTEMS: number;
public static TIMEX_GROUP_USA: number;
public static TOPCORN_POSITIONING_SYSTEMS: number;
public static TOSHIBA: number;
public static TRANSILICA: number;
public static TRELAB: number;
public static TTPCOM: number;
public static TXTR: number;
public static TZERO_TECHNOLOGIES: number;
public static UNIVERSAL_ELECTRONICS: number;
public static VERTU: number;
public static VISTEON: number;
public static VIZIO: number;
public static VOYETRA_TURTLE_BEACH: number;
public static WAVEPLUS_TECHNOLOGY: number;
public static WICENTRIC: number;
public static WIDCOMM: number;
public static WUXI_VIMICRO: number;
public static ZEEVO: number;
public static ZER01_TV: number;
public static ZOMM: number;
public static ZSCAN_SOFTWARE: number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothClass extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothClass>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothClass>;
public toString(): string;
public hasService(service: number): boolean;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getDeviceClass(): number;
public getMajorDeviceClass(): number;
public hashCode(): number;
}
export module BluetoothClass {
export class Device extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothClass.Device>;
public static AUDIO_VIDEO_CAMCORDER: number;
public static AUDIO_VIDEO_CAR_AUDIO: number;
public static AUDIO_VIDEO_HANDSFREE: number;
public static AUDIO_VIDEO_HEADPHONES: number;
public static AUDIO_VIDEO_HIFI_AUDIO: number;
public static AUDIO_VIDEO_LOUDSPEAKER: number;
public static AUDIO_VIDEO_MICROPHONE: number;
public static AUDIO_VIDEO_PORTABLE_AUDIO: number;
public static AUDIO_VIDEO_SET_TOP_BOX: number;
public static AUDIO_VIDEO_UNCATEGORIZED: number;
public static AUDIO_VIDEO_VCR: number;
public static AUDIO_VIDEO_VIDEO_CAMERA: number;
public static AUDIO_VIDEO_VIDEO_CONFERENCING: number;
public static AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER: number;
public static AUDIO_VIDEO_VIDEO_GAMING_TOY: number;
public static AUDIO_VIDEO_VIDEO_MONITOR: number;
public static AUDIO_VIDEO_WEARABLE_HEADSET: number;
public static COMPUTER_DESKTOP: number;
public static COMPUTER_HANDHELD_PC_PDA: number;
public static COMPUTER_LAPTOP: number;
public static COMPUTER_PALM_SIZE_PC_PDA: number;
public static COMPUTER_SERVER: number;
public static COMPUTER_UNCATEGORIZED: number;
public static COMPUTER_WEARABLE: number;
public static HEALTH_BLOOD_PRESSURE: number;
public static HEALTH_DATA_DISPLAY: number;
public static HEALTH_GLUCOSE: number;
public static HEALTH_PULSE_OXIMETER: number;
public static HEALTH_PULSE_RATE: number;
public static HEALTH_THERMOMETER: number;
public static HEALTH_UNCATEGORIZED: number;
public static HEALTH_WEIGHING: number;
public static PHONE_CELLULAR: number;
public static PHONE_CORDLESS: number;
public static PHONE_ISDN: number;
public static PHONE_MODEM_OR_GATEWAY: number;
public static PHONE_SMART: number;
public static PHONE_UNCATEGORIZED: number;
public static TOY_CONTROLLER: number;
public static TOY_DOLL_ACTION_FIGURE: number;
public static TOY_GAME: number;
public static TOY_ROBOT: number;
public static TOY_UNCATEGORIZED: number;
public static TOY_VEHICLE: number;
public static WEARABLE_GLASSES: number;
public static WEARABLE_HELMET: number;
public static WEARABLE_JACKET: number;
public static WEARABLE_PAGER: number;
public static WEARABLE_UNCATEGORIZED: number;
public static WEARABLE_WRIST_WATCH: number;
public constructor();
}
export module Device {
export class Major extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothClass.Device.Major>;
public static AUDIO_VIDEO: number;
public static COMPUTER: number;
public static HEALTH: number;
public static IMAGING: number;
public static MISC: number;
public static NETWORKING: number;
public static PERIPHERAL: number;
public static PHONE: number;
public static TOY: number;
public static UNCATEGORIZED: number;
public static WEARABLE: number;
public constructor();
}
}
export class Service extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothClass.Service>;
public static AUDIO: number;
public static CAPTURE: number;
public static INFORMATION: number;
public static LIMITED_DISCOVERABILITY: number;
public static NETWORKING: number;
public static OBJECT_TRANSFER: number;
public static POSITIONING: number;
public static RENDER: number;
public static TELEPHONY: number;
public constructor();
}
}
}
}
declare module android {
export module bluetooth {
export class BluetoothDevice extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothDevice>;
public static ACTION_ACL_CONNECTED: string;
public static ACTION_ACL_DISCONNECTED: string;
public static ACTION_ACL_DISCONNECT_REQUESTED: string;
public static ACTION_BOND_STATE_CHANGED: string;
public static ACTION_CLASS_CHANGED: string;
public static ACTION_FOUND: string;
public static ACTION_NAME_CHANGED: string;
public static ACTION_PAIRING_REQUEST: string;
public static ACTION_UUID: string;
public static BOND_BONDED: number;
public static BOND_BONDING: number;
public static BOND_NONE: number;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothDevice>;
public static DEVICE_TYPE_CLASSIC: number;
public static DEVICE_TYPE_DUAL: number;
public static DEVICE_TYPE_LE: number;
public static DEVICE_TYPE_UNKNOWN: number;
public static ERROR: number;
public static EXTRA_BOND_STATE: string;
public static EXTRA_CLASS: string;
public static EXTRA_DEVICE: string;
public static EXTRA_NAME: string;
public static EXTRA_PAIRING_KEY: string;
public static EXTRA_PAIRING_VARIANT: string;
public static EXTRA_PREVIOUS_BOND_STATE: string;
public static EXTRA_RSSI: string;
public static EXTRA_UUID: string;
public static PAIRING_VARIANT_PASSKEY_CONFIRMATION: number;
public static PAIRING_VARIANT_PIN: number;
public static PHY_LE_1M: number;
public static PHY_LE_1M_MASK: number;
public static PHY_LE_2M: number;
public static PHY_LE_2M_MASK: number;
public static PHY_LE_CODED: number;
public static PHY_LE_CODED_MASK: number;
public static PHY_OPTION_NO_PREFERRED: number;
public static PHY_OPTION_S2: number;
public static PHY_OPTION_S8: number;
public static TRANSPORT_AUTO: number;
public static TRANSPORT_BREDR: number;
public static TRANSPORT_LE: number;
public getType(): number;
public fetchUuidsWithSdp(): boolean;
public connectGatt(context: android.content.Context, autoConnect: boolean, callback: android.bluetooth.BluetoothGattCallback, transport: number, phy: number): android.bluetooth.BluetoothGatt;
public createInsecureL2capChannel(psm: number): android.bluetooth.BluetoothSocket;
public connectGatt(context: android.content.Context, autoConnect: boolean, callback: android.bluetooth.BluetoothGattCallback, transport: number, phy: number, handler: android.os.Handler): android.bluetooth.BluetoothGatt;
public getAddress(): string;
public connectGatt(context: android.content.Context, autoConnect: boolean, callback: android.bluetooth.BluetoothGattCallback, transport: number): android.bluetooth.BluetoothGatt;
public createRfcommSocketToServiceRecord(uuid: java.util.UUID): android.bluetooth.BluetoothSocket;
public getBondState(): number;
public getUuids(): native.Array<android.os.ParcelUuid>;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public getName(): string;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public createInsecureRfcommSocketToServiceRecord(uuid: java.util.UUID): android.bluetooth.BluetoothSocket;
public createBond(): boolean;
public getBluetoothClass(): android.bluetooth.BluetoothClass;
public createL2capChannel(psm: number): android.bluetooth.BluetoothSocket;
public connectGatt(context: android.content.Context, autoConnect: boolean, callback: android.bluetooth.BluetoothGattCallback): android.bluetooth.BluetoothGatt;
public setPin(pin: native.Array<number>): boolean;
public hashCode(): number;
public setPairingConfirmation(confirm: boolean): boolean;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothGatt extends java.lang.Object implements android.bluetooth.BluetoothProfile {
public static class: java.lang.Class<android.bluetooth.BluetoothGatt>;
public static CONNECTION_PRIORITY_BALANCED: number;
public static CONNECTION_PRIORITY_HIGH: number;
public static CONNECTION_PRIORITY_LOW_POWER: number;
public static GATT_CONNECTION_CONGESTED: number;
public static GATT_FAILURE: number;
public static GATT_INSUFFICIENT_AUTHENTICATION: number;
public static GATT_INSUFFICIENT_ENCRYPTION: number;
public static GATT_INVALID_ATTRIBUTE_LENGTH: number;
public static GATT_INVALID_OFFSET: number;
public static GATT_READ_NOT_PERMITTED: number;
public static GATT_REQUEST_NOT_SUPPORTED: number;
public static GATT_SUCCESS: number;
public static GATT_WRITE_NOT_PERMITTED: number;
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public connect(): boolean;
public getServices(): java.util.List<android.bluetooth.BluetoothGattService>;
public readDescriptor(descriptor: android.bluetooth.BluetoothGattDescriptor): boolean;
public getService(uuid: java.util.UUID): android.bluetooth.BluetoothGattService;
public requestMtu(mtu: number): boolean;
public executeReliableWrite(): boolean;
public setPreferredPhy(txPhy: number, rxPhy: number, phyOptions: number): void;
public readCharacteristic(characteristic: android.bluetooth.BluetoothGattCharacteristic): boolean;
public readPhy(): void;
public requestConnectionPriority(connectionPriority: number): boolean;
public readRemoteRssi(): boolean;
public beginReliableWrite(): boolean;
public setCharacteristicNotification(characteristic: android.bluetooth.BluetoothGattCharacteristic, enable: boolean): boolean;
public writeDescriptor(descriptor: android.bluetooth.BluetoothGattDescriptor): boolean;
public getDevice(): android.bluetooth.BluetoothDevice;
public close(): void;
public writeCharacteristic(characteristic: android.bluetooth.BluetoothGattCharacteristic): boolean;
public abortReliableWrite(): void;
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
public disconnect(): void;
public discoverServices(): boolean;
/** @deprecated */
public abortReliableWrite(mDevice: android.bluetooth.BluetoothDevice): void;
}
}
}
declare module android {
export module bluetooth {
export abstract class BluetoothGattCallback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothGattCallback>;
public onMtuChanged(gatt: android.bluetooth.BluetoothGatt, mtu: number, status: number): void;
public constructor();
public onPhyUpdate(gatt: android.bluetooth.BluetoothGatt, txPhy: number, rxPhy: number, status: number): void;
public onCharacteristicWrite(gatt: android.bluetooth.BluetoothGatt, characteristic: android.bluetooth.BluetoothGattCharacteristic, status: number): void;
public onCharacteristicChanged(gatt: android.bluetooth.BluetoothGatt, characteristic: android.bluetooth.BluetoothGattCharacteristic): void;
public onReliableWriteCompleted(gatt: android.bluetooth.BluetoothGatt, status: number): void;
public onConnectionStateChange(gatt: android.bluetooth.BluetoothGatt, status: number, newState: number): void;
public onServicesDiscovered(gatt: android.bluetooth.BluetoothGatt, status: number): void;
public onPhyRead(gatt: android.bluetooth.BluetoothGatt, txPhy: number, rxPhy: number, status: number): void;
public onDescriptorRead(gatt: android.bluetooth.BluetoothGatt, descriptor: android.bluetooth.BluetoothGattDescriptor, status: number): void;
public onDescriptorWrite(gatt: android.bluetooth.BluetoothGatt, descriptor: android.bluetooth.BluetoothGattDescriptor, status: number): void;
public onCharacteristicRead(gatt: android.bluetooth.BluetoothGatt, characteristic: android.bluetooth.BluetoothGattCharacteristic, status: number): void;
public onReadRemoteRssi(gatt: android.bluetooth.BluetoothGatt, rssi: number, status: number): void;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothGattCharacteristic extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothGattCharacteristic>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothGattCharacteristic>;
public static FORMAT_FLOAT: number;
public static FORMAT_SFLOAT: number;
public static FORMAT_SINT16: number;
public static FORMAT_SINT32: number;
public static FORMAT_SINT8: number;
public static FORMAT_UINT16: number;
public static FORMAT_UINT32: number;
public static FORMAT_UINT8: number;
public static PERMISSION_READ: number;
public static PERMISSION_READ_ENCRYPTED: number;
public static PERMISSION_READ_ENCRYPTED_MITM: number;
public static PERMISSION_WRITE: number;
public static PERMISSION_WRITE_ENCRYPTED: number;
public static PERMISSION_WRITE_ENCRYPTED_MITM: number;
public static PERMISSION_WRITE_SIGNED: number;
public static PERMISSION_WRITE_SIGNED_MITM: number;
public static PROPERTY_BROADCAST: number;
public static PROPERTY_EXTENDED_PROPS: number;
public static PROPERTY_INDICATE: number;
public static PROPERTY_NOTIFY: number;
public static PROPERTY_READ: number;
public static PROPERTY_SIGNED_WRITE: number;
public static PROPERTY_WRITE: number;
public static PROPERTY_WRITE_NO_RESPONSE: number;
public static WRITE_TYPE_DEFAULT: number;
public static WRITE_TYPE_NO_RESPONSE: number;
public static WRITE_TYPE_SIGNED: number;
public mDescriptors: java.util.List<android.bluetooth.BluetoothGattDescriptor>;
public setValue(mantissa: number, exponent: number, formatType: number, offset: number): boolean;
public getValue(): native.Array<number>;
public setValue(value: native.Array<number>): boolean;
public getStringValue(offset: number): string;
public setValue(value: string): boolean;
public getUuid(): java.util.UUID;
public constructor(uuid: java.util.UUID, properties: number, permissions: number);
public getFloatValue(formatType: number, offset: number): java.lang.Float;
public getService(): android.bluetooth.BluetoothGattService;
public getProperties(): number;
public addDescriptor(descriptor: android.bluetooth.BluetoothGattDescriptor): boolean;
public getPermissions(): number;
public getDescriptor(uuid: java.util.UUID): android.bluetooth.BluetoothGattDescriptor;
public getInstanceId(): number;
public getDescriptors(): java.util.List<android.bluetooth.BluetoothGattDescriptor>;
public getIntValue(formatType: number, offset: number): java.lang.Integer;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public setWriteType(writeType: number): void;
public setValue(value: number, formatType: number, offset: number): boolean;
public getWriteType(): number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothGattDescriptor extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothGattDescriptor>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothGattDescriptor>;
public static DISABLE_NOTIFICATION_VALUE: native.Array<number>;
public static ENABLE_INDICATION_VALUE: native.Array<number>;
public static ENABLE_NOTIFICATION_VALUE: native.Array<number>;
public static PERMISSION_READ: number;
public static PERMISSION_READ_ENCRYPTED: number;
public static PERMISSION_READ_ENCRYPTED_MITM: number;
public static PERMISSION_WRITE: number;
public static PERMISSION_WRITE_ENCRYPTED: number;
public static PERMISSION_WRITE_ENCRYPTED_MITM: number;
public static PERMISSION_WRITE_SIGNED: number;
public static PERMISSION_WRITE_SIGNED_MITM: number;
public constructor(uuid: java.util.UUID, permissions: number);
public getPermissions(): number;
public getCharacteristic(): android.bluetooth.BluetoothGattCharacteristic;
public getValue(): native.Array<number>;
public setValue(value: native.Array<number>): boolean;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getUuid(): java.util.UUID;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothGattServer extends java.lang.Object implements android.bluetooth.BluetoothProfile {
public static class: java.lang.Class<android.bluetooth.BluetoothGattServer>;
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public cancelConnection(device: android.bluetooth.BluetoothDevice): void;
public addService(service: android.bluetooth.BluetoothGattService): boolean;
public setPreferredPhy(device: android.bluetooth.BluetoothDevice, txPhy: number, rxPhy: number, phyOptions: number): void;
public getServices(): java.util.List<android.bluetooth.BluetoothGattService>;
public removeService(service: android.bluetooth.BluetoothGattService): boolean;
public notifyCharacteristicChanged(device: android.bluetooth.BluetoothDevice, characteristic: android.bluetooth.BluetoothGattCharacteristic, confirm: boolean): boolean;
public getService(uuid: java.util.UUID): android.bluetooth.BluetoothGattService;
public readPhy(device: android.bluetooth.BluetoothDevice): void;
public sendResponse(device: android.bluetooth.BluetoothDevice, requestId: number, status: number, offset: number, value: native.Array<number>): boolean;
public clearServices(): void;
public connect(device: android.bluetooth.BluetoothDevice, autoConnect: boolean): boolean;
public close(): void;
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
}
}
}
declare module android {
export module bluetooth {
export abstract class BluetoothGattServerCallback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothGattServerCallback>;
public onServiceAdded(status: number, service: android.bluetooth.BluetoothGattService): void;
public onDescriptorReadRequest(device: android.bluetooth.BluetoothDevice, requestId: number, offset: number, descriptor: android.bluetooth.BluetoothGattDescriptor): void;
public onCharacteristicWriteRequest(device: android.bluetooth.BluetoothDevice, requestId: number, characteristic: android.bluetooth.BluetoothGattCharacteristic, preparedWrite: boolean, responseNeeded: boolean, offset: number, value: native.Array<number>): void;
public onDescriptorWriteRequest(device: android.bluetooth.BluetoothDevice, requestId: number, descriptor: android.bluetooth.BluetoothGattDescriptor, preparedWrite: boolean, responseNeeded: boolean, offset: number, value: native.Array<number>): void;
public onPhyUpdate(device: android.bluetooth.BluetoothDevice, txPhy: number, rxPhy: number, status: number): void;
public onConnectionStateChange(device: android.bluetooth.BluetoothDevice, status: number, newState: number): void;
public onCharacteristicReadRequest(device: android.bluetooth.BluetoothDevice, requestId: number, offset: number, characteristic: android.bluetooth.BluetoothGattCharacteristic): void;
public constructor();
public onExecuteWrite(device: android.bluetooth.BluetoothDevice, requestId: number, execute: boolean): void;
public onPhyRead(device: android.bluetooth.BluetoothDevice, txPhy: number, rxPhy: number, status: number): void;
public onNotificationSent(device: android.bluetooth.BluetoothDevice, status: number): void;
public onMtuChanged(device: android.bluetooth.BluetoothDevice, mtu: number): void;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothGattService extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothGattService>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothGattService>;
public static SERVICE_TYPE_PRIMARY: number;
public static SERVICE_TYPE_SECONDARY: number;
public mCharacteristics: java.util.List<android.bluetooth.BluetoothGattCharacteristic>;
public mIncludedServices: java.util.List<android.bluetooth.BluetoothGattService>;
public addCharacteristic(characteristic: android.bluetooth.BluetoothGattCharacteristic): boolean;
public getType(): number;
public constructor(uuid: java.util.UUID, serviceType: number);
public addService(service: android.bluetooth.BluetoothGattService): boolean;
public getInstanceId(): number;
public getCharacteristic(uuid: java.util.UUID): android.bluetooth.BluetoothGattCharacteristic;
public getIncludedServices(): java.util.List<android.bluetooth.BluetoothGattService>;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getCharacteristics(): java.util.List<android.bluetooth.BluetoothGattCharacteristic>;
public getUuid(): java.util.UUID;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothHeadset extends java.lang.Object implements android.bluetooth.BluetoothProfile {
public static class: java.lang.Class<android.bluetooth.BluetoothHeadset>;
public static ACTION_AUDIO_STATE_CHANGED: string;
public static ACTION_CONNECTION_STATE_CHANGED: string;
public static ACTION_VENDOR_SPECIFIC_HEADSET_EVENT: string;
public static AT_CMD_TYPE_ACTION: number;
public static AT_CMD_TYPE_BASIC: number;
public static AT_CMD_TYPE_READ: number;
public static AT_CMD_TYPE_SET: number;
public static AT_CMD_TYPE_TEST: number;
public static EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS: string;
public static EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD: string;
public static EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE: string;
public static STATE_AUDIO_CONNECTED: number;
public static STATE_AUDIO_CONNECTING: number;
public static STATE_AUDIO_DISCONNECTED: number;
public static VENDOR_RESULT_CODE_COMMAND_ANDROID: string;
public static VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY: string;
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public stopVoiceRecognition(device: android.bluetooth.BluetoothDevice): boolean;
public isAudioConnected(device: android.bluetooth.BluetoothDevice): boolean;
public sendVendorSpecificResultCode(device: android.bluetooth.BluetoothDevice, command: string, string2: string): boolean;
public startVoiceRecognition(device: android.bluetooth.BluetoothDevice): boolean;
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothHealth extends java.lang.Object implements android.bluetooth.BluetoothProfile {
public static class: java.lang.Class<android.bluetooth.BluetoothHealth>;
public static APP_CONFIG_REGISTRATION_FAILURE: number;
public static APP_CONFIG_REGISTRATION_SUCCESS: number;
public static APP_CONFIG_UNREGISTRATION_FAILURE: number;
public static APP_CONFIG_UNREGISTRATION_SUCCESS: number;
public static CHANNEL_TYPE_RELIABLE: number;
public static CHANNEL_TYPE_STREAMING: number;
public static SINK_ROLE: number;
public static SOURCE_ROLE: number;
public static STATE_CHANNEL_CONNECTED: number;
public static STATE_CHANNEL_CONNECTING: number;
public static STATE_CHANNEL_DISCONNECTED: number;
public static STATE_CHANNEL_DISCONNECTING: number;
/** @deprecated */
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
/** @deprecated */
public registerSinkAppConfiguration(name: string, dataType: number, callback: android.bluetooth.BluetoothHealthCallback): boolean;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
/** @deprecated */
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
/** @deprecated */
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
/** @deprecated */
public unregisterAppConfiguration(config: android.bluetooth.BluetoothHealthAppConfiguration): boolean;
/** @deprecated */
public disconnectChannel(device: android.bluetooth.BluetoothDevice, config: android.bluetooth.BluetoothHealthAppConfiguration, channelId: number): boolean;
/** @deprecated */
public getMainChannelFd(device: android.bluetooth.BluetoothDevice, config: android.bluetooth.BluetoothHealthAppConfiguration): android.os.ParcelFileDescriptor;
/** @deprecated */
public connectChannelToSource(device: android.bluetooth.BluetoothDevice, config: android.bluetooth.BluetoothHealthAppConfiguration): boolean;
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothHealthAppConfiguration extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothHealthAppConfiguration>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothHealthAppConfiguration>;
/** @deprecated */
public describeContents(): number;
/** @deprecated */
public getRole(): number;
/** @deprecated */
public getDataType(): number;
/** @deprecated */
public getName(): string;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
/** @deprecated */
public writeToParcel(out: android.os.Parcel, flags: number): void;
}
}
}
declare module android {
export module bluetooth {
export abstract class BluetoothHealthCallback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothHealthCallback>;
/** @deprecated */
public onHealthChannelStateChange(config: android.bluetooth.BluetoothHealthAppConfiguration, device: android.bluetooth.BluetoothDevice, prevState: number, newState: number, fd: android.os.ParcelFileDescriptor, channelId: number): void;
/** @deprecated */
public constructor();
/** @deprecated */
public onHealthAppConfigurationStatusChange(config: android.bluetooth.BluetoothHealthAppConfiguration, status: number): void;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothHearingAid extends java.lang.Object implements android.bluetooth.BluetoothProfile {
public static class: java.lang.Class<android.bluetooth.BluetoothHearingAid>;
public static ACTION_CONNECTION_STATE_CHANGED: string;
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothHidDevice extends java.lang.Object implements android.bluetooth.BluetoothProfile {
public static class: java.lang.Class<android.bluetooth.BluetoothHidDevice>;
public static ACTION_CONNECTION_STATE_CHANGED: string;
public static ERROR_RSP_INVALID_PARAM: number;
public static ERROR_RSP_INVALID_RPT_ID: number;
public static ERROR_RSP_NOT_READY: number;
public static ERROR_RSP_SUCCESS: number;
public static ERROR_RSP_UNKNOWN: number;
public static ERROR_RSP_UNSUPPORTED_REQ: number;
public static PROTOCOL_BOOT_MODE: number;
public static PROTOCOL_REPORT_MODE: number;
public static REPORT_TYPE_FEATURE: number;
public static REPORT_TYPE_INPUT: number;
public static REPORT_TYPE_OUTPUT: number;
public static SUBCLASS1_COMBO: number;
public static SUBCLASS1_KEYBOARD: number;
public static SUBCLASS1_MOUSE: number;
public static SUBCLASS1_NONE: number;
public static SUBCLASS2_CARD_READER: number;
public static SUBCLASS2_DIGITIZER_TABLET: number;
public static SUBCLASS2_GAMEPAD: number;
public static SUBCLASS2_JOYSTICK: number;
public static SUBCLASS2_REMOTE_CONTROL: number;
public static SUBCLASS2_SENSING_DEVICE: number;
public static SUBCLASS2_UNCATEGORIZED: number;
public getDevicesMatchingConnectionStates(states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public sendReport(device: android.bluetooth.BluetoothDevice, id: number, data: native.Array<number>): boolean;
public disconnect(device: android.bluetooth.BluetoothDevice): boolean;
public connect(device: android.bluetooth.BluetoothDevice): boolean;
public registerApp(sdp: android.bluetooth.BluetoothHidDeviceAppSdpSettings, inQos: android.bluetooth.BluetoothHidDeviceAppQosSettings, outQos: android.bluetooth.BluetoothHidDeviceAppQosSettings, executor: java.util.concurrent.Executor, callback: android.bluetooth.BluetoothHidDevice.Callback): boolean;
public unregisterApp(): boolean;
public replyReport(device: android.bluetooth.BluetoothDevice, type: number, id: number, data: native.Array<number>): boolean;
public getConnectionState(device: android.bluetooth.BluetoothDevice): number;
public reportError(device: android.bluetooth.BluetoothDevice, error: number): boolean;
}
export module BluetoothHidDevice {
export abstract class Callback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothHidDevice.Callback>;
public onAppStatusChanged(pluggedDevice: android.bluetooth.BluetoothDevice, registered: boolean): void;
public onSetProtocol(device: android.bluetooth.BluetoothDevice, protocol: number): void;
public onVirtualCableUnplug(device: android.bluetooth.BluetoothDevice): void;
public onConnectionStateChanged(device: android.bluetooth.BluetoothDevice, state: number): void;
public onInterruptData(device: android.bluetooth.BluetoothDevice, reportId: number, data: native.Array<number>): void;
public onGetReport(device: android.bluetooth.BluetoothDevice, type: number, id: number, bufferSize: number): void;
public onSetReport(device: android.bluetooth.BluetoothDevice, type: number, id: number, data: native.Array<number>): void;
public constructor();
}
}
}
}
declare module android {
export module bluetooth {
export class BluetoothHidDeviceAppQosSettings extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothHidDeviceAppQosSettings>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothHidDeviceAppQosSettings>;
public static MAX: number;
public static SERVICE_BEST_EFFORT: number;
public static SERVICE_GUARANTEED: number;
public static SERVICE_NO_TRAFFIC: number;
public getTokenRate(): number;
public getLatency(): number;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getServiceType(): number;
public getDelayVariation(): number;
public constructor(serviceType: number, tokenRate: number, tokenBucketSize: number, peakBandwidth: number, latency: number, delayVariation: number);
public getTokenBucketSize(): number;
public getPeakBandwidth(): number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothHidDeviceAppSdpSettings extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.BluetoothHidDeviceAppSdpSettings>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.BluetoothHidDeviceAppSdpSettings>;
public getName(): string;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public constructor(name: string, description: string, provider: string, subclass: number, descriptors: native.Array<number>);
public getProvider(): string;
public getDescription(): string;
public getDescriptors(): native.Array<number>;
public getSubclass(): number;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothManager extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothManager>;
public getConnectionState(device: android.bluetooth.BluetoothDevice, profile: number): number;
public getConnectedDevices(profile: number): java.util.List<android.bluetooth.BluetoothDevice>;
public getAdapter(): android.bluetooth.BluetoothAdapter;
public openGattServer(context: android.content.Context, callback: android.bluetooth.BluetoothGattServerCallback): android.bluetooth.BluetoothGattServer;
public getDevicesMatchingConnectionStates(profile: number, states: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothProfile extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothProfile>;
/**
* Constructs a new instance of the android.bluetooth.BluetoothProfile interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
getDevicesMatchingConnectionStates(ints0: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
getConnectionState(bluetoothDevice0: android.bluetooth.BluetoothDevice): number;
});
public constructor();
public static STATE_DISCONNECTED: number;
public static STATE_DISCONNECTING: number;
public static STATE_CONNECTING: number;
public static A2DP: number;
public static SAP: number;
public static HEARING_AID: number;
public static GATT_SERVER: number;
public static EXTRA_STATE: string;
public static GATT: number;
public static HEALTH: number;
public static HID_DEVICE: number;
public static HEADSET: number;
public static STATE_CONNECTED: number;
public static EXTRA_PREVIOUS_STATE: string;
public getConnectedDevices(): java.util.List<android.bluetooth.BluetoothDevice>;
public getDevicesMatchingConnectionStates(ints0: native.Array<number>): java.util.List<android.bluetooth.BluetoothDevice>;
public getConnectionState(bluetoothDevice0: android.bluetooth.BluetoothDevice): number;
}
export module BluetoothProfile {
export class ServiceListener extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.BluetoothProfile.ServiceListener>;
/**
* Constructs a new instance of the android.bluetooth.BluetoothProfile$ServiceListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onServiceConnected(int0: number, bluetoothProfile1: android.bluetooth.BluetoothProfile): void;
onServiceDisconnected(int0: number): void;
});
public constructor();
public onServiceConnected(int0: number, bluetoothProfile1: android.bluetooth.BluetoothProfile): void;
public onServiceDisconnected(int0: number): void;
}
}
}
}
declare module android {
export module bluetooth {
export class BluetoothServerSocket extends java.lang.Object implements java.io.Closeable {
public static class: java.lang.Class<android.bluetooth.BluetoothServerSocket>;
public getPsm(): number;
public toString(): string;
public accept(timeout: number): android.bluetooth.BluetoothSocket;
public accept(): android.bluetooth.BluetoothSocket;
public close(): void;
}
}
}
declare module android {
export module bluetooth {
export class BluetoothSocket extends java.lang.Object implements java.io.Closeable {
public static class: java.lang.Class<android.bluetooth.BluetoothSocket>;
public static TYPE_L2CAP: number;
public static TYPE_RFCOMM: number;
public static TYPE_SCO: number;
public getInputStream(): java.io.InputStream;
public getMaxReceivePacketSize(): number;
public isConnected(): boolean;
public getOutputStream(): java.io.OutputStream;
public connect(): void;
public close(): void;
public finalize(): void;
public getConnectionType(): number;
public getRemoteDevice(): android.bluetooth.BluetoothDevice;
public getMaxTransmitPacketSize(): number;
}
}
}
declare module android {
export module bluetooth {
export module le {
export abstract class AdvertiseCallback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.AdvertiseCallback>;
public static ADVERTISE_FAILED_ALREADY_STARTED: number;
public static ADVERTISE_FAILED_DATA_TOO_LARGE: number;
public static ADVERTISE_FAILED_FEATURE_UNSUPPORTED: number;
public static ADVERTISE_FAILED_INTERNAL_ERROR: number;
public static ADVERTISE_FAILED_TOO_MANY_ADVERTISERS: number;
public onStartFailure(errorCode: number): void;
public onStartSuccess(settingsInEffect: android.bluetooth.le.AdvertiseSettings): void;
public constructor();
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class AdvertiseData extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.le.AdvertiseData>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.le.AdvertiseData>;
public getServiceUuids(): java.util.List<android.os.ParcelUuid>;
public equals(obj: any): boolean;
public getServiceData(): java.util.Map<android.os.ParcelUuid,native.Array<number>>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getManufacturerSpecificData(): android.util.SparseArray<native.Array<number>>;
public hashCode(): number;
public describeContents(): number;
public getIncludeDeviceName(): boolean;
public getIncludeTxPowerLevel(): boolean;
public toString(): string;
}
export module AdvertiseData {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.AdvertiseData.Builder>;
public setIncludeTxPowerLevel(includeTxPowerLevel: boolean): android.bluetooth.le.AdvertiseData.Builder;
public constructor();
public addManufacturerData(manufacturerId: number, manufacturerSpecificData: native.Array<number>): android.bluetooth.le.AdvertiseData.Builder;
public addServiceUuid(serviceUuid: android.os.ParcelUuid): android.bluetooth.le.AdvertiseData.Builder;
public setIncludeDeviceName(includeDeviceName: boolean): android.bluetooth.le.AdvertiseData.Builder;
public build(): android.bluetooth.le.AdvertiseData;
public addServiceData(serviceDataUuid: android.os.ParcelUuid, serviceData: native.Array<number>): android.bluetooth.le.AdvertiseData.Builder;
}
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class AdvertiseSettings extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.le.AdvertiseSettings>;
public static ADVERTISE_MODE_BALANCED: number;
public static ADVERTISE_MODE_LOW_LATENCY: number;
public static ADVERTISE_MODE_LOW_POWER: number;
public static ADVERTISE_TX_POWER_HIGH: number;
public static ADVERTISE_TX_POWER_LOW: number;
public static ADVERTISE_TX_POWER_MEDIUM: number;
public static ADVERTISE_TX_POWER_ULTRA_LOW: number;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.le.AdvertiseSettings>;
public getMode(): number;
public getTxPowerLevel(): number;
public isConnectable(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public getTimeout(): number;
public toString(): string;
}
export module AdvertiseSettings {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.AdvertiseSettings.Builder>;
public constructor();
public build(): android.bluetooth.le.AdvertiseSettings;
public setConnectable(connectable: boolean): android.bluetooth.le.AdvertiseSettings.Builder;
public setTxPowerLevel(txPowerLevel: number): android.bluetooth.le.AdvertiseSettings.Builder;
public setTimeout(timeoutMillis: number): android.bluetooth.le.AdvertiseSettings.Builder;
public setAdvertiseMode(advertiseMode: number): android.bluetooth.le.AdvertiseSettings.Builder;
}
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class AdvertisingSet extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.AdvertisingSet>;
public setPeriodicAdvertisingData(periodicData: android.bluetooth.le.AdvertiseData): void;
public setPeriodicAdvertisingParameters(parameters: android.bluetooth.le.PeriodicAdvertisingParameters): void;
public setAdvertisingData(advertiseData: android.bluetooth.le.AdvertiseData): void;
public setPeriodicAdvertisingEnabled(enable: boolean): void;
public enableAdvertising(enable: boolean, duration: number, maxExtendedAdvertisingEvents: number): void;
public setAdvertisingParameters(parameters: android.bluetooth.le.AdvertisingSetParameters): void;
public setScanResponseData(scanResponse: android.bluetooth.le.AdvertiseData): void;
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export abstract class AdvertisingSetCallback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.AdvertisingSetCallback>;
public static ADVERTISE_FAILED_ALREADY_STARTED: number;
public static ADVERTISE_FAILED_DATA_TOO_LARGE: number;
public static ADVERTISE_FAILED_FEATURE_UNSUPPORTED: number;
public static ADVERTISE_FAILED_INTERNAL_ERROR: number;
public static ADVERTISE_FAILED_TOO_MANY_ADVERTISERS: number;
public static ADVERTISE_SUCCESS: number;
public onPeriodicAdvertisingParametersUpdated(advertisingSet: android.bluetooth.le.AdvertisingSet, status: number): void;
public onPeriodicAdvertisingEnabled(advertisingSet: android.bluetooth.le.AdvertisingSet, enable: boolean, status: number): void;
public onAdvertisingSetStopped(advertisingSet: android.bluetooth.le.AdvertisingSet): void;
public onAdvertisingParametersUpdated(advertisingSet: android.bluetooth.le.AdvertisingSet, txPower: number, status: number): void;
public onAdvertisingSetStarted(advertisingSet: android.bluetooth.le.AdvertisingSet, txPower: number, status: number): void;
public onScanResponseDataSet(advertisingSet: android.bluetooth.le.AdvertisingSet, status: number): void;
public onAdvertisingEnabled(advertisingSet: android.bluetooth.le.AdvertisingSet, enable: boolean, status: number): void;
public onPeriodicAdvertisingDataSet(advertisingSet: android.bluetooth.le.AdvertisingSet, status: number): void;
public onAdvertisingDataSet(advertisingSet: android.bluetooth.le.AdvertisingSet, status: number): void;
public constructor();
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class AdvertisingSetParameters extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.le.AdvertisingSetParameters>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.le.AdvertisingSetParameters>;
public static INTERVAL_HIGH: number;
public static INTERVAL_LOW: number;
public static INTERVAL_MAX: number;
public static INTERVAL_MEDIUM: number;
public static INTERVAL_MIN: number;
public static TX_POWER_HIGH: number;
public static TX_POWER_LOW: number;
public static TX_POWER_MAX: number;
public static TX_POWER_MEDIUM: number;
public static TX_POWER_MIN: number;
public static TX_POWER_ULTRA_LOW: number;
public getSecondaryPhy(): number;
public getTxPowerLevel(): number;
public isConnectable(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getPrimaryPhy(): number;
public isLegacy(): boolean;
public isAnonymous(): boolean;
public includeTxPower(): boolean;
public getInterval(): number;
public describeContents(): number;
public isScannable(): boolean;
public toString(): string;
}
export module AdvertisingSetParameters {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.AdvertisingSetParameters.Builder>;
public setInterval(interval: number): android.bluetooth.le.AdvertisingSetParameters.Builder;
public setTxPowerLevel(txPowerLevel: number): android.bluetooth.le.AdvertisingSetParameters.Builder;
public setAnonymous(isAnonymous: boolean): android.bluetooth.le.AdvertisingSetParameters.Builder;
public setPrimaryPhy(primaryPhy: number): android.bluetooth.le.AdvertisingSetParameters.Builder;
public constructor();
public setSecondaryPhy(secondaryPhy: number): android.bluetooth.le.AdvertisingSetParameters.Builder;
public setIncludeTxPower(includeTxPower: boolean): android.bluetooth.le.AdvertisingSetParameters.Builder;
public setLegacyMode(isLegacy: boolean): android.bluetooth.le.AdvertisingSetParameters.Builder;
public setConnectable(connectable: boolean): android.bluetooth.le.AdvertisingSetParameters.Builder;
public setScannable(scannable: boolean): android.bluetooth.le.AdvertisingSetParameters.Builder;
public build(): android.bluetooth.le.AdvertisingSetParameters;
}
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class BluetoothLeAdvertiser extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.BluetoothLeAdvertiser>;
public startAdvertisingSet(parameters: android.bluetooth.le.AdvertisingSetParameters, advertiseData: android.bluetooth.le.AdvertiseData, scanResponse: android.bluetooth.le.AdvertiseData, periodicParameters: android.bluetooth.le.PeriodicAdvertisingParameters, periodicData: android.bluetooth.le.AdvertiseData, duration: number, maxExtendedAdvertisingEvents: number, callback: android.bluetooth.le.AdvertisingSetCallback): void;
public stopAdvertising(callback: android.bluetooth.le.AdvertiseCallback): void;
public startAdvertisingSet(parameters: android.bluetooth.le.AdvertisingSetParameters, advertiseData: android.bluetooth.le.AdvertiseData, scanResponse: android.bluetooth.le.AdvertiseData, periodicParameters: android.bluetooth.le.PeriodicAdvertisingParameters, periodicData: android.bluetooth.le.AdvertiseData, callback: android.bluetooth.le.AdvertisingSetCallback): void;
public startAdvertisingSet(parameters: android.bluetooth.le.AdvertisingSetParameters, advertiseData: android.bluetooth.le.AdvertiseData, scanResponse: android.bluetooth.le.AdvertiseData, periodicParameters: android.bluetooth.le.PeriodicAdvertisingParameters, periodicData: android.bluetooth.le.AdvertiseData, callback: android.bluetooth.le.AdvertisingSetCallback, handler: android.os.Handler): void;
public startAdvertising(settings: android.bluetooth.le.AdvertiseSettings, advertiseData: android.bluetooth.le.AdvertiseData, scanResponse: android.bluetooth.le.AdvertiseData, callback: android.bluetooth.le.AdvertiseCallback): void;
public startAdvertising(settings: android.bluetooth.le.AdvertiseSettings, advertiseData: android.bluetooth.le.AdvertiseData, callback: android.bluetooth.le.AdvertiseCallback): void;
public startAdvertisingSet(parameters: android.bluetooth.le.AdvertisingSetParameters, advertiseData: android.bluetooth.le.AdvertiseData, scanResponse: android.bluetooth.le.AdvertiseData, periodicParameters: android.bluetooth.le.PeriodicAdvertisingParameters, periodicData: android.bluetooth.le.AdvertiseData, duration: number, maxExtendedAdvertisingEvents: number, callback: android.bluetooth.le.AdvertisingSetCallback, handler: android.os.Handler): void;
public stopAdvertisingSet(callback: android.bluetooth.le.AdvertisingSetCallback): void;
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class BluetoothLeScanner extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.BluetoothLeScanner>;
public static EXTRA_CALLBACK_TYPE: string;
public static EXTRA_ERROR_CODE: string;
public static EXTRA_LIST_SCAN_RESULT: string;
public startScan(filters: java.util.List<android.bluetooth.le.ScanFilter>, settings: android.bluetooth.le.ScanSettings, callbackIntent: android.app.PendingIntent): number;
public stopScan(callback: android.bluetooth.le.ScanCallback): void;
public startScan(filters: java.util.List<android.bluetooth.le.ScanFilter>, settings: android.bluetooth.le.ScanSettings, callback: android.bluetooth.le.ScanCallback): void;
public stopScan(callbackIntent: android.app.PendingIntent): void;
public flushPendingScanResults(callback: android.bluetooth.le.ScanCallback): void;
public startScan(callback: android.bluetooth.le.ScanCallback): void;
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class PeriodicAdvertisingParameters extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.le.PeriodicAdvertisingParameters>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.le.PeriodicAdvertisingParameters>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getInterval(): number;
public describeContents(): number;
public getIncludeTxPower(): boolean;
}
export module PeriodicAdvertisingParameters {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.PeriodicAdvertisingParameters.Builder>;
public setInterval(interval: number): android.bluetooth.le.PeriodicAdvertisingParameters.Builder;
public constructor();
public build(): android.bluetooth.le.PeriodicAdvertisingParameters;
public setIncludeTxPower(includeTxPower: boolean): android.bluetooth.le.PeriodicAdvertisingParameters.Builder;
}
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export abstract class ScanCallback extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.ScanCallback>;
public static SCAN_FAILED_ALREADY_STARTED: number;
public static SCAN_FAILED_APPLICATION_REGISTRATION_FAILED: number;
public static SCAN_FAILED_FEATURE_UNSUPPORTED: number;
public static SCAN_FAILED_INTERNAL_ERROR: number;
public onBatchScanResults(results: java.util.List<android.bluetooth.le.ScanResult>): void;
public onScanResult(callbackType: number, result: android.bluetooth.le.ScanResult): void;
public onScanFailed(errorCode: number): void;
public constructor();
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class ScanFilter extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.le.ScanFilter>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.le.ScanFilter>;
public getServiceDataUuid(): android.os.ParcelUuid;
public getDeviceName(): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getServiceDataMask(): native.Array<number>;
public getManufacturerId(): number;
public getDeviceAddress(): string;
public getServiceData(): native.Array<number>;
public getServiceUuid(): android.os.ParcelUuid;
public toString(): string;
public getManufacturerDataMask(): native.Array<number>;
public equals(obj: any): boolean;
public getServiceSolicitationUuidMask(): android.os.ParcelUuid;
public hashCode(): number;
public getManufacturerData(): native.Array<number>;
public describeContents(): number;
public getServiceSolicitationUuid(): android.os.ParcelUuid;
public getServiceUuidMask(): android.os.ParcelUuid;
public matches(scanResult: android.bluetooth.le.ScanResult): boolean;
}
export module ScanFilter {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.ScanFilter.Builder>;
public setServiceSolicitationUuid(serviceSolicitationUuid: android.os.ParcelUuid, solicitationUuidMask: android.os.ParcelUuid): android.bluetooth.le.ScanFilter.Builder;
public setManufacturerData(manufacturerId: number, manufacturerData: native.Array<number>, manufacturerDataMask: native.Array<number>): android.bluetooth.le.ScanFilter.Builder;
public constructor();
public build(): android.bluetooth.le.ScanFilter;
public setServiceSolicitationUuid(serviceSolicitationUuid: android.os.ParcelUuid): android.bluetooth.le.ScanFilter.Builder;
public setServiceUuid(serviceUuid: android.os.ParcelUuid): android.bluetooth.le.ScanFilter.Builder;
public setManufacturerData(manufacturerId: number, manufacturerData: native.Array<number>): android.bluetooth.le.ScanFilter.Builder;
public setServiceData(serviceDataUuid: android.os.ParcelUuid, serviceData: native.Array<number>, serviceDataMask: native.Array<number>): android.bluetooth.le.ScanFilter.Builder;
public setServiceUuid(serviceUuid: android.os.ParcelUuid, uuidMask: android.os.ParcelUuid): android.bluetooth.le.ScanFilter.Builder;
public setServiceData(serviceDataUuid: android.os.ParcelUuid, serviceData: native.Array<number>): android.bluetooth.le.ScanFilter.Builder;
public setDeviceName(deviceName: string): android.bluetooth.le.ScanFilter.Builder;
public setDeviceAddress(deviceAddress: string): android.bluetooth.le.ScanFilter.Builder;
}
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class ScanRecord extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.ScanRecord>;
public getServiceUuids(): java.util.List<android.os.ParcelUuid>;
public getServiceData(serviceDataUuid: android.os.ParcelUuid): native.Array<number>;
public getTxPowerLevel(): number;
public getDeviceName(): string;
public getAdvertiseFlags(): number;
public getServiceData(): java.util.Map<android.os.ParcelUuid,native.Array<number>>;
public getManufacturerSpecificData(): android.util.SparseArray<native.Array<number>>;
public getServiceSolicitationUuids(): java.util.List<android.os.ParcelUuid>;
public getManufacturerSpecificData(manufacturerId: number): native.Array<number>;
public toString(): string;
public getBytes(): native.Array<number>;
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class ScanResult extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.le.ScanResult>;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.le.ScanResult>;
public static DATA_COMPLETE: number;
public static DATA_TRUNCATED: number;
public static PERIODIC_INTERVAL_NOT_PRESENT: number;
public static PHY_UNUSED: number;
public static SID_NOT_PRESENT: number;
public static TX_POWER_NOT_PRESENT: number;
/** @deprecated */
public constructor(device: android.bluetooth.BluetoothDevice, scanRecord: android.bluetooth.le.ScanRecord, rssi: number, timestampNanos: number);
public getSecondaryPhy(): number;
public isConnectable(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getScanRecord(): android.bluetooth.le.ScanRecord;
public getRssi(): number;
public getDevice(): android.bluetooth.BluetoothDevice;
public toString(): string;
public getDataStatus(): number;
public getTimestampNanos(): number;
public getTxPower(): number;
public getPeriodicAdvertisingInterval(): number;
public constructor(device: android.bluetooth.BluetoothDevice, eventType: number, primaryPhy: number, secondaryPhy: number, advertisingSid: number, txPower: number, rssi: number, periodicAdvertisingInterval: number, scanRecord: android.bluetooth.le.ScanRecord, timestampNanos: number);
public equals(obj: any): boolean;
public getPrimaryPhy(): number;
public isLegacy(): boolean;
public hashCode(): number;
public getAdvertisingSid(): number;
public describeContents(): number;
}
}
}
}
declare module android {
export module bluetooth {
export module le {
export class ScanSettings extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.bluetooth.le.ScanSettings>;
public static CALLBACK_TYPE_ALL_MATCHES: number;
public static CALLBACK_TYPE_FIRST_MATCH: number;
public static CALLBACK_TYPE_MATCH_LOST: number;
public static CREATOR: android.os.Parcelable.Creator<android.bluetooth.le.ScanSettings>;
public static MATCH_MODE_AGGRESSIVE: number;
public static MATCH_MODE_STICKY: number;
public static MATCH_NUM_FEW_ADVERTISEMENT: number;
public static MATCH_NUM_MAX_ADVERTISEMENT: number;
public static MATCH_NUM_ONE_ADVERTISEMENT: number;
public static PHY_LE_ALL_SUPPORTED: number;
public static SCAN_MODE_BALANCED: number;
public static SCAN_MODE_LOW_LATENCY: number;
public static SCAN_MODE_LOW_POWER: number;
public static SCAN_MODE_OPPORTUNISTIC: number;
public getReportDelayMillis(): number;
public getScanMode(): number;
public getLegacy(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getScanResultType(): number;
public describeContents(): number;
public getPhy(): number;
public getCallbackType(): number;
}
export module ScanSettings {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.bluetooth.le.ScanSettings.Builder>;
public setNumOfMatches(numOfMatches: number): android.bluetooth.le.ScanSettings.Builder;
public setCallbackType(callbackType: number): android.bluetooth.le.ScanSettings.Builder;
public constructor();
public setMatchMode(matchMode: number): android.bluetooth.le.ScanSettings.Builder;
public setPhy(phy: number): android.bluetooth.le.ScanSettings.Builder;
public build(): android.bluetooth.le.ScanSettings;
public setReportDelay(reportDelayMillis: number): android.bluetooth.le.ScanSettings.Builder;
public setScanMode(scanMode: number): android.bluetooth.le.ScanSettings.Builder;
public setLegacy(legacy: boolean): android.bluetooth.le.ScanSettings.Builder;
}
}
}
}
}
declare module android {
export module companion {
export class AssociationRequest extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.companion.AssociationRequest>;
public static CREATOR: android.os.Parcelable.Creator<android.companion.AssociationRequest>;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public hashCode(): number;
}
export module AssociationRequest {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.companion.AssociationRequest.Builder>;
public build(): android.companion.AssociationRequest;
public addDeviceFilter(deviceFilter: android.companion.DeviceFilter<any>): android.companion.AssociationRequest.Builder;
public setSingleDevice(singleDevice: boolean): android.companion.AssociationRequest.Builder;
public constructor();
}
}
}
}
declare module android {
export module companion {
export class BluetoothDeviceFilter extends android.companion.DeviceFilter<android.bluetooth.BluetoothDevice> {
public static class: java.lang.Class<android.companion.BluetoothDeviceFilter>;
public static CREATOR: android.os.Parcelable.Creator<android.companion.BluetoothDeviceFilter>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public hashCode(): number;
}
export module BluetoothDeviceFilter {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.companion.BluetoothDeviceFilter.Builder>;
public build(): android.companion.BluetoothDeviceFilter;
public addServiceUuid(serviceUuid: android.os.ParcelUuid, serviceUuidMask: android.os.ParcelUuid): android.companion.BluetoothDeviceFilter.Builder;
public setNamePattern(regex: java.util.regex.Pattern): android.companion.BluetoothDeviceFilter.Builder;
public constructor();
public setAddress(address: string): android.companion.BluetoothDeviceFilter.Builder;
}
}
}
}
declare module android {
export module companion {
export class BluetoothLeDeviceFilter extends android.companion.DeviceFilter<android.bluetooth.le.ScanResult> {
public static class: java.lang.Class<android.companion.BluetoothLeDeviceFilter>;
public static CREATOR: android.os.Parcelable.Creator<android.companion.BluetoothLeDeviceFilter>;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public static getRenamePrefixLengthLimit(): number;
public hashCode(): number;
}
export module BluetoothLeDeviceFilter {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.companion.BluetoothLeDeviceFilter.Builder>;
public setRenameFromName(prefix: string, suffix: string, nameFrom: number, nameLength: number): android.companion.BluetoothLeDeviceFilter.Builder;
public setScanFilter(scanFilter: android.bluetooth.le.ScanFilter): android.companion.BluetoothLeDeviceFilter.Builder;
public setRawDataFilter(rawDataFilter: native.Array<number>, rawDataFilterMask: native.Array<number>): android.companion.BluetoothLeDeviceFilter.Builder;
public setRenameFromBytes(prefix: string, suffix: string, bytesFrom: number, bytesLength: number, byteOrder: java.nio.ByteOrder): android.companion.BluetoothLeDeviceFilter.Builder;
public setNamePattern(regex: java.util.regex.Pattern): android.companion.BluetoothLeDeviceFilter.Builder;
public build(): android.companion.BluetoothLeDeviceFilter;
public constructor();
}
}
}
}
declare module android {
export module companion {
export class CompanionDeviceManager extends java.lang.Object {
public static class: java.lang.Class<android.companion.CompanionDeviceManager>;
public static EXTRA_DEVICE: string;
public hasNotificationAccess(component: android.content.ComponentName): boolean;
public getAssociations(): java.util.List<string>;
public disassociate(deviceMacAddress: string): void;
public associate(request: android.companion.AssociationRequest, callback: android.companion.CompanionDeviceManager.Callback, handler: android.os.Handler): void;
public requestNotificationAccess(component: android.content.ComponentName): void;
}
export module CompanionDeviceManager {
export abstract class Callback extends java.lang.Object {
public static class: java.lang.Class<android.companion.CompanionDeviceManager.Callback>;
public onDeviceFound(intentSender0: android.content.IntentSender): void;
public constructor();
public onFailure(charSequence0: string): void;
}
}
}
}
declare module android {
export module companion {
export class DeviceFilter<D> extends android.os.Parcelable {
public static class: java.lang.Class<android.companion.DeviceFilter<any>>;
/**
* Constructs a new instance of the android.companion.DeviceFilter<any> interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
describeContents(): number;
writeToParcel(parcel0: android.os.Parcel, int1: number): void;
});
public constructor();
public static PARCELABLE_WRITE_RETURN_VALUE: number;
public static CONTENTS_FILE_DESCRIPTOR: number;
public writeToParcel(parcel0: android.os.Parcel, int1: number): void;
public describeContents(): number;
}
}
}
declare module android {
export module companion {
export class WifiDeviceFilter extends android.companion.DeviceFilter<android.net.wifi.ScanResult> {
public static class: java.lang.Class<android.companion.WifiDeviceFilter>;
public static CREATOR: android.os.Parcelable.Creator<android.companion.WifiDeviceFilter>;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public hashCode(): number;
}
export module WifiDeviceFilter {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.companion.WifiDeviceFilter.Builder>;
public setNamePattern(regex: java.util.regex.Pattern): android.companion.WifiDeviceFilter.Builder;
public constructor();
public build(): android.companion.WifiDeviceFilter;
}
}
}
}
declare module android {
export module content {
export abstract class AbstractThreadedSyncAdapter extends java.lang.Object {
public static class: java.lang.Class<android.content.AbstractThreadedSyncAdapter>;
public static LOG_SYNC_DETAILS: number;
public onUnsyncableAccount(): boolean;
public getSyncAdapterBinder(): android.os.IBinder;
public onSecurityException(account: android.accounts.Account, extras: android.os.Bundle, authority: string, syncResult: android.content.SyncResult): void;
public onSyncCanceled(thread: java.lang.Thread): void;
public onPerformSync(account0: android.accounts.Account, bundle1: android.os.Bundle, string2: string, contentProviderClient3: android.content.ContentProviderClient, syncResult4: android.content.SyncResult): void;
public onSyncCanceled(): void;
public getContext(): android.content.Context;
public constructor(context: android.content.Context, autoInitialize: boolean, allowParallelSyncs: boolean);
public constructor(context: android.content.Context, autoInitialize: boolean);
}
}
}
declare module android {
export module content {
export class ActivityNotFoundException extends java.lang.RuntimeException {
public static class: java.lang.Class<android.content.ActivityNotFoundException>;
public constructor(message: string);
public constructor(name: string);
public constructor(message: string, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
}
}
}
declare module android {
export module content {
export abstract class AsyncQueryHandler extends android.os.Handler {
public static class: java.lang.Class<android.content.AsyncQueryHandler>;
public startUpdate(token: number, cookie: any, uri: android.net.Uri, values: android.content.ContentValues, selection: string, selectionArgs: native.Array<string>): void;
public cancelOperation(token: number): void;
public onUpdateComplete(token: number, cookie: any, result: number): void;
public constructor(looper: android.os.Looper);
public constructor();
public constructor(cr: android.content.ContentResolver);
public constructor(looper: android.os.Looper, callback: android.os.Handler.Callback);
public startQuery(token: number, cookie: any, uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, orderBy: string): void;
public onInsertComplete(token: number, cookie: any, uri: android.net.Uri): void;
public createHandler(looper: android.os.Looper): android.os.Handler;
public handleMessage(msg: android.os.Message): void;
public startInsert(token: number, cookie: any, uri: android.net.Uri, initialValues: android.content.ContentValues): void;
public startDelete(token: number, cookie: any, uri: android.net.Uri, selection: string, selectionArgs: native.Array<string>): void;
public onQueryComplete(token: number, cookie: any, cursor: android.database.Cursor): void;
public onDeleteComplete(token: number, cookie: any, result: number): void;
public constructor(callback: android.os.Handler.Callback);
}
export module AsyncQueryHandler {
export class WorkerArgs extends java.lang.Object {
public static class: java.lang.Class<android.content.AsyncQueryHandler.WorkerArgs>;
public cookie: any;
public handler: android.os.Handler;
public orderBy: string;
public projection: native.Array<string>;
public result: any;
public selection: string;
public selectionArgs: native.Array<string>;
public uri: android.net.Uri;
public values: android.content.ContentValues;
public constructor();
}
export class WorkerHandler extends android.os.Handler {
public static class: java.lang.Class<android.content.AsyncQueryHandler.WorkerHandler>;
public constructor(callback: android.os.Handler.Callback);
public constructor(looper: android.os.Looper);
public constructor(this0: android.content.AsyncQueryHandler, looper: android.os.Looper);
public constructor(looper: android.os.Looper, callback: android.os.Handler.Callback);
public handleMessage(msg: android.os.Message): void;
public constructor();
}
}
}
}
declare module android {
export module content {
export abstract class AsyncTaskLoader<D> extends android.content.Loader<any> {
public static class: java.lang.Class<android.content.AsyncTaskLoader<any>>;
/** @deprecated */
public constructor(context: android.content.Context);
/** @deprecated */
public setUpdateThrottle(delayMS: number): void;
/** @deprecated */
public cancelLoadInBackground(): void;
/** @deprecated */
public loadInBackground(): any;
/** @deprecated */
public onForceLoad(): void;
/** @deprecated */
public onCancelLoad(): boolean;
/** @deprecated */
public onCanceled(data: any): void;
/** @deprecated */
public isLoadInBackgroundCanceled(): boolean;
/** @deprecated */
public dump(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
/** @deprecated */
public onLoadInBackground(): any;
}
}
}
declare module android {
export module content {
export abstract class BroadcastReceiver extends java.lang.Object {
public static class: java.lang.Class<android.content.BroadcastReceiver>;
public clearAbortBroadcast(): void;
public setResultData(data: string): void;
public isOrderedBroadcast(): boolean;
public setResult(code: number, data: string, extras: android.os.Bundle): void;
public peekService(myContext: android.content.Context, service: android.content.Intent): android.os.IBinder;
public getAbortBroadcast(): boolean;
public goAsync(): android.content.BroadcastReceiver.PendingResult;
public constructor();
public setResultCode(code: number): void;
public getResultData(): string;
public setDebugUnregister(debug: boolean): void;
public getDebugUnregister(): boolean;
public setOrderedHint(isOrdered: boolean): void;
public abortBroadcast(): void;
public onReceive(context0: android.content.Context, intent1: android.content.Intent): void;
public getResultCode(): number;
public setResultExtras(extras: android.os.Bundle): void;
public isInitialStickyBroadcast(): boolean;
public getResultExtras(makeMap: boolean): android.os.Bundle;
}
export module BroadcastReceiver {
export class PendingResult extends java.lang.Object {
public static class: java.lang.Class<android.content.BroadcastReceiver.PendingResult>;
public clearAbortBroadcast(): void;
public setResultData(data: string): void;
public setResult(code: number, data: string, extras: android.os.Bundle): void;
public getAbortBroadcast(): boolean;
public abortBroadcast(): void;
public getResultData(): string;
public setResultExtras(extras: android.os.Bundle): void;
public finish(): void;
public getResultCode(): number;
public setResultCode(code: number): void;
public getResultExtras(makeMap: boolean): android.os.Bundle;
}
}
}
}
declare module android {
export module content {
export class ClipData extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.ClipData>;
public static CREATOR: android.os.Parcelable.Creator<android.content.ClipData>;
public constructor(description: android.content.ClipDescription, item: android.content.ClipData.Item);
public addItem(item: android.content.ClipData.Item): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public static newIntent(label: string, intent: android.content.Intent): android.content.ClipData;
public getDescription(): android.content.ClipDescription;
public getItemAt(index: number): android.content.ClipData.Item;
public constructor(other: android.content.ClipData);
public getItemCount(): number;
public toString(): string;
public addItem(resolver: android.content.ContentResolver, item: android.content.ClipData.Item): void;
public static newUri(resolver: android.content.ContentResolver, label: string, uri: android.net.Uri): android.content.ClipData;
public describeContents(): number;
public static newPlainText(label: string, text: string): android.content.ClipData;
public static newHtmlText(label: string, text: string, htmlText: string): android.content.ClipData;
public constructor(label: string, mimeTypes: native.Array<string>, item: android.content.ClipData.Item);
public static newRawUri(label: string, uri: android.net.Uri): android.content.ClipData;
}
export module ClipData {
export class Item extends java.lang.Object {
public static class: java.lang.Class<android.content.ClipData.Item>;
public constructor(intent: android.content.Intent);
public coerceToHtmlText(context: android.content.Context): string;
public getIntent(): android.content.Intent;
public constructor(text: string, htmlText: string, intent: android.content.Intent, uri: android.net.Uri);
public toString(): string;
public constructor(text: string, intent: android.content.Intent, uri: android.net.Uri);
public getText(): string;
public constructor(text: string, htmlText: string);
public coerceToStyledText(context: android.content.Context): string;
public getHtmlText(): string;
public coerceToText(context: android.content.Context): string;
public getUri(): android.net.Uri;
public constructor(text: string);
public constructor(uri: android.net.Uri);
}
}
}
}
declare module android {
export module content {
export class ClipDescription extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.ClipDescription>;
public static CREATOR: android.os.Parcelable.Creator<android.content.ClipDescription>;
public static MIMETYPE_TEXT_HTML: string;
public static MIMETYPE_TEXT_INTENT: string;
public static MIMETYPE_TEXT_PLAIN: string;
public static MIMETYPE_TEXT_URILIST: string;
public getLabel(): string;
public filterMimeTypes(mimeType: string): native.Array<string>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getExtras(): any;
public setExtras(extras: any): void;
public getMimeTypeCount(): number;
public constructor(o: android.content.ClipDescription);
public getMimeType(index: number): string;
public toString(): string;
public static compareMimeTypes(concreteType: string, desiredType: string): boolean;
public getTimestamp(): number;
public hasMimeType(mimeType: string): boolean;
public describeContents(): number;
public constructor(label: string, mimeTypes: native.Array<string>);
}
}
}
declare module android {
export module content {
export class ClipboardManager extends android.text.ClipboardManager {
public static class: java.lang.Class<android.content.ClipboardManager>;
public hasPrimaryClip(): boolean;
/** @deprecated */
public getText(): string;
public clearPrimaryClip(): void;
public getPrimaryClipDescription(): android.content.ClipDescription;
/** @deprecated */
public setText(charSequence0: string): void;
/** @deprecated */
public setText(text: string): void;
/** @deprecated */
public hasText(): boolean;
public addPrimaryClipChangedListener(what: android.content.ClipboardManager.OnPrimaryClipChangedListener): void;
public getPrimaryClip(): android.content.ClipData;
public removePrimaryClipChangedListener(what: android.content.ClipboardManager.OnPrimaryClipChangedListener): void;
public setPrimaryClip(clip: android.content.ClipData): void;
}
export module ClipboardManager {
export class OnPrimaryClipChangedListener extends java.lang.Object {
public static class: java.lang.Class<android.content.ClipboardManager.OnPrimaryClipChangedListener>;
/**
* Constructs a new instance of the android.content.ClipboardManager$OnPrimaryClipChangedListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onPrimaryClipChanged(): void;
});
public constructor();
public onPrimaryClipChanged(): void;
}
}
}
}
declare module android {
export module content {
export class ComponentCallbacks extends java.lang.Object {
public static class: java.lang.Class<android.content.ComponentCallbacks>;
/**
* Constructs a new instance of the android.content.ComponentCallbacks interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onConfigurationChanged(configuration0: android.content.res.Configuration): void;
onLowMemory(): void;
});
public constructor();
public onLowMemory(): void;
public onConfigurationChanged(configuration0: android.content.res.Configuration): void;
}
}
}
declare module android {
export module content {
export class ComponentCallbacks2 extends java.lang.Object implements android.content.ComponentCallbacks {
public static class: java.lang.Class<android.content.ComponentCallbacks2>;
/**
* Constructs a new instance of the android.content.ComponentCallbacks2 interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onTrimMemory(int0: number): void;
onConfigurationChanged(configuration0: android.content.res.Configuration): void;
onLowMemory(): void;
});
public constructor();
public static TRIM_MEMORY_RUNNING_MODERATE: number;
public static TRIM_MEMORY_RUNNING_CRITICAL: number;
public static TRIM_MEMORY_UI_HIDDEN: number;
public static TRIM_MEMORY_COMPLETE: number;
public static TRIM_MEMORY_BACKGROUND: number;
public static TRIM_MEMORY_MODERATE: number;
public static TRIM_MEMORY_RUNNING_LOW: number;
public onTrimMemory(int0: number): void;
public onLowMemory(): void;
public onConfigurationChanged(configuration0: android.content.res.Configuration): void;
}
}
}
declare module android {
export module content {
export class ComponentName extends java.lang.Object {
public static class: java.lang.Class<android.content.ComponentName>;
public static CREATOR: android.os.Parcelable.Creator<android.content.ComponentName>;
public static readFromParcel(in0: android.os.Parcel): android.content.ComponentName;
public flattenToShortString(): string;
public static createRelative(pkg: string, cls: string): android.content.ComponentName;
public static writeToParcel(c: android.content.ComponentName, out: android.os.Parcel): void;
public getPackageName(): string;
public constructor(in0: android.os.Parcel);
public toShortString(): string;
public getShortClassName(): string;
public clone(): android.content.ComponentName;
public static unflattenFromString(str: string): android.content.ComponentName;
public clone(): any;
public toString(): string;
public constructor(pkg: android.content.Context, cls: java.lang.Class<any>);
public equals(obj: any): boolean;
public static createRelative(pkg: android.content.Context, cls: string): android.content.ComponentName;
public constructor(pkg: string, cls: string);
public getClassName(): string;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public compareTo(that: android.content.ComponentName): number;
public constructor(pkg: android.content.Context, cls: string);
public flattenToString(): string;
public hashCode(): number;
}
}
}
declare module android {
export module content {
export abstract class ContentProvider extends java.lang.Object implements android.content.ComponentCallbacks2 {
public static class: java.lang.Class<android.content.ContentProvider>;
public canonicalize(url: android.net.Uri): android.net.Uri;
public restoreCallingIdentity(identity: android.content.ContentProvider.CallingIdentity): void;
public call(method: string, string1: string, extras: android.os.Bundle): android.os.Bundle;
public onConfigurationChanged(newConfig: android.content.res.Configuration): void;
public bulkInsert(uri: android.net.Uri, values: native.Array<android.content.ContentValues>): number;
public openFile(uri: android.net.Uri, mode: string): android.os.ParcelFileDescriptor;
public getReadPermission(): string;
public delete(uri0: android.net.Uri, string1: string, strings2: native.Array<string>): number;
public setPathPermissions(permissions: native.Array<android.content.pm.PathPermission>): void;
public onLowMemory(): void;
public getPathPermissions(): native.Array<android.content.pm.PathPermission>;
public getCallingPackage(): string;
public onCreate(): boolean;
public insert(uri0: android.net.Uri, contentValues1: android.content.ContentValues): android.net.Uri;
public applyBatch(operations: java.util.ArrayList<android.content.ContentProviderOperation>): native.Array<android.content.ContentProviderResult>;
public query(uri0: android.net.Uri, strings1: native.Array<string>, string2: string, strings3: native.Array<string>, string4: string): android.database.Cursor;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public isTemporary(): boolean;
public getContext(): android.content.Context;
public shutdown(): void;
public getType(uri0: android.net.Uri): string;
public openAssetFile(uri: android.net.Uri, mode: string): android.content.res.AssetFileDescriptor;
public call(authority: string, method: string, string2: string, extras: android.os.Bundle): android.os.Bundle;
public attachInfo(context: android.content.Context, info: android.content.pm.ProviderInfo): void;
public openAssetFile(uri: android.net.Uri, mode: string, signal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public getWritePermission(): string;
public uncanonicalize(url: android.net.Uri): android.net.Uri;
public openPipeHelper(uri: android.net.Uri, mimeType: string, opts: android.os.Bundle, object3: any, func: android.content.ContentProvider.PipeDataWriter<any>): android.os.ParcelFileDescriptor;
public constructor();
public query(uri: android.net.Uri, projection: native.Array<string>, queryArgs: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public getStreamTypes(uri: android.net.Uri, mimeTypeFilter: string): native.Array<string>;
public dump(fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings2: native.Array<string>): void;
public openFile(uri: android.net.Uri, mode: string, signal: android.os.CancellationSignal): android.os.ParcelFileDescriptor;
public setWritePermission(permission: string): void;
public refresh(uri: android.net.Uri, bundle1: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): boolean;
public openFileHelper(uri: android.net.Uri, mode: string): android.os.ParcelFileDescriptor;
public onTrimMemory(level: number): void;
public applyBatch(authority: string, operations: java.util.ArrayList<android.content.ContentProviderOperation>): native.Array<android.content.ContentProviderResult>;
public openTypedAssetFile(uri: android.net.Uri, mimeTypeFilter: string, opts: android.os.Bundle): android.content.res.AssetFileDescriptor;
public setReadPermission(permission: string): void;
public clearCallingIdentity(): android.content.ContentProvider.CallingIdentity;
public openTypedAssetFile(uri: android.net.Uri, mimeTypeFilter: string, opts: android.os.Bundle, signal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public update(uri0: android.net.Uri, contentValues1: android.content.ContentValues, string2: string, strings3: native.Array<string>): number;
}
export module ContentProvider {
export class CallingIdentity extends java.lang.Object {
public static class: java.lang.Class<android.content.ContentProvider.CallingIdentity>;
}
export class PipeDataWriter<T> extends java.lang.Object {
public static class: java.lang.Class<android.content.ContentProvider.PipeDataWriter<any>>;
/**
* Constructs a new instance of the android.content.ContentProvider$PipeDataWriter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
writeDataToPipe(parcelFileDescriptor0: android.os.ParcelFileDescriptor, uri1: android.net.Uri, string2: string, bundle3: android.os.Bundle, object4: T): void;
});
public constructor();
public writeDataToPipe(parcelFileDescriptor0: android.os.ParcelFileDescriptor, uri1: android.net.Uri, string2: string, bundle3: android.os.Bundle, object4: T): void;
}
}
}
}
declare module android {
export module content {
export class ContentProviderClient extends java.lang.Object implements java.lang.AutoCloseable {
public static class: java.lang.Class<android.content.ContentProviderClient>;
public canonicalize(url: android.net.Uri): android.net.Uri;
public call(method: string, string1: string, extras: android.os.Bundle): android.os.Bundle;
public delete(url: android.net.Uri, selection: string, selectionArgs: native.Array<string>): number;
public openAssetFile(url: android.net.Uri, mode: string, signal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public query(url: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string): android.database.Cursor;
public getType(url: android.net.Uri): string;
public applyBatch(operations: java.util.ArrayList<android.content.ContentProviderOperation>): native.Array<android.content.ContentProviderResult>;
public bulkInsert(url: android.net.Uri, initialValues: native.Array<android.content.ContentValues>): number;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public refresh(url: android.net.Uri, bundle1: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): boolean;
public openFile(url: android.net.Uri, mode: string, signal: android.os.CancellationSignal): android.os.ParcelFileDescriptor;
public getStreamTypes(url: android.net.Uri, mimeTypeFilter: string): native.Array<string>;
public close(): void;
/** @deprecated */
public release(): boolean;
public finalize(): void;
public call(authority: string, method: string, string2: string, extras: android.os.Bundle): android.os.Bundle;
public openAssetFile(url: android.net.Uri, mode: string): android.content.res.AssetFileDescriptor;
public uncanonicalize(url: android.net.Uri): android.net.Uri;
public update(url: android.net.Uri, values: android.content.ContentValues, selection: string, selectionArgs: native.Array<string>): number;
public getLocalContentProvider(): android.content.ContentProvider;
public query(uri: android.net.Uri, projection: native.Array<string>, queryArgs: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public insert(url: android.net.Uri, initialValues: android.content.ContentValues): android.net.Uri;
public openTypedAssetFileDescriptor(uri: android.net.Uri, mimeType: string, opts: android.os.Bundle): android.content.res.AssetFileDescriptor;
public applyBatch(authority: string, operations: java.util.ArrayList<android.content.ContentProviderOperation>): native.Array<android.content.ContentProviderResult>;
public openFile(url: android.net.Uri, mode: string): android.os.ParcelFileDescriptor;
public openTypedAssetFile(uri: android.net.Uri, mimeTypeFilter: string, opts: android.os.Bundle, signal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public openTypedAssetFileDescriptor(uri: android.net.Uri, mimeType: string, opts: android.os.Bundle, signal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
}
}
}
declare module android {
export module content {
export class ContentProviderOperation extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.ContentProviderOperation>;
public static CREATOR: android.os.Parcelable.Creator<android.content.ContentProviderOperation>;
public isUpdate(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public isDelete(): boolean;
public resolveSelectionArgsBackReferences(backRefs: native.Array<android.content.ContentProviderResult>, numBackRefs: number): native.Array<string>;
public isWriteOperation(): boolean;
public static newInsert(uri: android.net.Uri): android.content.ContentProviderOperation.Builder;
public isAssertQuery(): boolean;
public static newUpdate(uri: android.net.Uri): android.content.ContentProviderOperation.Builder;
public getUri(): android.net.Uri;
public isReadOperation(): boolean;
public isInsert(): boolean;
public toString(): string;
public isYieldAllowed(): boolean;
public describeContents(): number;
public static newAssertQuery(uri: android.net.Uri): android.content.ContentProviderOperation.Builder;
public static newDelete(uri: android.net.Uri): android.content.ContentProviderOperation.Builder;
public apply(provider: android.content.ContentProvider, backRefs: native.Array<android.content.ContentProviderResult>, numBackRefs: number): android.content.ContentProviderResult;
public resolveValueBackReferences(backRefs: native.Array<android.content.ContentProviderResult>, numBackRefs: number): android.content.ContentValues;
}
export module ContentProviderOperation {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.content.ContentProviderOperation.Builder>;
public withValue(key: string, value: any): android.content.ContentProviderOperation.Builder;
public withYieldAllowed(yieldAllowed: boolean): android.content.ContentProviderOperation.Builder;
public withExpectedCount(count: number): android.content.ContentProviderOperation.Builder;
public withValueBackReferences(backReferences: android.content.ContentValues): android.content.ContentProviderOperation.Builder;
public withSelectionBackReference(selectionArgIndex: number, previousResult: number): android.content.ContentProviderOperation.Builder;
public withSelection(selection: string, selectionArgs: native.Array<string>): android.content.ContentProviderOperation.Builder;
public withValueBackReference(key: string, previousResult: number): android.content.ContentProviderOperation.Builder;
public build(): android.content.ContentProviderOperation;
public withValues(values: android.content.ContentValues): android.content.ContentProviderOperation.Builder;
}
}
}
}
declare module android {
export module content {
export class ContentProviderResult extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.ContentProviderResult>;
public static CREATOR: android.os.Parcelable.Creator<android.content.ContentProviderResult>;
public count: java.lang.Integer;
public uri: android.net.Uri;
public toString(): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(count: number);
public describeContents(): number;
public constructor(uri: android.net.Uri);
public constructor(source: android.os.Parcel);
}
}
}
declare module android {
export module content {
export class ContentQueryMap extends java.util.Observable {
public static class: java.lang.Class<android.content.ContentQueryMap>;
public constructor(cursor: android.database.Cursor, columnNameOfKey: string, keepUpdated: boolean, handlerForUpdateNotifications: android.os.Handler);
public getValues(rowName: string): android.content.ContentValues;
public requery(): void;
public setKeepUpdated(keepUpdated: boolean): void;
public constructor();
public getRows(): java.util.Map<string,android.content.ContentValues>;
public close(): void;
public finalize(): void;
}
}
}
declare module android {
export module content {
export abstract class ContentResolver extends java.lang.Object {
public static class: java.lang.Class<android.content.ContentResolver>;
public static ANY_CURSOR_ITEM_TYPE: string;
public static CURSOR_DIR_BASE_TYPE: string;
public static CURSOR_ITEM_BASE_TYPE: string;
public static EXTRA_HONORED_ARGS: string;
public static EXTRA_REFRESH_SUPPORTED: string;
public static EXTRA_SIZE: string;
public static EXTRA_TOTAL_COUNT: string;
public static NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS: number;
public static NOTIFY_SYNC_TO_NETWORK: number;
public static QUERY_ARG_LIMIT: string;
public static QUERY_ARG_OFFSET: string;
public static QUERY_ARG_SORT_COLLATION: string;
public static QUERY_ARG_SORT_COLUMNS: string;
public static QUERY_ARG_SORT_DIRECTION: string;
public static QUERY_ARG_SQL_SELECTION: string;
public static QUERY_ARG_SQL_SELECTION_ARGS: string;
public static QUERY_ARG_SQL_SORT_ORDER: string;
public static QUERY_SORT_DIRECTION_ASCENDING: number;
public static QUERY_SORT_DIRECTION_DESCENDING: number;
public static SCHEME_ANDROID_RESOURCE: string;
public static SCHEME_CONTENT: string;
public static SCHEME_FILE: string;
public static SYNC_EXTRAS_ACCOUNT: string;
public static SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS: string;
public static SYNC_EXTRAS_DO_NOT_RETRY: string;
public static SYNC_EXTRAS_EXPEDITED: string;
public static SYNC_EXTRAS_FORCE: string;
public static SYNC_EXTRAS_IGNORE_BACKOFF: string;
public static SYNC_EXTRAS_IGNORE_SETTINGS: string;
public static SYNC_EXTRAS_INITIALIZE: string;
public static SYNC_EXTRAS_MANUAL: string;
public static SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS: string;
public static SYNC_EXTRAS_REQUIRE_CHARGING: string;
public static SYNC_EXTRAS_UPLOAD: string;
public static SYNC_OBSERVER_TYPE_ACTIVE: number;
public static SYNC_OBSERVER_TYPE_PENDING: number;
public static SYNC_OBSERVER_TYPE_SETTINGS: number;
public openOutputStream(uri: android.net.Uri, mode: string): java.io.OutputStream;
public static isSyncActive(account: android.accounts.Account, authority: string): boolean;
public acquireContentProviderClient(name: string): android.content.ContentProviderClient;
public static removePeriodicSync(account: android.accounts.Account, authority: string, extras: android.os.Bundle): void;
public static removeStatusChangeListener(handle: any): void;
public notifyChange(uri: android.net.Uri, observer: android.database.ContentObserver, syncToNetwork: boolean): void;
public static requestSync(account: android.accounts.Account, authority: string, extras: android.os.Bundle): void;
/** @deprecated */
public startSync(uri: android.net.Uri, extras: android.os.Bundle): void;
public static getPeriodicSyncs(account: android.accounts.Account, authority: string): java.util.List<android.content.PeriodicSync>;
public constructor(context: android.content.Context);
public openTypedAssetFileDescriptor(uri: android.net.Uri, mimeType: string, opts: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public notifyChange(uri: android.net.Uri, observer: android.database.ContentObserver, flags: number): void;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public refresh(url: android.net.Uri, bundle1: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): boolean;
public call(authority: string, method: string, string2: string, extras: android.os.Bundle): android.os.Bundle;
public acquireUnstableContentProviderClient(name: string): android.content.ContentProviderClient;
public uncanonicalize(url: android.net.Uri): android.net.Uri;
public static getMasterSyncAutomatically(): boolean;
public static wrap(wrapped: android.content.ContentProvider): android.content.ContentResolver;
public query(uri: android.net.Uri, projection: native.Array<string>, queryArgs: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public openFile(uri: android.net.Uri, mode: string, signal: android.os.CancellationSignal): android.os.ParcelFileDescriptor;
public call(uri: android.net.Uri, method: string, string2: string, extras: android.os.Bundle): android.os.Bundle;
public static isSyncPending(account: android.accounts.Account, authority: string): boolean;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string): android.database.Cursor;
public applyBatch(authority: string, operations: java.util.ArrayList<android.content.ContentProviderOperation>): native.Array<android.content.ContentProviderResult>;
public static requestSync(request: android.content.SyncRequest): void;
public getPersistedUriPermissions(): java.util.List<android.content.UriPermission>;
public openTypedAssetFile(uri: android.net.Uri, mimeTypeFilter: string, opts: android.os.Bundle, signal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public static getSyncAdapterTypes(): native.Array<android.content.SyncAdapterType>;
public canonicalize(url: android.net.Uri): android.net.Uri;
public openFileDescriptor(uri: android.net.Uri, mode: string, cancellationSignal: android.os.CancellationSignal): android.os.ParcelFileDescriptor;
public static setSyncAutomatically(account: android.accounts.Account, authority: string, sync: boolean): void;
public getType(url: android.net.Uri): string;
public takePersistableUriPermission(uri: android.net.Uri, modeFlags: number): void;
public registerContentObserver(uri: android.net.Uri, notifyForDescendants: boolean, observer: android.database.ContentObserver): void;
public static addPeriodicSync(account: android.accounts.Account, authority: string, extras: android.os.Bundle, pollFrequency: number): void;
public openOutputStream(uri: android.net.Uri): java.io.OutputStream;
public static addStatusChangeListener(mask: number, callback: android.content.SyncStatusObserver): any;
public notifyChange(uri: android.net.Uri, observer: android.database.ContentObserver): void;
public getStreamTypes(url: android.net.Uri, mimeTypeFilter: string): native.Array<string>;
public getOutgoingPersistedUriPermissions(): java.util.List<android.content.UriPermission>;
public static validateSyncExtrasBundle(extras: android.os.Bundle): void;
public static getSyncAutomatically(account: android.accounts.Account, authority: string): boolean;
public insert(url: android.net.Uri, values: android.content.ContentValues): android.net.Uri;
public acquireContentProviderClient(uri: android.net.Uri): android.content.ContentProviderClient;
public openInputStream(uri: android.net.Uri): java.io.InputStream;
public static getCurrentSyncs(): java.util.List<android.content.SyncInfo>;
public openAssetFileDescriptor(uri: android.net.Uri, mode: string): android.content.res.AssetFileDescriptor;
public bulkInsert(url: android.net.Uri, values: native.Array<android.content.ContentValues>): number;
public update(uri: android.net.Uri, values: android.content.ContentValues, where: string, selectionArgs: native.Array<string>): number;
public openAssetFile(uri: android.net.Uri, mode: string, signal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public static getIsSyncable(account: android.accounts.Account, authority: string): number;
public static setIsSyncable(account: android.accounts.Account, authority: string, syncable: number): void;
public openAssetFileDescriptor(uri: android.net.Uri, mode: string, cancellationSignal: android.os.CancellationSignal): android.content.res.AssetFileDescriptor;
public loadThumbnail(uri: android.net.Uri, size: any, signal: android.os.CancellationSignal): android.graphics.Bitmap;
public unregisterContentObserver(observer: android.database.ContentObserver): void;
public releasePersistableUriPermission(uri: android.net.Uri, modeFlags: number): void;
public static cancelSync(request: android.content.SyncRequest): void;
public openFileDescriptor(uri: android.net.Uri, mode: string): android.os.ParcelFileDescriptor;
public openTypedAssetFileDescriptor(uri: android.net.Uri, mimeType: string, opts: android.os.Bundle): android.content.res.AssetFileDescriptor;
public getTypeInfo(mimeType: string): android.content.ContentResolver.MimeTypeInfo;
public delete(url: android.net.Uri, where: string, selectionArgs: native.Array<string>): number;
public static setMasterSyncAutomatically(sync: boolean): void;
public acquireUnstableContentProviderClient(uri: android.net.Uri): android.content.ContentProviderClient;
public static cancelSync(account: android.accounts.Account, authority: string): void;
/** @deprecated */
public cancelSync(uri: android.net.Uri): void;
/** @deprecated */
public static getCurrentSync(): android.content.SyncInfo;
public static wrap(wrapped: android.content.ContentProviderClient): android.content.ContentResolver;
}
export module ContentResolver {
export class MimeTypeInfo extends java.lang.Object {
public static class: java.lang.Class<android.content.ContentResolver.MimeTypeInfo>;
public getContentDescription(): string;
public getIcon(): any;
public getLabel(): string;
}
}
}
}
declare module android {
export module content {
export class ContentUris extends java.lang.Object {
public static class: java.lang.Class<android.content.ContentUris>;
public static parseId(contentUri: android.net.Uri): number;
public static removeId(contentUri: android.net.Uri): android.net.Uri;
public static appendId(builder: android.net.Uri.Builder, id: number): android.net.Uri.Builder;
public static withAppendedId(contentUri: android.net.Uri, id: number): android.net.Uri;
public constructor();
}
}
}
declare module android {
export module content {
export class ContentValues extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.ContentValues>;
public static CREATOR: android.os.Parcelable.Creator<android.content.ContentValues>;
public static TAG: string;
public keySet(): java.util.Set<string>;
public constructor(from: android.content.ContentValues);
public getAsShort(key: string): java.lang.Short;
public constructor(size: number);
public containsKey(key: string): boolean;
public put(key: string, value: java.lang.Short): void;
public valueSet(): java.util.Set<java.util.Map.Entry<string,any>>;
public remove(key: string): void;
public clear(): void;
public equals(object: any): boolean;
public put(key: string, value: java.lang.Integer): void;
public size(): number;
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public getAsInteger(key: string): java.lang.Integer;
public getAsFloat(key: string): java.lang.Float;
public getAsString(key: string): string;
public constructor();
public put(key: string, value: java.lang.Boolean): void;
public getAsByte(key: string): java.lang.Byte;
public putNull(key: string): void;
public getAsDouble(key: string): java.lang.Double;
public get(key: string): any;
public toString(): string;
public equals(obj: any): boolean;
public putAll(other: android.content.ContentValues): void;
public put(key: string, value: java.lang.Double): void;
public getAsLong(key: string): java.lang.Long;
public put(key: string, value: native.Array<number>): void;
public put(key: string, value: java.lang.Float): void;
public describeContents(): number;
public put(key: string, value: java.lang.Byte): void;
public getAsByteArray(key: string): native.Array<number>;
public getAsBoolean(key: string): java.lang.Boolean;
public put(key: string, value: java.lang.Long): void;
public hashCode(): number;
public put(key: string, value: string): void;
}
}
}
declare module android {
export module content {
export abstract class Context extends java.lang.Object {
public static class: java.lang.Class<android.content.Context>;
public static ACCESSIBILITY_SERVICE: string;
public static ACCOUNT_SERVICE: string;
public static ACTIVITY_SERVICE: string;
public static ALARM_SERVICE: string;
public static APPWIDGET_SERVICE: string;
public static APP_OPS_SERVICE: string;
public static AUDIO_SERVICE: string;
public static BATTERY_SERVICE: string;
public static BIND_ABOVE_CLIENT: number;
public static BIND_ADJUST_WITH_ACTIVITY: number;
public static BIND_ALLOW_OOM_MANAGEMENT: number;
public static BIND_AUTO_CREATE: number;
public static BIND_DEBUG_UNBIND: number;
public static BIND_EXTERNAL_SERVICE: number;
public static BIND_IMPORTANT: number;
public static BIND_INCLUDE_CAPABILITIES: number;
public static BIND_NOT_FOREGROUND: number;
public static BIND_NOT_PERCEPTIBLE: number;
public static BIND_WAIVE_PRIORITY: number;
public static BIOMETRIC_SERVICE: string;
public static BLUETOOTH_SERVICE: string;
public static CAMERA_SERVICE: string;
public static CAPTIONING_SERVICE: string;
public static CARRIER_CONFIG_SERVICE: string;
public static CLIPBOARD_SERVICE: string;
public static COMPANION_DEVICE_SERVICE: string;
public static CONNECTIVITY_SERVICE: string;
public static CONSUMER_IR_SERVICE: string;
public static CONTEXT_IGNORE_SECURITY: number;
public static CONTEXT_INCLUDE_CODE: number;
public static CONTEXT_RESTRICTED: number;
public static CROSS_PROFILE_APPS_SERVICE: string;
public static DEVICE_POLICY_SERVICE: string;
public static DISPLAY_SERVICE: string;
public static DOWNLOAD_SERVICE: string;
public static DROPBOX_SERVICE: string;
public static EUICC_SERVICE: string;
public static FINGERPRINT_SERVICE: string;
public static HARDWARE_PROPERTIES_SERVICE: string;
public static INPUT_METHOD_SERVICE: string;
public static INPUT_SERVICE: string;
public static IPSEC_SERVICE: string;
public static JOB_SCHEDULER_SERVICE: string;
public static KEYGUARD_SERVICE: string;
public static LAUNCHER_APPS_SERVICE: string;
public static LAYOUT_INFLATER_SERVICE: string;
public static LOCATION_SERVICE: string;
public static MEDIA_PROJECTION_SERVICE: string;
public static MEDIA_ROUTER_SERVICE: string;
public static MEDIA_SESSION_SERVICE: string;
public static MIDI_SERVICE: string;
public static MODE_APPEND: number;
public static MODE_ENABLE_WRITE_AHEAD_LOGGING: number;
public static MODE_MULTI_PROCESS: number;
public static MODE_NO_LOCALIZED_COLLATORS: number;
public static MODE_PRIVATE: number;
public static MODE_WORLD_READABLE: number;
public static MODE_WORLD_WRITEABLE: number;
public static NETWORK_STATS_SERVICE: string;
public static NFC_SERVICE: string;
public static NOTIFICATION_SERVICE: string;
public static NSD_SERVICE: string;
public static POWER_SERVICE: string;
public static PRINT_SERVICE: string;
public static RECEIVER_VISIBLE_TO_INSTANT_APPS: number;
public static RESTRICTIONS_SERVICE: string;
public static ROLE_SERVICE: string;
public static SEARCH_SERVICE: string;
public static SENSOR_SERVICE: string;
public static SHORTCUT_SERVICE: string;
public static STORAGE_SERVICE: string;
public static STORAGE_STATS_SERVICE: string;
public static SYSTEM_HEALTH_SERVICE: string;
public static TELECOM_SERVICE: string;
public static TELEPHONY_SERVICE: string;
public static TELEPHONY_SUBSCRIPTION_SERVICE: string;
public static TEXT_CLASSIFICATION_SERVICE: string;
public static TEXT_SERVICES_MANAGER_SERVICE: string;
public static TV_INPUT_SERVICE: string;
public static UI_MODE_SERVICE: string;
public static USAGE_STATS_SERVICE: string;
public static USB_SERVICE: string;
public static USER_SERVICE: string;
public static VIBRATOR_SERVICE: string;
public static WALLPAPER_SERVICE: string;
public static WIFI_AWARE_SERVICE: string;
public static WIFI_P2P_SERVICE: string;
public static WIFI_RTT_RANGING_SERVICE: string;
public static WIFI_SERVICE: string;
public static WINDOW_SERVICE: string;
public openFileInput(string0: string): java.io.FileInputStream;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter, string2: string, handler3: android.os.Handler): android.content.Intent;
public getSystemService(serviceClass: java.lang.Class<any>): any;
public getFilesDir(): java.io.File;
public fileList(): native.Array<string>;
public getPackageName(): string;
public deleteFile(string0: string): boolean;
public createContextForSplit(string0: string): android.content.Context;
public getText(resId: number): string;
public sendBroadcast(intent0: android.content.Intent, string1: string): void;
public sendOrderedBroadcast(intent0: android.content.Intent, string1: string, broadcastReceiver2: android.content.BroadcastReceiver, handler3: android.os.Handler, int4: number, string5: string, bundle6: android.os.Bundle): void;
/** @deprecated */
public setWallpaper(inputStream0: java.io.InputStream): void;
/** @deprecated */
public getWallpaper(): android.graphics.drawable.Drawable;
public sendBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle): void;
public bindService(intent0: android.content.Intent, serviceConnection1: android.content.ServiceConnection, int2: number): boolean;
public updateServiceGroup(conn: android.content.ServiceConnection, group: number, importance: number): void;
public deleteSharedPreferences(string0: string): boolean;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter, string2: string, handler3: android.os.Handler, int4: number): android.content.Intent;
public getDataDir(): java.io.File;
public createDeviceProtectedStorageContext(): android.content.Context;
public constructor();
public grantUriPermission(string0: string, uri1: android.net.Uri, int2: number): void;
public getString(resId: number): string;
public sendBroadcast(intent0: android.content.Intent): void;
/** @deprecated */
public removeStickyBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle): void;
public openOrCreateDatabase(string0: string, int1: number, cursorFactory2: android.database.sqlite.SQLiteDatabase.CursorFactory, databaseErrorHandler3: android.database.DatabaseErrorHandler): android.database.sqlite.SQLiteDatabase;
public startIntentSender(intentSender0: android.content.IntentSender, intent1: android.content.Intent, int2: number, int3: number, int4: number, bundle5: android.os.Bundle): void;
/** @deprecated */
public removeStickyBroadcast(intent0: android.content.Intent): void;
public getTheme(): android.content.res.Resources.Theme;
public getString(resId: number, formatArgs: native.Array<any>): string;
public unregisterReceiver(broadcastReceiver0: android.content.BroadcastReceiver): void;
public getResources(): android.content.res.Resources;
public sendOrderedBroadcast(intent0: android.content.Intent, string1: string): void;
public startForegroundService(intent0: android.content.Intent): android.content.ComponentName;
public checkCallingOrSelfUriPermission(uri0: android.net.Uri, int1: number): number;
public getApplicationContext(): android.content.Context;
public unregisterComponentCallbacks(callback: android.content.ComponentCallbacks): void;
/** @deprecated */
public sendStickyBroadcast(intent0: android.content.Intent): void;
/** @deprecated */
public getWallpaperDesiredMinimumHeight(): number;
public checkSelfPermission(string0: string): number;
public getSystemServiceName(class0: java.lang.Class<any>): string;
public createConfigurationContext(configuration0: android.content.res.Configuration): android.content.Context;
public obtainStyledAttributes(set: android.util.AttributeSet, attrs: native.Array<number>): android.content.res.TypedArray;
public registerComponentCallbacks(callback: android.content.ComponentCallbacks): void;
public moveDatabaseFrom(context0: android.content.Context, string1: string): boolean;
/** @deprecated */
public setWallpaper(bitmap0: android.graphics.Bitmap): void;
public moveSharedPreferencesFrom(context0: android.content.Context, string1: string): boolean;
public getSharedPreferences(string0: string, int1: number): android.content.SharedPreferences;
public revokeUriPermission(string0: string, uri1: android.net.Uri, int2: number): void;
public getColorStateList(id: number): android.content.res.ColorStateList;
public bindService(service: android.content.Intent, flags: number, executor: java.util.concurrent.Executor, conn: android.content.ServiceConnection): boolean;
public startActivity(intent0: android.content.Intent, bundle1: android.os.Bundle): void;
public startActivity(intent0: android.content.Intent): void;
public enforceCallingOrSelfUriPermission(uri0: android.net.Uri, int1: number, string2: string): void;
public obtainStyledAttributes(attrs: native.Array<number>): android.content.res.TypedArray;
public getCodeCacheDir(): java.io.File;
public getMainLooper(): android.os.Looper;
public getDatabasePath(string0: string): java.io.File;
public enforceCallingPermission(string0: string, string1: string): void;
public checkPermission(string0: string, int1: number, int2: number): number;
public getPackageResourcePath(): string;
public getObbDirs(): native.Array<java.io.File>;
public getClassLoader(): java.lang.ClassLoader;
public getExternalCacheDirs(): native.Array<java.io.File>;
public databaseList(): native.Array<string>;
public obtainStyledAttributes(resid: number, attrs: native.Array<number>): android.content.res.TypedArray;
/** @deprecated */
public sendStickyBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle): void;
public bindIsolatedService(service: android.content.Intent, flags: number, instanceName: string, executor: java.util.concurrent.Executor, conn: android.content.ServiceConnection): boolean;
public getFileStreamPath(string0: string): java.io.File;
public getObbDir(): java.io.File;
public enforceUriPermission(uri0: android.net.Uri, string1: string, string2: string, int3: number, int4: number, int5: number, string6: string): void;
public startInstrumentation(componentName0: android.content.ComponentName, string1: string, bundle2: android.os.Bundle): boolean;
public setTheme(int0: number): void;
public openOrCreateDatabase(string0: string, int1: number, cursorFactory2: android.database.sqlite.SQLiteDatabase.CursorFactory): android.database.sqlite.SQLiteDatabase;
public startActivities(intents0: native.Array<android.content.Intent>): void;
public revokeUriPermission(uri0: android.net.Uri, int1: number): void;
public openFileOutput(string0: string, int1: number): java.io.FileOutputStream;
public isDeviceProtectedStorage(): boolean;
public getAssets(): android.content.res.AssetManager;
public getPackageCodePath(): string;
public enforcePermission(string0: string, int1: number, int2: number, string3: string): void;
public getPackageManager(): android.content.pm.PackageManager;
public obtainStyledAttributes(set: android.util.AttributeSet, attrs: native.Array<number>, defStyleAttr: number, defStyleRes: number): android.content.res.TypedArray;
public sendOrderedBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle, string2: string, broadcastReceiver3: android.content.BroadcastReceiver, handler4: android.os.Handler, int5: number, string6: string, bundle7: android.os.Bundle): void;
public checkUriPermission(uri0: android.net.Uri, string1: string, string2: string, int3: number, int4: number, int5: number): number;
public startService(intent0: android.content.Intent): android.content.ComponentName;
public checkCallingPermission(string0: string): number;
public getSystemService(string0: string): any;
public enforceUriPermission(uri0: android.net.Uri, int1: number, int2: number, int3: number, string4: string): void;
public getExternalCacheDir(): java.io.File;
public deleteDatabase(string0: string): boolean;
public getDrawable(id: number): android.graphics.drawable.Drawable;
public getOpPackageName(): string;
public enforceCallingUriPermission(uri0: android.net.Uri, int1: number, string2: string): void;
public getApplicationInfo(): android.content.pm.ApplicationInfo;
/** @deprecated */
public sendStickyOrderedBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle, broadcastReceiver2: android.content.BroadcastReceiver, handler3: android.os.Handler, int4: number, string5: string, bundle6: android.os.Bundle): void;
public unbindService(serviceConnection0: android.content.ServiceConnection): void;
public enforceCallingOrSelfPermission(string0: string, string1: string): void;
public getExternalMediaDirs(): native.Array<java.io.File>;
public stopService(intent0: android.content.Intent): boolean;
public getNoBackupFilesDir(): java.io.File;
public getCacheDir(): java.io.File;
/** @deprecated */
public getWallpaperDesiredMinimumWidth(): number;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter): android.content.Intent;
public checkCallingUriPermission(uri0: android.net.Uri, int1: number): number;
public isRestricted(): boolean;
public createPackageContext(string0: string, int1: number): android.content.Context;
public checkCallingOrSelfPermission(string0: string): number;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter, int2: number): android.content.Intent;
public getExternalFilesDir(string0: string): java.io.File;
public checkUriPermission(uri0: android.net.Uri, int1: number, int2: number, int3: number): number;
public getContentResolver(): android.content.ContentResolver;
/** @deprecated */
public sendStickyOrderedBroadcast(intent0: android.content.Intent, broadcastReceiver1: android.content.BroadcastReceiver, handler2: android.os.Handler, int3: number, string4: string, bundle5: android.os.Bundle): void;
public startActivities(intents0: native.Array<android.content.Intent>, bundle1: android.os.Bundle): void;
public startIntentSender(intentSender0: android.content.IntentSender, intent1: android.content.Intent, int2: number, int3: number, int4: number): void;
public getDir(string0: string, int1: number): java.io.File;
public sendBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle, string2: string): void;
public getExternalFilesDirs(string0: string): native.Array<java.io.File>;
public getMainExecutor(): java.util.concurrent.Executor;
public createDisplayContext(display0: android.view.Display): android.content.Context;
/** @deprecated */
public peekWallpaper(): android.graphics.drawable.Drawable;
public getColor(id: number): number;
/** @deprecated */
public clearWallpaper(): void;
}
}
}
declare module android {
export module content {
export class ContextWrapper extends android.content.Context {
public static class: java.lang.Class<android.content.ContextWrapper>;
public openFileInput(string0: string): java.io.FileInputStream;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter, string2: string, handler3: android.os.Handler): android.content.Intent;
public createDisplayContext(display: android.view.Display): android.content.Context;
public getSystemService(serviceClass: java.lang.Class<any>): any;
public getFilesDir(): java.io.File;
public openFileInput(name: string): java.io.FileInputStream;
public fileList(): native.Array<string>;
public getPackageName(): string;
public deleteFile(string0: string): boolean;
public checkSelfPermission(permission: string): number;
public createContextForSplit(string0: string): android.content.Context;
public stopService(name: android.content.Intent): boolean;
public openFileOutput(name: string, mode: number): java.io.FileOutputStream;
public registerReceiver(receiver: android.content.BroadcastReceiver, filter: android.content.IntentFilter, flags: number): android.content.Intent;
public sendOrderedBroadcast(intent: android.content.Intent, receiverPermission: string, resultReceiver: android.content.BroadcastReceiver, scheduler: android.os.Handler, initialCode: number, initialData: string, initialExtras: android.os.Bundle): void;
public moveSharedPreferencesFrom(sourceContext: android.content.Context, name: string): boolean;
public sendBroadcast(intent0: android.content.Intent, string1: string): void;
public sendOrderedBroadcast(intent0: android.content.Intent, string1: string, broadcastReceiver2: android.content.BroadcastReceiver, handler3: android.os.Handler, int4: number, string5: string, bundle6: android.os.Bundle): void;
/** @deprecated */
public setWallpaper(inputStream0: java.io.InputStream): void;
public enforceCallingOrSelfPermission(permission: string, message: string): void;
/** @deprecated */
public getWallpaper(): android.graphics.drawable.Drawable;
public sendBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle): void;
public unbindService(conn: android.content.ServiceConnection): void;
public unregisterReceiver(receiver: android.content.BroadcastReceiver): void;
/** @deprecated */
public sendStickyOrderedBroadcastAsUser(intent: android.content.Intent, user: android.os.UserHandle, resultReceiver: android.content.BroadcastReceiver, scheduler: android.os.Handler, initialCode: number, initialData: string, initialExtras: android.os.Bundle): void;
public startActivities(intents: native.Array<android.content.Intent>, options: android.os.Bundle): void;
public bindService(intent0: android.content.Intent, serviceConnection1: android.content.ServiceConnection, int2: number): boolean;
public updateServiceGroup(conn: android.content.ServiceConnection, group: number, importance: number): void;
public deleteSharedPreferences(string0: string): boolean;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter, string2: string, handler3: android.os.Handler, int4: number): android.content.Intent;
public getDataDir(): java.io.File;
public createDeviceProtectedStorageContext(): android.content.Context;
public startService(service: android.content.Intent): android.content.ComponentName;
public constructor();
public grantUriPermission(string0: string, uri1: android.net.Uri, int2: number): void;
/** @deprecated */
public removeStickyBroadcast(intent: android.content.Intent): void;
public sendBroadcast(intent0: android.content.Intent): void;
/** @deprecated */
public removeStickyBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle): void;
/** @deprecated */
public setWallpaper(data: java.io.InputStream): void;
public openOrCreateDatabase(string0: string, int1: number, cursorFactory2: android.database.sqlite.SQLiteDatabase.CursorFactory, databaseErrorHandler3: android.database.DatabaseErrorHandler): android.database.sqlite.SQLiteDatabase;
public startIntentSender(intentSender0: android.content.IntentSender, intent1: android.content.Intent, int2: number, int3: number, int4: number, bundle5: android.os.Bundle): void;
/** @deprecated */
public removeStickyBroadcast(intent0: android.content.Intent): void;
public getTheme(): android.content.res.Resources.Theme;
public unregisterReceiver(broadcastReceiver0: android.content.BroadcastReceiver): void;
public getResources(): android.content.res.Resources;
public sendOrderedBroadcast(intent0: android.content.Intent, string1: string): void;
public startForegroundService(intent0: android.content.Intent): android.content.ComponentName;
public checkCallingOrSelfUriPermission(uri0: android.net.Uri, int1: number): number;
public getApplicationContext(): android.content.Context;
public grantUriPermission(toPackage: string, uri: android.net.Uri, modeFlags: number): void;
/** @deprecated */
public sendStickyBroadcast(intent0: android.content.Intent): void;
public enforceCallingOrSelfUriPermission(uri: android.net.Uri, modeFlags: number, message: string): void;
/** @deprecated */
public getWallpaperDesiredMinimumHeight(): number;
public checkSelfPermission(string0: string): number;
public checkUriPermission(uri: android.net.Uri, pid: number, uid: number, modeFlags: number): number;
public getSystemServiceName(class0: java.lang.Class<any>): string;
/** @deprecated */
public sendStickyOrderedBroadcast(intent: android.content.Intent, resultReceiver: android.content.BroadcastReceiver, scheduler: android.os.Handler, initialCode: number, initialData: string, initialExtras: android.os.Bundle): void;
public startActivity(intent: android.content.Intent, options: android.os.Bundle): void;
public createConfigurationContext(configuration0: android.content.res.Configuration): android.content.Context;
public sendBroadcast(intent: android.content.Intent, receiverPermission: string): void;
public enforceCallingPermission(permission: string, message: string): void;
public moveDatabaseFrom(context0: android.content.Context, string1: string): boolean;
/** @deprecated */
public setWallpaper(bitmap0: android.graphics.Bitmap): void;
public checkCallingOrSelfUriPermission(uri: android.net.Uri, modeFlags: number): number;
public moveSharedPreferencesFrom(context0: android.content.Context, string1: string): boolean;
public checkUriPermission(uri: android.net.Uri, readPermission: string, writePermission: string, pid: number, uid: number, modeFlags: number): number;
public getSharedPreferences(string0: string, int1: number): android.content.SharedPreferences;
public revokeUriPermission(string0: string, uri1: android.net.Uri, int2: number): void;
public deleteSharedPreferences(name: string): boolean;
public bindService(service: android.content.Intent, flags: number, executor: java.util.concurrent.Executor, conn: android.content.ServiceConnection): boolean;
public startActivity(intent0: android.content.Intent, bundle1: android.os.Bundle): void;
public startActivity(intent0: android.content.Intent): void;
public enforceCallingOrSelfUriPermission(uri0: android.net.Uri, int1: number, string2: string): void;
public startInstrumentation(className: android.content.ComponentName, profileFile: string, bundle2: android.os.Bundle): boolean;
public getCodeCacheDir(): java.io.File;
public checkCallingUriPermission(uri: android.net.Uri, modeFlags: number): number;
public getMainLooper(): android.os.Looper;
public getDatabasePath(string0: string): java.io.File;
public enforceCallingPermission(string0: string, string1: string): void;
public checkPermission(string0: string, int1: number, int2: number): number;
public getPackageResourcePath(): string;
public getObbDirs(): native.Array<java.io.File>;
public deleteDatabase(name: string): boolean;
public getClassLoader(): java.lang.ClassLoader;
public getExternalCacheDirs(): native.Array<java.io.File>;
public databaseList(): native.Array<string>;
public startIntentSender(intent: android.content.IntentSender, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number, options: android.os.Bundle): void;
public enforceCallingUriPermission(uri: android.net.Uri, modeFlags: number, message: string): void;
public revokeUriPermission(uri: android.net.Uri, modeFlags: number): void;
/** @deprecated */
public sendStickyBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle): void;
public bindIsolatedService(service: android.content.Intent, flags: number, instanceName: string, executor: java.util.concurrent.Executor, conn: android.content.ServiceConnection): boolean;
public enforceUriPermission(uri: android.net.Uri, readPermission: string, writePermission: string, pid: number, uid: number, modeFlags: number, message: string): void;
public getFileStreamPath(string0: string): java.io.File;
public getObbDir(): java.io.File;
public enforceUriPermission(uri0: android.net.Uri, string1: string, string2: string, int3: number, int4: number, int5: number, string6: string): void;
public startInstrumentation(componentName0: android.content.ComponentName, string1: string, bundle2: android.os.Bundle): boolean;
public setTheme(int0: number): void;
public sendOrderedBroadcast(intent: android.content.Intent, receiverPermission: string): void;
public openOrCreateDatabase(string0: string, int1: number, cursorFactory2: android.database.sqlite.SQLiteDatabase.CursorFactory): android.database.sqlite.SQLiteDatabase;
public startIntentSender(intent: android.content.IntentSender, fillInIntent: android.content.Intent, flagsMask: number, flagsValues: number, extraFlags: number): void;
public createPackageContext(packageName: string, flags: number): android.content.Context;
public getDatabasePath(name: string): java.io.File;
public sendBroadcastAsUser(intent: android.content.Intent, user: android.os.UserHandle): void;
public startActivities(intents0: native.Array<android.content.Intent>): void;
public moveDatabaseFrom(sourceContext: android.content.Context, name: string): boolean;
public revokeUriPermission(targetPackage: string, uri: android.net.Uri, modeFlags: number): void;
public startActivity(intent: android.content.Intent): void;
public revokeUriPermission(uri0: android.net.Uri, int1: number): void;
public openFileOutput(string0: string, int1: number): java.io.FileOutputStream;
public getDir(name: string, mode: number): java.io.File;
public getSystemServiceName(serviceClass: java.lang.Class<any>): string;
public createConfigurationContext(overrideConfiguration: android.content.res.Configuration): android.content.Context;
public isDeviceProtectedStorage(): boolean;
/** @deprecated */
public sendStickyBroadcast(intent: android.content.Intent): void;
public getAssets(): android.content.res.AssetManager;
public getPackageCodePath(): string;
public enforcePermission(string0: string, int1: number, int2: number, string3: string): void;
public getPackageManager(): android.content.pm.PackageManager;
public sendOrderedBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle, string2: string, broadcastReceiver3: android.content.BroadcastReceiver, handler4: android.os.Handler, int5: number, string6: string, bundle7: android.os.Bundle): void;
public checkUriPermission(uri0: android.net.Uri, string1: string, string2: string, int3: number, int4: number, int5: number): number;
public startService(intent0: android.content.Intent): android.content.ComponentName;
public checkCallingPermission(string0: string): number;
public getSharedPreferences(name: string, mode: number): android.content.SharedPreferences;
public getSystemService(string0: string): any;
public enforceUriPermission(uri0: android.net.Uri, int1: number, int2: number, int3: number, string4: string): void;
public getExternalCacheDir(): java.io.File;
public checkCallingOrSelfPermission(permission: string): number;
public deleteDatabase(string0: string): boolean;
public getOpPackageName(): string;
public openOrCreateDatabase(name: string, mode: number, factory: android.database.sqlite.SQLiteDatabase.CursorFactory): android.database.sqlite.SQLiteDatabase;
/** @deprecated */
public setWallpaper(bitmap: android.graphics.Bitmap): void;
public startForegroundService(service: android.content.Intent): android.content.ComponentName;
public enforcePermission(permission: string, pid: number, uid: number, message: string): void;
public enforceCallingUriPermission(uri0: android.net.Uri, int1: number, string2: string): void;
public getApplicationInfo(): android.content.pm.ApplicationInfo;
/** @deprecated */
public sendStickyOrderedBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle, broadcastReceiver2: android.content.BroadcastReceiver, handler3: android.os.Handler, int4: number, string5: string, bundle6: android.os.Bundle): void;
public unbindService(serviceConnection0: android.content.ServiceConnection): void;
public sendOrderedBroadcastAsUser(intent: android.content.Intent, user: android.os.UserHandle, receiverPermission: string, resultReceiver: android.content.BroadcastReceiver, scheduler: android.os.Handler, initialCode: number, initialData: string, initialExtras: android.os.Bundle): void;
public getBaseContext(): android.content.Context;
public getSystemService(name: string): any;
public getExternalFilesDirs(type: string): native.Array<java.io.File>;
public enforceCallingOrSelfPermission(string0: string, string1: string): void;
public getExternalMediaDirs(): native.Array<java.io.File>;
public getFileStreamPath(name: string): java.io.File;
public stopService(intent0: android.content.Intent): boolean;
public createContextForSplit(splitName: string): android.content.Context;
public getNoBackupFilesDir(): java.io.File;
public getCacheDir(): java.io.File;
/** @deprecated */
public getWallpaperDesiredMinimumWidth(): number;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter): android.content.Intent;
public registerReceiver(receiver: android.content.BroadcastReceiver, filter: android.content.IntentFilter, broadcastPermission: string, scheduler: android.os.Handler, flags: number): android.content.Intent;
public checkCallingUriPermission(uri0: android.net.Uri, int1: number): number;
public setTheme(resid: number): void;
public deleteFile(name: string): boolean;
public isRestricted(): boolean;
public sendBroadcast(intent: android.content.Intent): void;
public createPackageContext(string0: string, int1: number): android.content.Context;
public enforceUriPermission(uri: android.net.Uri, pid: number, uid: number, modeFlags: number, message: string): void;
public checkCallingPermission(permission: string): number;
public checkCallingOrSelfPermission(string0: string): number;
public registerReceiver(broadcastReceiver0: android.content.BroadcastReceiver, intentFilter1: android.content.IntentFilter, int2: number): android.content.Intent;
public checkPermission(permission: string, pid: number, uid: number): number;
public registerReceiver(receiver: android.content.BroadcastReceiver, filter: android.content.IntentFilter, broadcastPermission: string, scheduler: android.os.Handler): android.content.Intent;
public getExternalFilesDir(string0: string): java.io.File;
public openOrCreateDatabase(name: string, mode: number, factory: android.database.sqlite.SQLiteDatabase.CursorFactory, errorHandler: android.database.DatabaseErrorHandler): android.database.sqlite.SQLiteDatabase;
public checkUriPermission(uri0: android.net.Uri, int1: number, int2: number, int3: number): number;
public getContentResolver(): android.content.ContentResolver;
/** @deprecated */
public sendStickyOrderedBroadcast(intent0: android.content.Intent, broadcastReceiver1: android.content.BroadcastReceiver, handler2: android.os.Handler, int3: number, string4: string, bundle5: android.os.Bundle): void;
public bindService(service: android.content.Intent, conn: android.content.ServiceConnection, flags: number): boolean;
public attachBaseContext(base: android.content.Context): void;
public startActivities(intents0: native.Array<android.content.Intent>, bundle1: android.os.Bundle): void;
public startIntentSender(intentSender0: android.content.IntentSender, intent1: android.content.Intent, int2: number, int3: number, int4: number): void;
public getDir(string0: string, int1: number): java.io.File;
public sendBroadcastAsUser(intent0: android.content.Intent, userHandle1: android.os.UserHandle, string2: string): void;
public getExternalFilesDirs(string0: string): native.Array<java.io.File>;
public getExternalFilesDir(type: string): java.io.File;
/** @deprecated */
public sendStickyBroadcastAsUser(intent: android.content.Intent, user: android.os.UserHandle): void;
public registerReceiver(receiver: android.content.BroadcastReceiver, filter: android.content.IntentFilter): android.content.Intent;
public getMainExecutor(): java.util.concurrent.Executor;
public createDisplayContext(display0: android.view.Display): android.content.Context;
/** @deprecated */
public peekWallpaper(): android.graphics.drawable.Drawable;
public constructor(base: android.content.Context);
public startActivities(intents: native.Array<android.content.Intent>): void;
/** @deprecated */
public removeStickyBroadcastAsUser(intent: android.content.Intent, user: android.os.UserHandle): void;
/** @deprecated */
public clearWallpaper(): void;
public sendBroadcastAsUser(intent: android.content.Intent, user: android.os.UserHandle, receiverPermission: string): void;
}
}
}
declare module android {
export module content {
export class CursorLoader extends android.content.AsyncTaskLoader<android.database.Cursor> {
public static class: java.lang.Class<android.content.CursorLoader>;
/** @deprecated */
public cancelLoadInBackground(): void;
/** @deprecated */
public setProjection(projection: native.Array<string>): void;
/** @deprecated */
public setSortOrder(sortOrder: string): void;
/** @deprecated */
public setSelectionArgs(selectionArgs: native.Array<string>): void;
/** @deprecated */
public setUri(uri: android.net.Uri): void;
/** @deprecated */
public loadInBackground(): any;
/** @deprecated */
public onStopLoading(): void;
/** @deprecated */
public getProjection(): native.Array<string>;
/** @deprecated */
public loadInBackground(): android.database.Cursor;
/** @deprecated */
public onCanceled(cursor: android.database.Cursor): void;
/** @deprecated */
public getSortOrder(): string;
/** @deprecated */
public deliverResult(data: any): void;
/** @deprecated */
public onCanceled(data: any): void;
/** @deprecated */
public onStartLoading(): void;
/** @deprecated */
public getSelectionArgs(): native.Array<string>;
/** @deprecated */
public constructor(context: android.content.Context);
/** @deprecated */
public onReset(): void;
/** @deprecated */
public constructor(context: android.content.Context, uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string);
/** @deprecated */
public getUri(): android.net.Uri;
/** @deprecated */
public getSelection(): string;
/** @deprecated */
public deliverResult(cursor: android.database.Cursor): void;
/** @deprecated */
public dump(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
/** @deprecated */
public setSelection(selection: string): void;
}
}
}
declare module android {
export module content {
export class DialogInterface extends java.lang.Object {
public static class: java.lang.Class<android.content.DialogInterface>;
/**
* Constructs a new instance of the android.content.DialogInterface interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
cancel(): void;
dismiss(): void;
});
public constructor();
public static BUTTON_POSITIVE: number;
public static BUTTON_NEUTRAL: number;
public static BUTTON3: number;
public static BUTTON2: number;
public static BUTTON1: number;
public static BUTTON_NEGATIVE: number;
public dismiss(): void;
public cancel(): void;
}
export module DialogInterface {
export class OnCancelListener extends java.lang.Object {
public static class: java.lang.Class<android.content.DialogInterface.OnCancelListener>;
/**
* Constructs a new instance of the android.content.DialogInterface$OnCancelListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onCancel(dialogInterface0: android.content.DialogInterface): void;
});
public constructor();
public onCancel(dialogInterface0: android.content.DialogInterface): void;
}
export class OnClickListener extends java.lang.Object {
public static class: java.lang.Class<android.content.DialogInterface.OnClickListener>;
/**
* Constructs a new instance of the android.content.DialogInterface$OnClickListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onClick(dialogInterface0: android.content.DialogInterface, int1: number): void;
});
public constructor();
public onClick(dialogInterface0: android.content.DialogInterface, int1: number): void;
}
export class OnDismissListener extends java.lang.Object {
public static class: java.lang.Class<android.content.DialogInterface.OnDismissListener>;
/**
* Constructs a new instance of the android.content.DialogInterface$OnDismissListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onDismiss(dialogInterface0: android.content.DialogInterface): void;
});
public constructor();
public onDismiss(dialogInterface0: android.content.DialogInterface): void;
}
export class OnKeyListener extends java.lang.Object {
public static class: java.lang.Class<android.content.DialogInterface.OnKeyListener>;
/**
* Constructs a new instance of the android.content.DialogInterface$OnKeyListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onKey(dialogInterface0: android.content.DialogInterface, int1: number, keyEvent2: android.view.KeyEvent): boolean;
});
public constructor();
public onKey(dialogInterface0: android.content.DialogInterface, int1: number, keyEvent2: android.view.KeyEvent): boolean;
}
export class OnMultiChoiceClickListener extends java.lang.Object {
public static class: java.lang.Class<android.content.DialogInterface.OnMultiChoiceClickListener>;
/**
* Constructs a new instance of the android.content.DialogInterface$OnMultiChoiceClickListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onClick(dialogInterface0: android.content.DialogInterface, int1: number, boolean2: boolean): void;
});
public constructor();
public onClick(dialogInterface0: android.content.DialogInterface, int1: number, boolean2: boolean): void;
}
export class OnShowListener extends java.lang.Object {
public static class: java.lang.Class<android.content.DialogInterface.OnShowListener>;
/**
* Constructs a new instance of the android.content.DialogInterface$OnShowListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onShow(dialogInterface0: android.content.DialogInterface): void;
});
public constructor();
public onShow(dialogInterface0: android.content.DialogInterface): void;
}
}
}
}
declare module android {
export module content {
export class Entity extends java.lang.Object {
public static class: java.lang.Class<android.content.Entity>;
public toString(): string;
public getEntityValues(): android.content.ContentValues;
public addSubValue(uri: android.net.Uri, values: android.content.ContentValues): void;
public getSubValues(): java.util.ArrayList<android.content.Entity.NamedContentValues>;
public constructor(values: android.content.ContentValues);
}
export module Entity {
export class NamedContentValues extends java.lang.Object {
public static class: java.lang.Class<android.content.Entity.NamedContentValues>;
public uri: android.net.Uri;
public values: android.content.ContentValues;
public constructor(uri: android.net.Uri, values: android.content.ContentValues);
}
}
}
}
declare module android {
export module content {
export class EntityIterator extends java.util.Iterator<android.content.Entity> {
public static class: java.lang.Class<android.content.EntityIterator>;
/**
* Constructs a new instance of the android.content.EntityIterator interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
reset(): void;
close(): void;
});
public constructor();
public reset(): void;
public close(): void;
}
}
}
declare module android {
export module content {
export class Intent extends java.lang.Object implements android.os.Parcelable, java.lang.Cloneable {
public static class: java.lang.Class<android.content.Intent>;
public static ACTION_AIRPLANE_MODE_CHANGED: string;
public static ACTION_ALL_APPS: string;
public static ACTION_ANSWER: string;
public static ACTION_APPLICATION_PREFERENCES: string;
public static ACTION_APPLICATION_RESTRICTIONS_CHANGED: string;
public static ACTION_APP_ERROR: string;
public static ACTION_ASSIST: string;
public static ACTION_ATTACH_DATA: string;
public static ACTION_BATTERY_CHANGED: string;
public static ACTION_BATTERY_LOW: string;
public static ACTION_BATTERY_OKAY: string;
public static ACTION_BOOT_COMPLETED: string;
public static ACTION_BUG_REPORT: string;
public static ACTION_CALL: string;
public static ACTION_CALL_BUTTON: string;
public static ACTION_CAMERA_BUTTON: string;
public static ACTION_CARRIER_SETUP: string;
public static ACTION_CHOOSER: string;
public static ACTION_CLOSE_SYSTEM_DIALOGS: string;
public static ACTION_CONFIGURATION_CHANGED: string;
public static ACTION_CREATE_DOCUMENT: string;
public static ACTION_CREATE_SHORTCUT: string;
public static ACTION_DATE_CHANGED: string;
public static ACTION_DEFAULT: string;
public static ACTION_DEFINE: string;
public static ACTION_DELETE: string;
public static ACTION_DEVICE_STORAGE_LOW: string;
public static ACTION_DEVICE_STORAGE_OK: string;
public static ACTION_DIAL: string;
public static ACTION_DOCK_EVENT: string;
public static ACTION_DREAMING_STARTED: string;
public static ACTION_DREAMING_STOPPED: string;
public static ACTION_EDIT: string;
public static ACTION_EXTERNAL_APPLICATIONS_AVAILABLE: string;
public static ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE: string;
public static ACTION_FACTORY_TEST: string;
public static ACTION_GET_CONTENT: string;
public static ACTION_GET_RESTRICTION_ENTRIES: string;
public static ACTION_GTALK_SERVICE_CONNECTED: string;
public static ACTION_GTALK_SERVICE_DISCONNECTED: string;
public static ACTION_HEADSET_PLUG: string;
public static ACTION_INPUT_METHOD_CHANGED: string;
public static ACTION_INSERT: string;
public static ACTION_INSERT_OR_EDIT: string;
public static ACTION_INSTALL_FAILURE: string;
public static ACTION_INSTALL_PACKAGE: string;
public static ACTION_LOCALE_CHANGED: string;
public static ACTION_LOCKED_BOOT_COMPLETED: string;
public static ACTION_MAIN: string;
public static ACTION_MANAGED_PROFILE_ADDED: string;
public static ACTION_MANAGED_PROFILE_AVAILABLE: string;
public static ACTION_MANAGED_PROFILE_REMOVED: string;
public static ACTION_MANAGED_PROFILE_UNAVAILABLE: string;
public static ACTION_MANAGED_PROFILE_UNLOCKED: string;
public static ACTION_MANAGE_NETWORK_USAGE: string;
public static ACTION_MANAGE_PACKAGE_STORAGE: string;
public static ACTION_MEDIA_BAD_REMOVAL: string;
public static ACTION_MEDIA_BUTTON: string;
public static ACTION_MEDIA_CHECKING: string;
public static ACTION_MEDIA_EJECT: string;
public static ACTION_MEDIA_MOUNTED: string;
public static ACTION_MEDIA_NOFS: string;
public static ACTION_MEDIA_REMOVED: string;
public static ACTION_MEDIA_SCANNER_FINISHED: string;
public static ACTION_MEDIA_SCANNER_SCAN_FILE: string;
public static ACTION_MEDIA_SCANNER_STARTED: string;
public static ACTION_MEDIA_SHARED: string;
public static ACTION_MEDIA_UNMOUNTABLE: string;
public static ACTION_MEDIA_UNMOUNTED: string;
public static ACTION_MY_PACKAGE_REPLACED: string;
public static ACTION_MY_PACKAGE_SUSPENDED: string;
public static ACTION_MY_PACKAGE_UNSUSPENDED: string;
public static ACTION_NEW_OUTGOING_CALL: string;
public static ACTION_OPEN_DOCUMENT: string;
public static ACTION_OPEN_DOCUMENT_TREE: string;
public static ACTION_PACKAGES_SUSPENDED: string;
public static ACTION_PACKAGES_UNSUSPENDED: string;
public static ACTION_PACKAGE_ADDED: string;
public static ACTION_PACKAGE_CHANGED: string;
public static ACTION_PACKAGE_DATA_CLEARED: string;
public static ACTION_PACKAGE_FIRST_LAUNCH: string;
public static ACTION_PACKAGE_FULLY_REMOVED: string;
public static ACTION_PACKAGE_INSTALL: string;
public static ACTION_PACKAGE_NEEDS_VERIFICATION: string;
public static ACTION_PACKAGE_REMOVED: string;
public static ACTION_PACKAGE_REPLACED: string;
public static ACTION_PACKAGE_RESTARTED: string;
public static ACTION_PACKAGE_VERIFIED: string;
public static ACTION_PASTE: string;
public static ACTION_PICK: string;
public static ACTION_PICK_ACTIVITY: string;
public static ACTION_POWER_CONNECTED: string;
public static ACTION_POWER_DISCONNECTED: string;
public static ACTION_POWER_USAGE_SUMMARY: string;
public static ACTION_PROCESS_TEXT: string;
public static ACTION_PROVIDER_CHANGED: string;
public static ACTION_QUICK_CLOCK: string;
public static ACTION_QUICK_VIEW: string;
public static ACTION_REBOOT: string;
public static ACTION_RUN: string;
public static ACTION_SCREEN_OFF: string;
public static ACTION_SCREEN_ON: string;
public static ACTION_SEARCH: string;
public static ACTION_SEARCH_LONG_PRESS: string;
public static ACTION_SEND: string;
public static ACTION_SENDTO: string;
public static ACTION_SEND_MULTIPLE: string;
public static ACTION_SET_WALLPAPER: string;
public static ACTION_SHOW_APP_INFO: string;
public static ACTION_SHUTDOWN: string;
public static ACTION_SYNC: string;
public static ACTION_SYSTEM_TUTORIAL: string;
public static ACTION_TIMEZONE_CHANGED: string;
public static ACTION_TIME_CHANGED: string;
public static ACTION_TIME_TICK: string;
public static ACTION_TRANSLATE: string;
public static ACTION_UID_REMOVED: string;
public static ACTION_UMS_CONNECTED: string;
public static ACTION_UMS_DISCONNECTED: string;
public static ACTION_UNINSTALL_PACKAGE: string;
public static ACTION_USER_BACKGROUND: string;
public static ACTION_USER_FOREGROUND: string;
public static ACTION_USER_INITIALIZE: string;
public static ACTION_USER_PRESENT: string;
public static ACTION_USER_UNLOCKED: string;
public static ACTION_VIEW: string;
public static ACTION_VIEW_LOCUS: string;
public static ACTION_VIEW_PERMISSION_USAGE: string;
public static ACTION_VOICE_COMMAND: string;
public static ACTION_WALLPAPER_CHANGED: string;
public static ACTION_WEB_SEARCH: string;
public static CATEGORY_ALTERNATIVE: string;
public static CATEGORY_APP_BROWSER: string;
public static CATEGORY_APP_CALCULATOR: string;
public static CATEGORY_APP_CALENDAR: string;
public static CATEGORY_APP_CONTACTS: string;
public static CATEGORY_APP_EMAIL: string;
public static CATEGORY_APP_FILES: string;
public static CATEGORY_APP_GALLERY: string;
public static CATEGORY_APP_MAPS: string;
public static CATEGORY_APP_MARKET: string;
public static CATEGORY_APP_MESSAGING: string;
public static CATEGORY_APP_MUSIC: string;
public static CATEGORY_BROWSABLE: string;
public static CATEGORY_CAR_DOCK: string;
public static CATEGORY_CAR_MODE: string;
public static CATEGORY_DEFAULT: string;
public static CATEGORY_DESK_DOCK: string;
public static CATEGORY_DEVELOPMENT_PREFERENCE: string;
public static CATEGORY_EMBED: string;
public static CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST: string;
public static CATEGORY_HE_DESK_DOCK: string;
public static CATEGORY_HOME: string;
public static CATEGORY_INFO: string;
public static CATEGORY_LAUNCHER: string;
public static CATEGORY_LEANBACK_LAUNCHER: string;
public static CATEGORY_LE_DESK_DOCK: string;
public static CATEGORY_MONKEY: string;
public static CATEGORY_OPENABLE: string;
public static CATEGORY_PREFERENCE: string;
public static CATEGORY_SAMPLE_CODE: string;
public static CATEGORY_SECONDARY_HOME: string;
public static CATEGORY_SELECTED_ALTERNATIVE: string;
public static CATEGORY_TAB: string;
public static CATEGORY_TEST: string;
public static CATEGORY_TYPED_OPENABLE: string;
public static CATEGORY_UNIT_TEST: string;
public static CATEGORY_VOICE: string;
public static CATEGORY_VR_HOME: string;
public static CREATOR: android.os.Parcelable.Creator<android.content.Intent>;
public static EXTRA_ALARM_COUNT: string;
public static EXTRA_ALLOW_MULTIPLE: string;
public static EXTRA_ALLOW_REPLACE: string;
public static EXTRA_ALTERNATE_INTENTS: string;
public static EXTRA_ASSIST_CONTEXT: string;
public static EXTRA_ASSIST_INPUT_DEVICE_ID: string;
public static EXTRA_ASSIST_INPUT_HINT_KEYBOARD: string;
public static EXTRA_ASSIST_PACKAGE: string;
public static EXTRA_ASSIST_UID: string;
public static EXTRA_AUTO_LAUNCH_SINGLE_CHOICE: string;
public static EXTRA_BCC: string;
public static EXTRA_BUG_REPORT: string;
public static EXTRA_CC: string;
public static EXTRA_CHANGED_COMPONENT_NAME: string;
public static EXTRA_CHANGED_COMPONENT_NAME_LIST: string;
public static EXTRA_CHANGED_PACKAGE_LIST: string;
public static EXTRA_CHANGED_UID_LIST: string;
public static EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER: string;
public static EXTRA_CHOOSER_TARGETS: string;
public static EXTRA_CHOSEN_COMPONENT: string;
public static EXTRA_CHOSEN_COMPONENT_INTENT_SENDER: string;
public static EXTRA_COMPONENT_NAME: string;
public static EXTRA_CONTENT_ANNOTATIONS: string;
public static EXTRA_CONTENT_QUERY: string;
public static EXTRA_DATA_REMOVED: string;
public static EXTRA_DOCK_STATE: string;
public static EXTRA_DOCK_STATE_CAR: number;
public static EXTRA_DOCK_STATE_DESK: number;
public static EXTRA_DOCK_STATE_HE_DESK: number;
public static EXTRA_DOCK_STATE_LE_DESK: number;
public static EXTRA_DOCK_STATE_UNDOCKED: number;
public static EXTRA_DONT_KILL_APP: string;
public static EXTRA_DURATION_MILLIS: string;
public static EXTRA_EMAIL: string;
public static EXTRA_EXCLUDE_COMPONENTS: string;
public static EXTRA_FROM_STORAGE: string;
public static EXTRA_HTML_TEXT: string;
public static EXTRA_INDEX: string;
public static EXTRA_INITIAL_INTENTS: string;
public static EXTRA_INSTALLER_PACKAGE_NAME: string;
public static EXTRA_INTENT: string;
public static EXTRA_KEY_EVENT: string;
public static EXTRA_LOCAL_ONLY: string;
public static EXTRA_LOCUS_ID: string;
public static EXTRA_MIME_TYPES: string;
public static EXTRA_NOT_UNKNOWN_SOURCE: string;
public static EXTRA_ORIGINATING_URI: string;
public static EXTRA_PACKAGE_NAME: string;
public static EXTRA_PHONE_NUMBER: string;
public static EXTRA_PROCESS_TEXT: string;
public static EXTRA_PROCESS_TEXT_READONLY: string;
public static EXTRA_QUICK_VIEW_FEATURES: string;
public static EXTRA_QUIET_MODE: string;
public static EXTRA_REFERRER: string;
public static EXTRA_REFERRER_NAME: string;
public static EXTRA_REMOTE_INTENT_TOKEN: string;
public static EXTRA_REPLACEMENT_EXTRAS: string;
public static EXTRA_REPLACING: string;
public static EXTRA_RESTRICTIONS_BUNDLE: string;
public static EXTRA_RESTRICTIONS_INTENT: string;
public static EXTRA_RESTRICTIONS_LIST: string;
public static EXTRA_RESULT_RECEIVER: string;
public static EXTRA_RETURN_RESULT: string;
public static EXTRA_SHORTCUT_ICON: string;
public static EXTRA_SHORTCUT_ICON_RESOURCE: string;
public static EXTRA_SHORTCUT_ID: string;
public static EXTRA_SHORTCUT_INTENT: string;
public static EXTRA_SHORTCUT_NAME: string;
public static EXTRA_SHUTDOWN_USERSPACE_ONLY: string;
public static EXTRA_SPLIT_NAME: string;
public static EXTRA_STREAM: string;
public static EXTRA_SUBJECT: string;
public static EXTRA_SUSPENDED_PACKAGE_EXTRAS: string;
public static EXTRA_TEMPLATE: string;
public static EXTRA_TEXT: string;
public static EXTRA_TITLE: string;
public static EXTRA_UID: string;
public static EXTRA_USER: string;
public static FILL_IN_ACTION: number;
public static FILL_IN_CATEGORIES: number;
public static FILL_IN_CLIP_DATA: number;
public static FILL_IN_COMPONENT: number;
public static FILL_IN_DATA: number;
public static FILL_IN_IDENTIFIER: number;
public static FILL_IN_PACKAGE: number;
public static FILL_IN_SELECTOR: number;
public static FILL_IN_SOURCE_BOUNDS: number;
public static FLAG_ACTIVITY_BROUGHT_TO_FRONT: number;
public static FLAG_ACTIVITY_CLEAR_TASK: number;
public static FLAG_ACTIVITY_CLEAR_TOP: number;
public static FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET: number;
public static FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS: number;
public static FLAG_ACTIVITY_FORWARD_RESULT: number;
public static FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY: number;
public static FLAG_ACTIVITY_LAUNCH_ADJACENT: number;
public static FLAG_ACTIVITY_MATCH_EXTERNAL: number;
public static FLAG_ACTIVITY_MULTIPLE_TASK: number;
public static FLAG_ACTIVITY_NEW_DOCUMENT: number;
public static FLAG_ACTIVITY_NEW_TASK: number;
public static FLAG_ACTIVITY_NO_ANIMATION: number;
public static FLAG_ACTIVITY_NO_HISTORY: number;
public static FLAG_ACTIVITY_NO_USER_ACTION: number;
public static FLAG_ACTIVITY_PREVIOUS_IS_TOP: number;
public static FLAG_ACTIVITY_REORDER_TO_FRONT: number;
public static FLAG_ACTIVITY_RESET_TASK_IF_NEEDED: number;
public static FLAG_ACTIVITY_RETAIN_IN_RECENTS: number;
public static FLAG_ACTIVITY_SINGLE_TOP: number;
public static FLAG_ACTIVITY_TASK_ON_HOME: number;
public static FLAG_DEBUG_LOG_RESOLUTION: number;
public static FLAG_DIRECT_BOOT_AUTO: number;
public static FLAG_EXCLUDE_STOPPED_PACKAGES: number;
public static FLAG_FROM_BACKGROUND: number;
public static FLAG_GRANT_PERSISTABLE_URI_PERMISSION: number;
public static FLAG_GRANT_PREFIX_URI_PERMISSION: number;
public static FLAG_GRANT_READ_URI_PERMISSION: number;
public static FLAG_GRANT_WRITE_URI_PERMISSION: number;
public static FLAG_INCLUDE_STOPPED_PACKAGES: number;
public static FLAG_RECEIVER_FOREGROUND: number;
public static FLAG_RECEIVER_NO_ABORT: number;
public static FLAG_RECEIVER_REGISTERED_ONLY: number;
public static FLAG_RECEIVER_REPLACE_PENDING: number;
public static FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS: number;
public static METADATA_DOCK_HOME: string;
public static URI_ALLOW_UNSAFE: number;
public static URI_ANDROID_APP_SCHEME: number;
public static URI_INTENT_SCHEME: number;
public constructor(o: android.content.Intent);
public getBooleanExtra(name: string, defaultValue: boolean): boolean;
public getIntArrayExtra(name: string): native.Array<number>;
public getDoubleArrayExtra(name: string): native.Array<number>;
public putParcelableArrayListExtra(name: string, value: java.util.ArrayList<any>): android.content.Intent;
public getSerializableExtra(name: string): java.io.Serializable;
public getIntegerArrayListExtra(name: string): java.util.ArrayList<java.lang.Integer>;
public setAction(action: string): android.content.Intent;
public fillIn(other: android.content.Intent, flags: number): number;
public getData(): android.net.Uri;
public static makeMainActivity(mainActivity: android.content.ComponentName): android.content.Intent;
public static normalizeMimeType(type: string): string;
public getScheme(): string;
public getSelector(): android.content.Intent;
public setDataAndTypeAndNormalize(data: android.net.Uri, type: string): android.content.Intent;
public constructor(action: string, uri: android.net.Uri);
public putExtra(name: string, value: string): android.content.Intent;
public setClassName(packageContext: android.content.Context, className: string): android.content.Intent;
public putCharSequenceArrayListExtra(name: string, value: java.util.ArrayList<string>): android.content.Intent;
public putExtras(extras: android.os.Bundle): android.content.Intent;
public getBundleExtra(name: string): android.os.Bundle;
public constructor(action: string);
public putExtra(name: string, value: native.Array<android.os.Parcelable>): android.content.Intent;
public resolveActivityInfo(pm: android.content.pm.PackageManager, flags: number): android.content.pm.ActivityInfo;
public getStringArrayListExtra(name: string): java.util.ArrayList<string>;
public getParcelableExtra(name: string): android.os.Parcelable;
public constructor();
public clone(): any;
public setPackage(packageName: string): android.content.Intent;
public setData(data: android.net.Uri): android.content.Intent;
public describeContents(): number;
public getSourceBounds(): android.graphics.Rect;
public getExtras(): android.os.Bundle;
public putExtra(name: string, value: number): android.content.Intent;
public setFlags(flags: number): android.content.Intent;
public setTypeAndNormalize(type: string): android.content.Intent;
public setComponent(component: android.content.ComponentName): android.content.Intent;
public getCategories(): java.util.Set<string>;
public getParcelableArrayListExtra(name: string): java.util.ArrayList<any>;
public getCharSequenceArrayExtra(name: string): native.Array<string>;
public getPackage(): string;
public static parseUri(uri: string, flags: number): android.content.Intent;
public getClipData(): android.content.ClipData;
public getBooleanArrayExtra(name: string): native.Array<boolean>;
public static makeRestartActivityTask(mainActivity: android.content.ComponentName): android.content.Intent;
public resolveTypeIfNeeded(resolver: android.content.ContentResolver): string;
public putExtra(name: string, value: java.io.Serializable): android.content.Intent;
public getShortExtra(name: string, defaultValue: number): number;
public hasCategory(category: string): boolean;
public getStringArrayExtra(name: string): native.Array<string>;
public putExtra(name: string, value: android.os.Bundle): android.content.Intent;
public setDataAndNormalize(data: android.net.Uri): android.content.Intent;
public putExtra(name: string, value: native.Array<number>): android.content.Intent;
public removeExtra(name: string): void;
public replaceExtras(src: android.content.Intent): android.content.Intent;
public getCharExtra(name: string, defaultValue: string): string;
public static parseIntent(resources: android.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, attrs: android.util.AttributeSet): android.content.Intent;
public getAction(): string;
public getComponent(): android.content.ComponentName;
public filterEquals(other: android.content.Intent): boolean;
public resolveType(context: android.content.Context): string;
public getDataString(): string;
public putExtra(name: string, value: android.os.Parcelable): android.content.Intent;
public setClass(packageContext: android.content.Context, cls: java.lang.Class<any>): android.content.Intent;
public setExtrasClassLoader(loader: java.lang.ClassLoader): void;
/** @deprecated */
public static getIntent(uri: string): android.content.Intent;
public putExtras(src: android.content.Intent): android.content.Intent;
public getLongArrayExtra(name: string): native.Array<number>;
public putIntegerArrayListExtra(name: string, value: java.util.ArrayList<java.lang.Integer>): android.content.Intent;
public getCharSequenceArrayListExtra(name: string): java.util.ArrayList<string>;
public getShortArrayExtra(name: string): native.Array<number>;
public getCharArrayExtra(name: string): native.Array<string>;
public toUri(flags: number): string;
public getIdentifier(): string;
public filterHashCode(): number;
public getStringExtra(name: string): string;
public getDoubleExtra(name: string, defaultValue: number): number;
public getFloatArrayExtra(name: string): native.Array<number>;
public addFlags(flags: number): android.content.Intent;
public setSourceBounds(r: android.graphics.Rect): void;
public constructor(action: string, uri: android.net.Uri, packageContext: android.content.Context, cls: java.lang.Class<any>);
public getType(): string;
public getLongExtra(name: string, defaultValue: number): number;
public setType(type: string): android.content.Intent;
public getFlags(): number;
public addCategory(category: string): android.content.Intent;
public hasExtra(name: string): boolean;
public setSelector(selector: android.content.Intent): void;
public getByteArrayExtra(name: string): native.Array<number>;
public setDataAndType(data: android.net.Uri, type: string): android.content.Intent;
public static createChooser(target: android.content.Intent, title: string): android.content.Intent;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public constructor(packageContext: android.content.Context, cls: java.lang.Class<any>);
public getParcelableArrayExtra(name: string): native.Array<android.os.Parcelable>;
public getFloatExtra(name: string, defaultValue: number): number;
public removeFlags(flags: number): void;
public static getIntentOld(uri: string): android.content.Intent;
public getByteExtra(name: string, defaultValue: number): number;
public resolveActivity(pm: android.content.pm.PackageManager): android.content.ComponentName;
public putExtra(name: string, value: native.Array<string>): android.content.Intent;
public putExtra(name: string, value: boolean): android.content.Intent;
public replaceExtras(extras: android.os.Bundle): android.content.Intent;
public resolveType(resolver: android.content.ContentResolver): string;
public hasFileDescriptors(): boolean;
public removeCategory(category: string): void;
public getCharSequenceExtra(name: string): string;
public setIdentifier(identifier: string): android.content.Intent;
public setClipData(clip: android.content.ClipData): void;
/** @deprecated */
public toURI(): string;
public readFromParcel(in0: android.os.Parcel): void;
public static makeMainSelectorActivity(selectorAction: string, selectorCategory: string): android.content.Intent;
public setClassName(packageName: string, className: string): android.content.Intent;
public toString(): string;
public putExtra(name: string, value: native.Array<boolean>): android.content.Intent;
public static createChooser(target: android.content.Intent, title: string, sender: android.content.IntentSender): android.content.Intent;
public cloneFilter(): android.content.Intent;
public getIntExtra(name: string, defaultValue: number): number;
public putStringArrayListExtra(name: string, value: java.util.ArrayList<string>): android.content.Intent;
}
export module Intent {
export class FilterComparison extends java.lang.Object {
public static class: java.lang.Class<android.content.Intent.FilterComparison>;
public equals(obj: any): boolean;
public constructor(intent: android.content.Intent);
public getIntent(): android.content.Intent;
public hashCode(): number;
}
export class ShortcutIconResource extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.Intent.ShortcutIconResource>;
public static CREATOR: android.os.Parcelable.Creator<android.content.Intent.ShortcutIconResource>;
public packageName: string;
public resourceName: string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public static fromContext(context: android.content.Context, resourceId: number): android.content.Intent.ShortcutIconResource;
public toString(): string;
public constructor();
}
}
}
}
declare module android {
export module content {
export class IntentFilter extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.IntentFilter>;
public static CREATOR: android.os.Parcelable.Creator<android.content.IntentFilter>;
public static MATCH_ADJUSTMENT_MASK: number;
public static MATCH_ADJUSTMENT_NORMAL: number;
public static MATCH_CATEGORY_EMPTY: number;
public static MATCH_CATEGORY_HOST: number;
public static MATCH_CATEGORY_MASK: number;
public static MATCH_CATEGORY_PATH: number;
public static MATCH_CATEGORY_PORT: number;
public static MATCH_CATEGORY_SCHEME: number;
public static MATCH_CATEGORY_SCHEME_SPECIFIC_PART: number;
public static MATCH_CATEGORY_TYPE: number;
public static NO_MATCH_ACTION: number;
public static NO_MATCH_CATEGORY: number;
public static NO_MATCH_DATA: number;
public static NO_MATCH_TYPE: number;
public static SYSTEM_HIGH_PRIORITY: number;
public static SYSTEM_LOW_PRIORITY: number;
public hasDataSchemeSpecificPart(data: string): boolean;
public typesIterator(): java.util.Iterator<string>;
public addAction(action: string): void;
public getDataScheme(index: number): string;
public matchDataAuthority(data: android.net.Uri): number;
public constructor(action: string, dataType: string);
public hasDataAuthority(data: android.net.Uri): boolean;
public pathsIterator(): java.util.Iterator<android.os.PatternMatcher>;
public matchData(type: string, scheme: string, data: android.net.Uri): number;
public constructor(o: android.content.IntentFilter);
public dump(du: android.util.Printer, prefix: string): void;
public countActions(): number;
public countDataSchemeSpecificParts(): number;
public readFromXml(parser: org.xmlpull.v1.XmlPullParser): void;
public constructor(action: string);
public actionsIterator(): java.util.Iterator<string>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public categoriesIterator(): java.util.Iterator<string>;
public addCategory(category: string): void;
public constructor();
public schemeSpecificPartsIterator(): java.util.Iterator<android.os.PatternMatcher>;
public countDataAuthorities(): number;
public countDataTypes(): number;
public getDataAuthority(index: number): android.content.IntentFilter.AuthorityEntry;
public matchCategories(categories: java.util.Set<string>): string;
public describeContents(): number;
public hasDataType(type: string): boolean;
public match(resolver: android.content.ContentResolver, intent: android.content.Intent, resolve: boolean, logTag: string): number;
public writeToXml(serializer: org.xmlpull.v1.XmlSerializer): void;
public getDataType(index: number): string;
public getDataSchemeSpecificPart(index: number): android.os.PatternMatcher;
public matchAction(action: string): boolean;
public setPriority(priority: number): void;
public countCategories(): number;
public getDataPath(index: number): android.os.PatternMatcher;
public addDataScheme(scheme: string): void;
public addDataAuthority(host: string, port: string): void;
public hasCategory(category: string): boolean;
public schemesIterator(): java.util.Iterator<string>;
public countDataSchemes(): number;
public getCategory(index: number): string;
public countDataPaths(): number;
public addDataSchemeSpecificPart(ssp: string, type: number): void;
public hasAction(action: string): boolean;
public static create(action: string, dataType: string): android.content.IntentFilter;
public getAction(index: number): string;
public addDataPath(path: string, type: number): void;
public hasDataPath(data: string): boolean;
public match(action: string, type: string, scheme: string, data: android.net.Uri, categories: java.util.Set<string>, logTag: string): number;
public getPriority(): number;
public addDataType(type: string): void;
public hasDataScheme(scheme: string): boolean;
public authoritiesIterator(): java.util.Iterator<android.content.IntentFilter.AuthorityEntry>;
}
export module IntentFilter {
export class AuthorityEntry extends java.lang.Object {
public static class: java.lang.Class<android.content.IntentFilter.AuthorityEntry>;
public equals(obj: any): boolean;
public getPort(): number;
public getHost(): string;
public match(data: android.net.Uri): number;
public constructor(host: string, port: string);
}
export class MalformedMimeTypeException extends android.util.AndroidException {
public static class: java.lang.Class<android.content.IntentFilter.MalformedMimeTypeException>;
public constructor(cause: java.lang.Throwable);
public constructor(name: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor(name: string, cause: java.lang.Throwable);
public constructor();
public constructor(cause: java.lang.Exception);
}
}
}
}
declare module android {
export module content {
export class IntentSender extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.IntentSender>;
public static CREATOR: android.os.Parcelable.Creator<android.content.IntentSender>;
public static readIntentSenderOrNullFromParcel(in0: android.os.Parcel): android.content.IntentSender;
public static writeIntentSenderOrNullToParcel(sender: android.content.IntentSender, out: android.os.Parcel): void;
/** @deprecated */
public getTargetPackage(): string;
public getCreatorPackage(): string;
public toString(): string;
public equals(obj: any): boolean;
public getCreatorUserHandle(): android.os.UserHandle;
public equals(otherObj: any): boolean;
public describeContents(): number;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public sendIntent(context: android.content.Context, code: number, intent: android.content.Intent, onFinished: android.content.IntentSender.OnFinished, handler: android.os.Handler): void;
public sendIntent(context: android.content.Context, code: number, intent: android.content.Intent, onFinished: android.content.IntentSender.OnFinished, handler: android.os.Handler, requiredPermission: string): void;
public getCreatorUid(): number;
public hashCode(): number;
}
export module IntentSender {
export class OnFinished extends java.lang.Object {
public static class: java.lang.Class<android.content.IntentSender.OnFinished>;
/**
* Constructs a new instance of the android.content.IntentSender$OnFinished interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onSendFinished(intentSender0: android.content.IntentSender, intent1: android.content.Intent, int2: number, string3: string, bundle4: android.os.Bundle): void;
});
public constructor();
public onSendFinished(intentSender0: android.content.IntentSender, intent1: android.content.Intent, int2: number, string3: string, bundle4: android.os.Bundle): void;
}
export class SendIntentException extends android.util.AndroidException {
public static class: java.lang.Class<android.content.IntentSender.SendIntentException>;
public constructor(cause: java.lang.Throwable);
public constructor(name: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor(name: string, cause: java.lang.Throwable);
public constructor();
public constructor(cause: java.lang.Exception);
}
}
}
}
declare module android {
export module content {
export class Loader<D> extends java.lang.Object {
public static class: java.lang.Class<android.content.Loader<any>>;
/** @deprecated */
public abandon(): void;
/** @deprecated */
public registerOnLoadCanceledListener(listener: android.content.Loader.OnLoadCanceledListener<D>): void;
/** @deprecated */
public onStartLoading(): void;
/** @deprecated */
public rollbackContentChanged(): void;
/** @deprecated */
public constructor(context: android.content.Context);
/** @deprecated */
public stopLoading(): void;
/** @deprecated */
public onReset(): void;
/** @deprecated */
public cancelLoad(): boolean;
/** @deprecated */
public isAbandoned(): boolean;
/** @deprecated */
public forceLoad(): void;
/** @deprecated */
public registerListener(id: number, listener: android.content.Loader.OnLoadCompleteListener<D>): void;
/** @deprecated */
public startLoading(): void;
/** @deprecated */
public takeContentChanged(): boolean;
/** @deprecated */
public onCancelLoad(): boolean;
/** @deprecated */
public reset(): void;
/** @deprecated */
public unregisterListener(listener: android.content.Loader.OnLoadCompleteListener<D>): void;
/** @deprecated */
public unregisterOnLoadCanceledListener(listener: android.content.Loader.OnLoadCanceledListener<D>): void;
/** @deprecated */
public onStopLoading(): void;
/** @deprecated */
public isStarted(): boolean;
/** @deprecated */
public onForceLoad(): void;
/** @deprecated */
public getId(): number;
/** @deprecated */
public isReset(): boolean;
/** @deprecated */
public onContentChanged(): void;
/** @deprecated */
public getContext(): android.content.Context;
/** @deprecated */
public toString(): string;
/** @deprecated */
public deliverCancellation(): void;
public toString(): string;
/** @deprecated */
public deliverResult(data: D): void;
/** @deprecated */
public commitContentChanged(): void;
/** @deprecated */
public onAbandon(): void;
/** @deprecated */
public dataToString(data: D): string;
/** @deprecated */
public dump(prefix: string, fd: java.io.FileDescriptor, writer: java.io.PrintWriter, strings3: native.Array<string>): void;
}
export module Loader {
export class ForceLoadContentObserver extends android.database.ContentObserver {
public static class: java.lang.Class<android.content.Loader.ForceLoadContentObserver>;
/** @deprecated */
public constructor(this0: android.content.Loader<any>);
public deliverSelfNotifications(): boolean;
public onChange(selfChange: boolean, uri: android.net.Uri): void;
public constructor(handler: android.os.Handler);
/** @deprecated */
public onChange(selfChange: boolean): void;
/** @deprecated */
public deliverSelfNotifications(): boolean;
public onChange(selfChange: boolean): void;
}
export class OnLoadCanceledListener<D> extends java.lang.Object {
public static class: java.lang.Class<android.content.Loader.OnLoadCanceledListener<any>>;
/**
* Constructs a new instance of the android.content.Loader$OnLoadCanceledListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onLoadCanceled(loader0: android.content.Loader<D>): void;
});
public constructor();
/** @deprecated */
public onLoadCanceled(loader0: android.content.Loader<D>): void;
}
export class OnLoadCompleteListener<D> extends java.lang.Object {
public static class: java.lang.Class<android.content.Loader.OnLoadCompleteListener<any>>;
/**
* Constructs a new instance of the android.content.Loader$OnLoadCompleteListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onLoadComplete(loader0: android.content.Loader<D>, object1: D): void;
});
public constructor();
/** @deprecated */
public onLoadComplete(loader0: android.content.Loader<D>, object1: D): void;
}
}
}
}
declare module android {
export module content {
export class LocusId extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.LocusId>;
public static CREATOR: android.os.Parcelable.Creator<android.content.LocusId>;
public getId(): string;
public toString(): string;
public equals(obj: any): boolean;
public constructor(id: string);
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public describeContents(): number;
public hashCode(): number;
}
}
}
declare module android {
export module content {
export class MutableContextWrapper extends android.content.ContextWrapper {
public static class: java.lang.Class<android.content.MutableContextWrapper>;
public constructor();
public constructor(base: android.content.Context);
public setBaseContext(base: android.content.Context): void;
}
}
}
declare module android {
export module content {
export class OperationApplicationException extends java.lang.Exception {
public static class: java.lang.Class<android.content.OperationApplicationException>;
public constructor(message: string);
public constructor(numSuccessfulYieldPoints: number);
public getNumSuccessfulYieldPoints(): number;
public constructor(message: string, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
public constructor(message: string, numSuccessfulYieldPoints: number);
}
}
}
declare module android {
export module content {
export class PeriodicSync extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.PeriodicSync>;
public static CREATOR: android.os.Parcelable.Creator<android.content.PeriodicSync>;
public account: android.accounts.Account;
public authority: string;
public extras: android.os.Bundle;
public period: number;
public toString(): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public constructor(account: android.accounts.Account, authority: string, extras: android.os.Bundle, periodInSeconds: number);
}
}
}
declare module android {
export module content {
export class QuickViewConstants extends java.lang.Object {
public static class: java.lang.Class<android.content.QuickViewConstants>;
public static FEATURE_DELETE: string;
public static FEATURE_DOWNLOAD: string;
public static FEATURE_EDIT: string;
public static FEATURE_PRINT: string;
public static FEATURE_SEND: string;
public static FEATURE_VIEW: string;
}
}
}
declare module android {
export module content {
export class ReceiverCallNotAllowedException extends android.util.AndroidRuntimeException {
public static class: java.lang.Class<android.content.ReceiverCallNotAllowedException>;
public constructor(cause: java.lang.Exception);
public constructor(name: string);
public constructor(name: string, cause: java.lang.Throwable);
public constructor(cause: java.lang.Throwable);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor();
public constructor(msg: string);
}
}
}
declare module android {
export module content {
export class RestrictionEntry extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.RestrictionEntry>;
public static CREATOR: android.os.Parcelable.Creator<android.content.RestrictionEntry>;
public static TYPE_BOOLEAN: number;
public static TYPE_BUNDLE: number;
public static TYPE_BUNDLE_ARRAY: number;
public static TYPE_CHOICE: number;
public static TYPE_INTEGER: number;
public static TYPE_MULTI_SELECT: number;
public static TYPE_NULL: number;
public static TYPE_STRING: number;
public getType(): number;
public static createBundleArrayEntry(key: string, restrictionEntries: native.Array<android.content.RestrictionEntry>): android.content.RestrictionEntry;
public setChoiceEntries(context: android.content.Context, stringArrayResId: number): void;
public constructor(key: string, selectedString: string);
public constructor(in0: android.os.Parcel);
public constructor(type: number, key: string);
public setChoiceValues(choiceValues: native.Array<string>): void;
public getChoiceValues(): native.Array<string>;
public getSelectedString(): string;
public setAllSelectedStrings(allSelectedStrings: native.Array<string>): void;
public getKey(): string;
public setChoiceValues(context: android.content.Context, stringArrayResId: number): void;
public setIntValue(value: number): void;
public setDescription(description: string): void;
public getAllSelectedStrings(): native.Array<string>;
public setRestrictions(restrictions: native.Array<android.content.RestrictionEntry>): void;
public getSelectedState(): boolean;
public getTitle(): string;
public getChoiceEntries(): native.Array<string>;
public setChoiceEntries(choiceEntries: native.Array<string>): void;
public static createBundleEntry(key: string, restrictionEntries: native.Array<android.content.RestrictionEntry>): android.content.RestrictionEntry;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(key: string, selectedState: boolean);
public setSelectedString(selectedString: string): void;
public setTitle(title: string): void;
public constructor(key: string, selectedInt: number);
public getIntValue(): number;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public setSelectedState(state: boolean): void;
public setType(type: number): void;
public getDescription(): string;
public constructor(key: string, selectedStrings: native.Array<string>);
public getRestrictions(): native.Array<android.content.RestrictionEntry>;
public hashCode(): number;
}
}
}
declare module android {
export module content {
export class RestrictionsManager extends java.lang.Object {
public static class: java.lang.Class<android.content.RestrictionsManager>;
public static ACTION_PERMISSION_RESPONSE_RECEIVED: string;
public static ACTION_REQUEST_LOCAL_APPROVAL: string;
public static ACTION_REQUEST_PERMISSION: string;
public static EXTRA_PACKAGE_NAME: string;
public static EXTRA_REQUEST_BUNDLE: string;
public static EXTRA_REQUEST_ID: string;
public static EXTRA_REQUEST_TYPE: string;
public static EXTRA_RESPONSE_BUNDLE: string;
public static META_DATA_APP_RESTRICTIONS: string;
public static REQUEST_KEY_APPROVE_LABEL: string;
public static REQUEST_KEY_DATA: string;
public static REQUEST_KEY_DENY_LABEL: string;
public static REQUEST_KEY_ICON: string;
public static REQUEST_KEY_ID: string;
public static REQUEST_KEY_MESSAGE: string;
public static REQUEST_KEY_NEW_REQUEST: string;
public static REQUEST_KEY_TITLE: string;
public static REQUEST_TYPE_APPROVAL: string;
public static RESPONSE_KEY_ERROR_CODE: string;
public static RESPONSE_KEY_MESSAGE: string;
public static RESPONSE_KEY_RESPONSE_TIMESTAMP: string;
public static RESPONSE_KEY_RESULT: string;
public static RESULT_APPROVED: number;
public static RESULT_DENIED: number;
public static RESULT_ERROR: number;
public static RESULT_ERROR_BAD_REQUEST: number;
public static RESULT_ERROR_INTERNAL: number;
public static RESULT_ERROR_NETWORK: number;
public static RESULT_NO_RESPONSE: number;
public static RESULT_UNKNOWN_REQUEST: number;
public static convertRestrictionsToBundle(entries: java.util.List<android.content.RestrictionEntry>): android.os.Bundle;
public requestPermission(requestType: string, requestId: string, request: any): void;
public hasRestrictionsProvider(): boolean;
public getManifestRestrictions(packageName: string): java.util.List<android.content.RestrictionEntry>;
public getApplicationRestrictions(): android.os.Bundle;
public createLocalApprovalIntent(): android.content.Intent;
public notifyPermissionResponse(packageName: string, response: any): void;
}
}
}
declare module android {
export module content {
export class SearchRecentSuggestionsProvider extends android.content.ContentProvider {
public static class: java.lang.Class<android.content.SearchRecentSuggestionsProvider>;
public static DATABASE_MODE_2LINES: number;
public static DATABASE_MODE_QUERIES: number;
public delete(uri: android.net.Uri, selection: string, selectionArgs: native.Array<string>): number;
public constructor();
public delete(uri0: android.net.Uri, string1: string, strings2: native.Array<string>): number;
public setupSuggestions(authority: string, mode: number): void;
public getType(uri: android.net.Uri): string;
public query(uri: android.net.Uri, projection: native.Array<string>, queryArgs: android.os.Bundle, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public insert(uri0: android.net.Uri, contentValues1: android.content.ContentValues): android.net.Uri;
public onCreate(): boolean;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string): android.database.Cursor;
public query(uri0: android.net.Uri, strings1: native.Array<string>, string2: string, strings3: native.Array<string>, string4: string): android.database.Cursor;
public onTrimMemory(level: number): void;
public query(uri: android.net.Uri, projection: native.Array<string>, selection: string, selectionArgs: native.Array<string>, sortOrder: string, cancellationSignal: android.os.CancellationSignal): android.database.Cursor;
public update(uri: android.net.Uri, values: android.content.ContentValues, selection: string, selectionArgs: native.Array<string>): number;
public update(uri0: android.net.Uri, contentValues1: android.content.ContentValues, string2: string, strings3: native.Array<string>): number;
public insert(uri: android.net.Uri, values: android.content.ContentValues): android.net.Uri;
public getType(uri0: android.net.Uri): string;
}
}
}
declare module android {
export module content {
export class ServiceConnection extends java.lang.Object {
public static class: java.lang.Class<android.content.ServiceConnection>;
/**
* Constructs a new instance of the android.content.ServiceConnection interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onServiceConnected(componentName0: android.content.ComponentName, iBinder1: android.os.IBinder): void;
onServiceDisconnected(componentName0: android.content.ComponentName): void;
onBindingDied(name: android.content.ComponentName): void;
onNullBinding(name: android.content.ComponentName): void;
});
public constructor();
public onServiceDisconnected(componentName0: android.content.ComponentName): void;
public onServiceConnected(componentName0: android.content.ComponentName, iBinder1: android.os.IBinder): void;
public onNullBinding(name: android.content.ComponentName): void;
public onBindingDied(name: android.content.ComponentName): void;
}
}
}
declare module android {
export module content {
export class SharedPreferences extends java.lang.Object {
public static class: java.lang.Class<android.content.SharedPreferences>;
/**
* Constructs a new instance of the android.content.SharedPreferences interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
getAll(): java.util.Map<string,any>;
getString(string0: string, string1: string): string;
getStringSet(string0: string, set1: java.util.Set<string>): java.util.Set<string>;
getInt(string0: string, int1: number): number;
getLong(string0: string, long1: number): number;
getFloat(string0: string, float1: number): number;
getBoolean(string0: string, boolean1: boolean): boolean;
contains(string0: string): boolean;
edit(): android.content.SharedPreferences.Editor;
registerOnSharedPreferenceChangeListener(onSharedPreferenceChangeListener0: android.content.SharedPreferences.OnSharedPreferenceChangeListener): void;
unregisterOnSharedPreferenceChangeListener(onSharedPreferenceChangeListener0: android.content.SharedPreferences.OnSharedPreferenceChangeListener): void;
});
public constructor();
public getStringSet(string0: string, set1: java.util.Set<string>): java.util.Set<string>;
public getString(string0: string, string1: string): string;
public getInt(string0: string, int1: number): number;
public getBoolean(string0: string, boolean1: boolean): boolean;
public edit(): android.content.SharedPreferences.Editor;
public getLong(string0: string, long1: number): number;
public unregisterOnSharedPreferenceChangeListener(onSharedPreferenceChangeListener0: android.content.SharedPreferences.OnSharedPreferenceChangeListener): void;
public contains(string0: string): boolean;
public registerOnSharedPreferenceChangeListener(onSharedPreferenceChangeListener0: android.content.SharedPreferences.OnSharedPreferenceChangeListener): void;
public getAll(): java.util.Map<string,any>;
public getFloat(string0: string, float1: number): number;
}
export module SharedPreferences {
export class Editor extends java.lang.Object {
public static class: java.lang.Class<android.content.SharedPreferences.Editor>;
/**
* Constructs a new instance of the android.content.SharedPreferences$Editor interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
putString(string0: string, string1: string): android.content.SharedPreferences.Editor;
putStringSet(string0: string, set1: java.util.Set<string>): android.content.SharedPreferences.Editor;
putInt(string0: string, int1: number): android.content.SharedPreferences.Editor;
putLong(string0: string, long1: number): android.content.SharedPreferences.Editor;
putFloat(string0: string, float1: number): android.content.SharedPreferences.Editor;
putBoolean(string0: string, boolean1: boolean): android.content.SharedPreferences.Editor;
remove(string0: string): android.content.SharedPreferences.Editor;
clear(): android.content.SharedPreferences.Editor;
commit(): boolean;
apply(): void;
});
public constructor();
public putInt(string0: string, int1: number): android.content.SharedPreferences.Editor;
public commit(): boolean;
public apply(): void;
public putBoolean(string0: string, boolean1: boolean): android.content.SharedPreferences.Editor;
public putString(string0: string, string1: string): android.content.SharedPreferences.Editor;
public putLong(string0: string, long1: number): android.content.SharedPreferences.Editor;
public clear(): android.content.SharedPreferences.Editor;
public remove(string0: string): android.content.SharedPreferences.Editor;
public putStringSet(string0: string, set1: java.util.Set<string>): android.content.SharedPreferences.Editor;
public putFloat(string0: string, float1: number): android.content.SharedPreferences.Editor;
}
export class OnSharedPreferenceChangeListener extends java.lang.Object {
public static class: java.lang.Class<android.content.SharedPreferences.OnSharedPreferenceChangeListener>;
/**
* Constructs a new instance of the android.content.SharedPreferences$OnSharedPreferenceChangeListener interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onSharedPreferenceChanged(sharedPreferences0: android.content.SharedPreferences, string1: string): void;
});
public constructor();
public onSharedPreferenceChanged(sharedPreferences0: android.content.SharedPreferences, string1: string): void;
}
}
}
}
declare module android {
export module content {
export class SyncAdapterType extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.SyncAdapterType>;
public static CREATOR: android.os.Parcelable.Creator<android.content.SyncAdapterType>;
public accountType: string;
public authority: string;
public isKey: boolean;
public constructor(authority: string, accountType: string, userVisible: boolean, supportsUploading: boolean);
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public supportsUploading(): boolean;
public isAlwaysSyncable(): boolean;
public allowParallelSyncs(): boolean;
public toString(): string;
public equals(obj: any): boolean;
public equals(o: any): boolean;
public describeContents(): number;
public static newKey(authority: string, accountType: string): android.content.SyncAdapterType;
public getSettingsActivity(): string;
public isUserVisible(): boolean;
public constructor(source: android.os.Parcel);
public hashCode(): number;
}
}
}
declare module android {
export module content {
export class SyncContext extends java.lang.Object {
public static class: java.lang.Class<android.content.SyncContext>;
public getSyncContextBinder(): android.os.IBinder;
public onFinished(result: android.content.SyncResult): void;
}
}
}
declare module android {
export module content {
export class SyncInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.SyncInfo>;
public account: android.accounts.Account;
public authority: string;
public startTime: number;
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public describeContents(): number;
}
}
}
declare module android {
export module content {
export class SyncRequest extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.SyncRequest>;
public static CREATOR: android.os.Parcelable.Creator<android.content.SyncRequest>;
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public describeContents(): number;
}
export module SyncRequest {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<android.content.SyncRequest.Builder>;
public setDisallowMetered(disallow: boolean): android.content.SyncRequest.Builder;
public setIgnoreBackoff(ignoreBackoff: boolean): android.content.SyncRequest.Builder;
public setManual(isManual: boolean): android.content.SyncRequest.Builder;
public setSyncAdapter(account: android.accounts.Account, authority: string): android.content.SyncRequest.Builder;
public build(): android.content.SyncRequest;
public constructor();
public setExpedited(expedited: boolean): android.content.SyncRequest.Builder;
public setNoRetry(noRetry: boolean): android.content.SyncRequest.Builder;
public setExtras(bundle: android.os.Bundle): android.content.SyncRequest.Builder;
public setRequiresCharging(requiresCharging: boolean): android.content.SyncRequest.Builder;
public syncPeriodic(pollFrequency: number, beforeSeconds: number): android.content.SyncRequest.Builder;
public syncOnce(): android.content.SyncRequest.Builder;
public setIgnoreSettings(ignoreSettings: boolean): android.content.SyncRequest.Builder;
}
}
}
}
declare module android {
export module content {
export class SyncResult extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.SyncResult>;
public static ALREADY_IN_PROGRESS: android.content.SyncResult;
public static CREATOR: android.os.Parcelable.Creator<android.content.SyncResult>;
public databaseError: boolean;
public delayUntil: number;
public fullSyncRequested: boolean;
public moreRecordsToGet: boolean;
public partialSyncUnavailable: boolean;
public stats: android.content.SyncStats;
public syncAlreadyInProgress: boolean;
public tooManyDeletions: boolean;
public tooManyRetries: boolean;
public clear(): void;
public hasSoftError(): boolean;
public toString(): string;
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public madeSomeProgress(): boolean;
public describeContents(): number;
public constructor();
public hasHardError(): boolean;
public hasError(): boolean;
public toDebugString(): string;
}
}
}
declare module android {
export module content {
export class SyncStats extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.SyncStats>;
public static CREATOR: android.os.Parcelable.Creator<android.content.SyncStats>;
public numAuthExceptions: number;
public numConflictDetectedExceptions: number;
public numDeletes: number;
public numEntries: number;
public numInserts: number;
public numIoExceptions: number;
public numParseExceptions: number;
public numSkippedEntries: number;
public numUpdates: number;
public clear(): void;
public toString(): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public constructor(in0: android.os.Parcel);
public constructor();
}
}
}
declare module android {
export module content {
export class SyncStatusObserver extends java.lang.Object {
public static class: java.lang.Class<android.content.SyncStatusObserver>;
/**
* Constructs a new instance of the android.content.SyncStatusObserver interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
onStatusChanged(int0: number): void;
});
public constructor();
public onStatusChanged(int0: number): void;
}
}
}
declare module android {
export module content {
export class UriMatcher extends java.lang.Object {
public static class: java.lang.Class<android.content.UriMatcher>;
public static NO_MATCH: number;
public constructor(code: number);
public match(uri: android.net.Uri): number;
public addURI(authority: string, path: string, code: number): void;
}
}
}
declare module android {
export module content {
export class UriPermission extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.UriPermission>;
public static CREATOR: android.os.Parcelable.Creator<android.content.UriPermission>;
public static INVALID_TIME: number;
public getUri(): android.net.Uri;
public toString(): string;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getPersistedTime(): number;
public describeContents(): number;
public isReadPermission(): boolean;
public isWritePermission(): boolean;
}
}
}
declare module android {
export module content {
export module pm {
export class ActivityInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ActivityInfo>;
public static COLOR_MODE_DEFAULT: number;
public static COLOR_MODE_HDR: number;
public static COLOR_MODE_WIDE_COLOR_GAMUT: number;
public static CONFIG_COLOR_MODE: number;
public static CONFIG_DENSITY: number;
public static CONFIG_FONT_SCALE: number;
public static CONFIG_KEYBOARD: number;
public static CONFIG_KEYBOARD_HIDDEN: number;
public static CONFIG_LAYOUT_DIRECTION: number;
public static CONFIG_LOCALE: number;
public static CONFIG_MCC: number;
public static CONFIG_MNC: number;
public static CONFIG_NAVIGATION: number;
public static CONFIG_ORIENTATION: number;
public static CONFIG_SCREEN_LAYOUT: number;
public static CONFIG_SCREEN_SIZE: number;
public static CONFIG_SMALLEST_SCREEN_SIZE: number;
public static CONFIG_TOUCHSCREEN: number;
public static CONFIG_UI_MODE: number;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ActivityInfo>;
public static DOCUMENT_LAUNCH_ALWAYS: number;
public static DOCUMENT_LAUNCH_INTO_EXISTING: number;
public static DOCUMENT_LAUNCH_NEVER: number;
public static DOCUMENT_LAUNCH_NONE: number;
public static FLAG_ALLOW_TASK_REPARENTING: number;
public static FLAG_ALWAYS_RETAIN_TASK_STATE: number;
public static FLAG_AUTO_REMOVE_FROM_RECENTS: number;
public static FLAG_CLEAR_TASK_ON_LAUNCH: number;
public static FLAG_ENABLE_VR_MODE: number;
public static FLAG_EXCLUDE_FROM_RECENTS: number;
public static FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS: number;
public static FLAG_FINISH_ON_TASK_LAUNCH: number;
public static FLAG_HARDWARE_ACCELERATED: number;
public static FLAG_IMMERSIVE: number;
public static FLAG_MULTIPROCESS: number;
public static FLAG_NO_HISTORY: number;
public static FLAG_RELINQUISH_TASK_IDENTITY: number;
public static FLAG_RESUME_WHILE_PAUSING: number;
public static FLAG_SINGLE_USER: number;
public static FLAG_STATE_NOT_NEEDED: number;
public static LAUNCH_MULTIPLE: number;
public static LAUNCH_SINGLE_INSTANCE: number;
public static LAUNCH_SINGLE_TASK: number;
public static LAUNCH_SINGLE_TOP: number;
public static PERSIST_ACROSS_REBOOTS: number;
public static PERSIST_NEVER: number;
public static PERSIST_ROOT_ONLY: number;
public static SCREEN_ORIENTATION_BEHIND: number;
public static SCREEN_ORIENTATION_FULL_SENSOR: number;
public static SCREEN_ORIENTATION_FULL_USER: number;
public static SCREEN_ORIENTATION_LANDSCAPE: number;
public static SCREEN_ORIENTATION_LOCKED: number;
public static SCREEN_ORIENTATION_NOSENSOR: number;
public static SCREEN_ORIENTATION_PORTRAIT: number;
public static SCREEN_ORIENTATION_REVERSE_LANDSCAPE: number;
public static SCREEN_ORIENTATION_REVERSE_PORTRAIT: number;
public static SCREEN_ORIENTATION_SENSOR: number;
public static SCREEN_ORIENTATION_SENSOR_LANDSCAPE: number;
public static SCREEN_ORIENTATION_SENSOR_PORTRAIT: number;
public static SCREEN_ORIENTATION_UNSPECIFIED: number;
public static SCREEN_ORIENTATION_USER: number;
public static SCREEN_ORIENTATION_USER_LANDSCAPE: number;
public static SCREEN_ORIENTATION_USER_PORTRAIT: number;
public static UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW: number;
public colorMode: number;
public configChanges: number;
public documentLaunchMode: number;
public flags: number;
public launchMode: number;
public maxRecents: number;
public parentActivityName: string;
public permission: string;
public persistableMode: number;
public screenOrientation: number;
public softInputMode: number;
public targetActivity: string;
public taskAffinity: string;
public theme: number;
public uiOptions: number;
public windowLayout: android.content.pm.ActivityInfo.WindowLayout;
public constructor(orig: android.content.pm.ComponentInfo);
public constructor(orig: android.content.pm.PackageItemInfo);
public getThemeResource(): number;
public dump(pw: android.util.Printer, prefix: string): void;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
public constructor(orig: android.content.pm.ActivityInfo);
public toString(): string;
public constructor(source: android.os.Parcel);
public constructor();
}
export module ActivityInfo {
export class WindowLayout extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.ActivityInfo.WindowLayout>;
public gravity: number;
public height: number;
public heightFraction: number;
public minHeight: number;
public minWidth: number;
public width: number;
public widthFraction: number;
public constructor(width: number, widthFraction: number, height: number, heightFraction: number, gravity: number, minWidth: number, minHeight: number);
}
}
}
}
}
declare module android {
export module content {
export module pm {
export class ApplicationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ApplicationInfo>;
public static CATEGORY_AUDIO: number;
public static CATEGORY_GAME: number;
public static CATEGORY_IMAGE: number;
public static CATEGORY_MAPS: number;
public static CATEGORY_NEWS: number;
public static CATEGORY_PRODUCTIVITY: number;
public static CATEGORY_SOCIAL: number;
public static CATEGORY_UNDEFINED: number;
public static CATEGORY_VIDEO: number;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ApplicationInfo>;
public static FLAG_ALLOW_BACKUP: number;
public static FLAG_ALLOW_CLEAR_USER_DATA: number;
public static FLAG_ALLOW_TASK_REPARENTING: number;
public static FLAG_DEBUGGABLE: number;
public static FLAG_EXTERNAL_STORAGE: number;
public static FLAG_EXTRACT_NATIVE_LIBS: number;
public static FLAG_FACTORY_TEST: number;
public static FLAG_FULL_BACKUP_ONLY: number;
public static FLAG_HARDWARE_ACCELERATED: number;
public static FLAG_HAS_CODE: number;
public static FLAG_INSTALLED: number;
public static FLAG_IS_DATA_ONLY: number;
public static FLAG_IS_GAME: number;
public static FLAG_KILL_AFTER_RESTORE: number;
public static FLAG_LARGE_HEAP: number;
public static FLAG_MULTIARCH: number;
public static FLAG_PERSISTENT: number;
public static FLAG_RESIZEABLE_FOR_SCREENS: number;
public static FLAG_RESTORE_ANY_VERSION: number;
public static FLAG_STOPPED: number;
public static FLAG_SUPPORTS_LARGE_SCREENS: number;
public static FLAG_SUPPORTS_NORMAL_SCREENS: number;
public static FLAG_SUPPORTS_RTL: number;
public static FLAG_SUPPORTS_SCREEN_DENSITIES: number;
public static FLAG_SUPPORTS_SMALL_SCREENS: number;
public static FLAG_SUPPORTS_XLARGE_SCREENS: number;
public static FLAG_SUSPENDED: number;
public static FLAG_SYSTEM: number;
public static FLAG_TEST_ONLY: number;
public static FLAG_UPDATED_SYSTEM_APP: number;
public static FLAG_USES_CLEARTEXT_TRAFFIC: number;
public static FLAG_VM_SAFE_MODE: number;
public appComponentFactory: string;
public backupAgentName: string;
public category: number;
public className: string;
public compatibleWidthLimitDp: number;
public dataDir: string;
public descriptionRes: number;
public deviceProtectedDataDir: string;
public enabled: boolean;
public flags: number;
public largestWidthLimitDp: number;
public manageSpaceActivityName: string;
public minSdkVersion: number;
public nativeLibraryDir: string;
public permission: string;
public processName: string;
public publicSourceDir: string;
public requiresSmallestWidthDp: number;
public sharedLibraryFiles: native.Array<string>;
public sourceDir: string;
public splitNames: native.Array<string>;
public splitPublicSourceDirs: native.Array<string>;
public splitSourceDirs: native.Array<string>;
public storageUuid: java.util.UUID;
public targetSdkVersion: number;
public taskAffinity: string;
public theme: number;
public uiOptions: number;
public uid: number;
public constructor(orig: android.content.pm.PackageItemInfo);
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public constructor(orig: android.content.pm.ApplicationInfo);
public static getCategoryTitle(context: android.content.Context, category: number): string;
public toString(): string;
public constructor(source: android.os.Parcel);
public loadDescription(pm: android.content.pm.PackageManager): string;
public isVirtualPreload(): boolean;
public constructor();
public dump(pw: android.util.Printer, prefix: string): void;
public isProfileableByShell(): boolean;
public describeContents(): number;
public isResourceOverlay(): boolean;
}
export module ApplicationInfo {
export class DisplayNameComparator extends java.util.Comparator<android.content.pm.ApplicationInfo> {
public static class: java.lang.Class<android.content.pm.ApplicationInfo.DisplayNameComparator>;
public equals(obj: any): boolean;
public static nullsFirst(comparator: java.util.Comparator<any>): java.util.Comparator<any>;
public thenComparing(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparing(other: java.util.Comparator<any>): java.util.Comparator<any>;
public static reverseOrder(): java.util.Comparator<any>;
public static comparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>;
public compare(object0: any, object1: any): number;
public static nullsLast(comparator: java.util.Comparator<any>): java.util.Comparator<any>;
public constructor(pm: android.content.pm.PackageManager);
public static comparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>;
public thenComparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>;
public reversed(): java.util.Comparator<any>;
public thenComparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparing(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static naturalOrder(): java.util.Comparator<any>;
public compare(aa: android.content.pm.ApplicationInfo, ab: android.content.pm.ApplicationInfo): number;
}
}
}
}
}
declare module android {
export module content {
export module pm {
export class ChangedPackages extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ChangedPackages>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ChangedPackages>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public describeContents(): number;
public constructor(sequenceNumber: number, packageNames: java.util.List<string>);
public getSequenceNumber(): number;
public getPackageNames(): java.util.List<string>;
}
}
}
}
declare module android {
export module content {
export module pm {
export class ComponentInfo extends android.content.pm.PackageItemInfo {
public static class: java.lang.Class<android.content.pm.ComponentInfo>;
public applicationInfo: android.content.pm.ApplicationInfo;
public descriptionRes: number;
public directBootAware: boolean;
public enabled: boolean;
public exported: boolean;
public processName: string;
public splitName: string;
public constructor(orig: android.content.pm.PackageItemInfo);
public constructor(orig: android.content.pm.ComponentInfo);
public getLogoResource(): number;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public getBannerResource(): number;
public isEnabled(): boolean;
public getIconResource(): number;
public constructor(source: android.os.Parcel);
public dumpBack(pw: android.util.Printer, prefix: string): void;
public constructor();
public dumpFront(pw: android.util.Printer, prefix: string): void;
}
}
}
}
declare module android {
export module content {
export module pm {
export class ConfigurationInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ConfigurationInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ConfigurationInfo>;
public static GL_ES_VERSION_UNDEFINED: number;
public static INPUT_FEATURE_FIVE_WAY_NAV: number;
public static INPUT_FEATURE_HARD_KEYBOARD: number;
public reqGlEsVersion: number;
public reqInputFeatures: number;
public reqKeyboardType: number;
public reqNavigation: number;
public reqTouchScreen: number;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public getGlEsVersion(): string;
public describeContents(): number;
public toString(): string;
public constructor();
public constructor(orig: android.content.pm.ConfigurationInfo);
}
}
}
}
declare module android {
export module content {
export module pm {
export class CrossProfileApps extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.CrossProfileApps>;
public startMainActivity(component: android.content.ComponentName, targetUser: android.os.UserHandle): void;
public getProfileSwitchingLabel(userHandle: android.os.UserHandle): string;
public getTargetUserProfiles(): java.util.List<android.os.UserHandle>;
public getProfileSwitchingIconDrawable(userHandle: android.os.UserHandle): android.graphics.drawable.Drawable;
}
}
}
}
declare module android {
export module content {
export module pm {
export class FeatureGroupInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.FeatureGroupInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.FeatureGroupInfo>;
public features: native.Array<android.content.pm.FeatureInfo>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public constructor(other: android.content.pm.FeatureGroupInfo);
public describeContents(): number;
public constructor();
}
}
}
}
declare module android {
export module content {
export module pm {
export class FeatureInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.FeatureInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.FeatureInfo>;
public static FLAG_REQUIRED: number;
public static GL_ES_VERSION_UNDEFINED: number;
public flags: number;
public name: string;
public reqGlEsVersion: number;
public version: number;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public getGlEsVersion(): string;
public describeContents(): number;
public toString(): string;
public constructor(orig: android.content.pm.FeatureInfo);
public constructor();
}
}
}
}
declare module android {
export module content {
export module pm {
export class InstrumentationInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.InstrumentationInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.InstrumentationInfo>;
public dataDir: string;
public functionalTest: boolean;
public handleProfiling: boolean;
public publicSourceDir: string;
public sourceDir: string;
public splitNames: native.Array<string>;
public splitPublicSourceDirs: native.Array<string>;
public splitSourceDirs: native.Array<string>;
public targetPackage: string;
public targetProcesses: string;
public constructor(orig: android.content.pm.PackageItemInfo);
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
public constructor(orig: android.content.pm.InstrumentationInfo);
public toString(): string;
public constructor(source: android.os.Parcel);
public constructor();
}
}
}
}
declare module android {
export module content {
export module pm {
export class LabeledIntent extends android.content.Intent {
public static class: java.lang.Class<android.content.pm.LabeledIntent>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.LabeledIntent>;
public constructor(action: string);
public constructor(action: string, uri: android.net.Uri, packageContext: android.content.Context, cls: java.lang.Class<any>);
public constructor(o: android.content.Intent);
public constructor(packageContext: android.content.Context, cls: java.lang.Class<any>);
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public constructor(origIntent: android.content.Intent, sourcePackage: string, labelRes: number, icon: number);
public constructor(sourcePackage: string, nonLocalizedLabel: string, icon: number);
public loadLabel(pm: android.content.pm.PackageManager): string;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public getIconResource(): number;
public loadIcon(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public getSourcePackage(): string;
public constructor();
public getNonLocalizedLabel(): string;
public constructor(action: string, uri: android.net.Uri);
public getLabelResource(): number;
public describeContents(): number;
public constructor(sourcePackage: string, labelRes: number, icon: number);
public readFromParcel(in0: android.os.Parcel): void;
public constructor(origIntent: android.content.Intent, sourcePackage: string, nonLocalizedLabel: string, icon: number);
}
}
}
}
declare module android {
export module content {
export module pm {
export class LauncherActivityInfo extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.LauncherActivityInfo>;
public getBadgedIcon(density: number): android.graphics.drawable.Drawable;
public getLabel(): string;
public getApplicationInfo(): android.content.pm.ApplicationInfo;
public getFirstInstallTime(): number;
public getComponentName(): android.content.ComponentName;
public getName(): string;
public getIcon(density: number): android.graphics.drawable.Drawable;
public getUser(): android.os.UserHandle;
}
}
}
}
declare module android {
export module content {
export module pm {
export class LauncherApps extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.LauncherApps>;
public static ACTION_CONFIRM_PIN_APPWIDGET: string;
public static ACTION_CONFIRM_PIN_SHORTCUT: string;
public static EXTRA_PIN_ITEM_REQUEST: string;
public getActivityList(packageName: string, user: android.os.UserHandle): java.util.List<android.content.pm.LauncherActivityInfo>;
public startShortcut(shortcut: any, sourceBounds: android.graphics.Rect, startActivityOptions: android.os.Bundle): void;
public getShortcutConfigActivityList(packageName: string, user: android.os.UserHandle): java.util.List<android.content.pm.LauncherActivityInfo>;
public registerPackageInstallerSessionCallback(executor: java.util.concurrent.Executor, callback: android.content.pm.PackageInstaller.SessionCallback): void;
public pinShortcuts(packageName: string, shortcutIds: java.util.List<string>, user: android.os.UserHandle): void;
public getSuspendedPackageLauncherExtras(packageName: string, user: android.os.UserHandle): android.os.Bundle;
public getShortcuts(query: android.content.pm.LauncherApps.ShortcutQuery, user: android.os.UserHandle): java.util.List<any>;
public registerCallback(callback: android.content.pm.LauncherApps.Callback): void;
public unregisterPackageInstallerSessionCallback(callback: android.content.pm.PackageInstaller.SessionCallback): void;
public getAllPackageInstallerSessions(): java.util.List<android.content.pm.PackageInstaller.SessionInfo>;
public getPinItemRequest(intent: android.content.Intent): android.content.pm.LauncherApps.PinItemRequest;
public isPackageEnabled(packageName: string, user: android.os.UserHandle): boolean;
public getShortcutIconDrawable(shortcut: any, density: number): android.graphics.drawable.Drawable;
public getProfiles(): java.util.List<android.os.UserHandle>;
public getApplicationInfo(packageName: string, flags: number, user: android.os.UserHandle): android.content.pm.ApplicationInfo;
public hasShortcutHostPermission(): boolean;
public startAppDetailsActivity(component: android.content.ComponentName, user: android.os.UserHandle, sourceBounds: android.graphics.Rect, opts: android.os.Bundle): void;
public startPackageInstallerSessionDetailsActivity(sessionInfo: android.content.pm.PackageInstaller.SessionInfo, sourceBounds: android.graphics.Rect, opts: android.os.Bundle): void;
public isActivityEnabled(component: android.content.ComponentName, user: android.os.UserHandle): boolean;
public getShortcutBadgedIconDrawable(shortcut: any, density: number): android.graphics.drawable.Drawable;
public resolveActivity(intent: android.content.Intent, user: android.os.UserHandle): android.content.pm.LauncherActivityInfo;
public startShortcut(packageName: string, shortcutId: string, sourceBounds: android.graphics.Rect, startActivityOptions: android.os.Bundle, user: android.os.UserHandle): void;
public unregisterCallback(callback: android.content.pm.LauncherApps.Callback): void;
public startMainActivity(component: android.content.ComponentName, user: android.os.UserHandle, sourceBounds: android.graphics.Rect, opts: android.os.Bundle): void;
public shouldHideFromSuggestions(packageName: string, user: android.os.UserHandle): boolean;
public registerCallback(callback: android.content.pm.LauncherApps.Callback, handler: android.os.Handler): void;
public getShortcutConfigActivityIntent(info: android.content.pm.LauncherActivityInfo): android.content.IntentSender;
}
export module LauncherApps {
export abstract class Callback extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.LauncherApps.Callback>;
public onPackagesAvailable(strings0: native.Array<string>, userHandle1: android.os.UserHandle, boolean2: boolean): void;
public onPackagesUnavailable(strings0: native.Array<string>, userHandle1: android.os.UserHandle, boolean2: boolean): void;
public onPackageRemoved(string0: string, userHandle1: android.os.UserHandle): void;
public constructor();
public onPackagesSuspended(packageNames: native.Array<string>, user: android.os.UserHandle, launcherExtras: android.os.Bundle): void;
public onPackageChanged(string0: string, userHandle1: android.os.UserHandle): void;
public onPackagesUnsuspended(packageNames: native.Array<string>, user: android.os.UserHandle): void;
public onShortcutsChanged(packageName: string, shortcuts: java.util.List<any>, user: android.os.UserHandle): void;
public onPackageAdded(string0: string, userHandle1: android.os.UserHandle): void;
public onPackagesSuspended(packageNames: native.Array<string>, user: android.os.UserHandle): void;
}
export class PinItemRequest extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.LauncherApps.PinItemRequest>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.LauncherApps.PinItemRequest>;
public static REQUEST_TYPE_APPWIDGET: number;
public static REQUEST_TYPE_SHORTCUT: number;
public getRequestType(): number;
public getShortcutInfo(): any;
public accept(options: android.os.Bundle): boolean;
public accept(): boolean;
public getAppWidgetProviderInfo(context: android.content.Context): android.appwidget.AppWidgetProviderInfo;
public isValid(): boolean;
public describeContents(): number;
public getExtras(): android.os.Bundle;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
}
export class ShortcutQuery extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.LauncherApps.ShortcutQuery>;
public static FLAG_GET_KEY_FIELDS_ONLY: number;
public static FLAG_MATCH_DYNAMIC: number;
public static FLAG_MATCH_MANIFEST: number;
public static FLAG_MATCH_PINNED: number;
public static FLAG_MATCH_PINNED_BY_ANY_LAUNCHER: number;
public setShortcutIds(shortcutIds: java.util.List<string>): android.content.pm.LauncherApps.ShortcutQuery;
public constructor();
public setActivity(activity: android.content.ComponentName): android.content.pm.LauncherApps.ShortcutQuery;
public setQueryFlags(queryFlags: number): android.content.pm.LauncherApps.ShortcutQuery;
public setPackage(packageName: string): android.content.pm.LauncherApps.ShortcutQuery;
public setChangedSince(changedSince: number): android.content.pm.LauncherApps.ShortcutQuery;
}
}
}
}
}
declare module android {
export module content {
export module pm {
export class ModuleInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ModuleInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ModuleInfo>;
public equals(obj: any): boolean;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public hashCode(): number;
public getPackageName(): string;
public describeContents(): number;
public getName(): string;
public isHidden(): boolean;
public toString(): string;
}
}
}
}
declare module android {
export module content {
export module pm {
export class PackageInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.PackageInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.PackageInfo>;
public static INSTALL_LOCATION_AUTO: number;
public static INSTALL_LOCATION_INTERNAL_ONLY: number;
public static INSTALL_LOCATION_PREFER_EXTERNAL: number;
public static REQUESTED_PERMISSION_GRANTED: number;
public activities: native.Array<android.content.pm.ActivityInfo>;
public applicationInfo: android.content.pm.ApplicationInfo;
public baseRevisionCode: number;
public configPreferences: native.Array<android.content.pm.ConfigurationInfo>;
public featureGroups: native.Array<android.content.pm.FeatureGroupInfo>;
public firstInstallTime: number;
public gids: native.Array<number>;
public installLocation: number;
public instrumentation: native.Array<android.content.pm.InstrumentationInfo>;
public isApex: boolean;
public lastUpdateTime: number;
public packageName: string;
public permissions: native.Array<android.content.pm.PermissionInfo>;
public providers: native.Array<android.content.pm.ProviderInfo>;
public receivers: native.Array<android.content.pm.ActivityInfo>;
public reqFeatures: native.Array<android.content.pm.FeatureInfo>;
public requestedPermissions: native.Array<string>;
public requestedPermissionsFlags: native.Array<number>;
public services: native.Array<android.content.pm.ServiceInfo>;
public sharedUserId: string;
public sharedUserLabel: number;
public signatures: native.Array<android.content.pm.Signature>;
public signingInfo: android.content.pm.SigningInfo;
public splitNames: native.Array<string>;
public splitRevisionCodes: native.Array<number>;
public versionCode: number;
public versionName: string;
public setLongVersionCode(longVersionCode: number): void;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
public toString(): string;
public getLongVersionCode(): number;
public constructor();
}
}
}
}
declare module android {
export module content {
export module pm {
export class PackageInstaller extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.PackageInstaller>;
public static ACTION_SESSION_COMMITTED: string;
public static ACTION_SESSION_DETAILS: string;
public static ACTION_SESSION_UPDATED: string;
public static EXTRA_OTHER_PACKAGE_NAME: string;
public static EXTRA_PACKAGE_NAME: string;
public static EXTRA_SESSION: string;
public static EXTRA_SESSION_ID: string;
public static EXTRA_STATUS: string;
public static EXTRA_STATUS_MESSAGE: string;
public static EXTRA_STORAGE_PATH: string;
public static STATUS_FAILURE: number;
public static STATUS_FAILURE_ABORTED: number;
public static STATUS_FAILURE_BLOCKED: number;
public static STATUS_FAILURE_CONFLICT: number;
public static STATUS_FAILURE_INCOMPATIBLE: number;
public static STATUS_FAILURE_INVALID: number;
public static STATUS_FAILURE_STORAGE: number;
public static STATUS_PENDING_USER_ACTION: number;
public static STATUS_SUCCESS: number;
public updateSessionAppLabel(sessionId: number, appLabel: string): void;
public registerSessionCallback(callback: android.content.pm.PackageInstaller.SessionCallback, handler: android.os.Handler): void;
public getMySessions(): java.util.List<android.content.pm.PackageInstaller.SessionInfo>;
public getAllSessions(): java.util.List<android.content.pm.PackageInstaller.SessionInfo>;
public registerSessionCallback(callback: android.content.pm.PackageInstaller.SessionCallback): void;
public unregisterSessionCallback(callback: android.content.pm.PackageInstaller.SessionCallback): void;
public createSession(params: android.content.pm.PackageInstaller.SessionParams): number;
public openSession(sessionId: number): android.content.pm.PackageInstaller.Session;
public updateSessionAppIcon(sessionId: number, appIcon: android.graphics.Bitmap): void;
public getStagedSessions(): java.util.List<android.content.pm.PackageInstaller.SessionInfo>;
public installExistingPackage(packageName: string, installReason: number, statusReceiver: android.content.IntentSender): void;
public uninstall(packageName: string, statusReceiver: android.content.IntentSender): void;
public abandonSession(sessionId: number): void;
public getSessionInfo(sessionId: number): android.content.pm.PackageInstaller.SessionInfo;
public uninstall(versionedPackage: android.content.pm.VersionedPackage, statusReceiver: android.content.IntentSender): void;
public getActiveStagedSession(): android.content.pm.PackageInstaller.SessionInfo;
}
export module PackageInstaller {
export class Session extends java.lang.Object implements java.io.Closeable {
public static class: java.lang.Class<android.content.pm.PackageInstaller.Session>;
public isMultiPackage(): boolean;
public removeChildSessionId(sessionId: number): void;
public removeSplit(splitName: string): void;
public openWrite(name: string, offsetBytes: number, lengthBytes: number): java.io.OutputStream;
public setStagingProgress(progress: number): void;
public commit(statusReceiver: android.content.IntentSender): void;
public abandon(): void;
public addChildSessionId(sessionId: number): void;
public getParentSessionId(): number;
public fsync(out: java.io.OutputStream): void;
public isStaged(): boolean;
public openRead(name: string): java.io.InputStream;
public transfer(packageName: string): void;
public close(): void;
public getNames(): native.Array<string>;
public getChildSessionIds(): native.Array<number>;
}
export abstract class SessionCallback extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.PackageInstaller.SessionCallback>;
public onProgressChanged(int0: number, float1: number): void;
public onFinished(int0: number, boolean1: boolean): void;
public constructor();
public onCreated(int0: number): void;
public onBadgingChanged(int0: number): void;
public onActiveChanged(int0: number, boolean1: boolean): void;
}
export class SessionInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.PackageInstaller.SessionInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.PackageInstaller.SessionInfo>;
public static INVALID_ID: number;
public static STAGED_SESSION_ACTIVATION_FAILED: number;
public static STAGED_SESSION_NO_ERROR: number;
public static STAGED_SESSION_UNKNOWN: number;
public static STAGED_SESSION_VERIFICATION_FAILED: number;
public getUser(): android.os.UserHandle;
public isStagedSessionReady(): boolean;
public getSize(): number;
public getOriginatingUid(): number;
public getInstallerPackageName(): string;
public isStagedSessionFailed(): boolean;
public isStaged(): boolean;
public getAppLabel(): string;
public getSessionId(): number;
public getReferrerUri(): android.net.Uri;
public getChildSessionIds(): native.Array<number>;
public isStagedSessionApplied(): boolean;
public isMultiPackage(): boolean;
public getAppPackageName(): string;
public getAppIcon(): android.graphics.Bitmap;
public getInstallLocation(): number;
public describeContents(): number;
public getStagedSessionErrorMessage(): string;
public createDetailsIntent(): android.content.Intent;
public isSealed(): boolean;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getInstallReason(): number;
public getProgress(): number;
public isActive(): boolean;
public getParentSessionId(): number;
public getStagedSessionErrorCode(): number;
public isCommitted(): boolean;
public getUpdatedMillis(): number;
public getOriginatingUri(): android.net.Uri;
public getMode(): number;
}
export class SessionParams extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.PackageInstaller.SessionParams>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.PackageInstaller.SessionParams>;
public static MODE_FULL_INSTALL: number;
public static MODE_INHERIT_EXISTING: number;
public static RESTRICTED_PERMISSIONS_ALL: java.util.Set<string>;
public setAppLabel(appLabel: string): void;
public constructor(mode: number);
public setMultiPackage(): void;
public describeContents(): number;
public setOriginatingUid(originatingUid: number): void;
public setOriginatingUri(originatingUri: android.net.Uri): void;
public setWhitelistedRestrictedPermissions(permissions: java.util.Set<string>): void;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public setAppIcon(appIcon: android.graphics.Bitmap): void;
public setSize(sizeBytes: number): void;
public setReferrerUri(referrerUri: android.net.Uri): void;
public setInstallReason(installReason: number): void;
public setInstallLocation(installLocation: number): void;
public setAppPackageName(appPackageName: string): void;
}
}
}
}
}
declare module android {
export module content {
export module pm {
export class PackageItemInfo extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.PackageItemInfo>;
public banner: number;
public icon: number;
public labelRes: number;
public logo: number;
public metaData: android.os.Bundle;
public name: string;
public nonLocalizedLabel: string;
public packageName: string;
public constructor(orig: android.content.pm.PackageItemInfo);
public loadUnbadgedIcon(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public loadXmlMetaData(pm: android.content.pm.PackageManager, name: string): android.content.res.XmlResourceParser;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public loadLogo(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public loadBanner(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public loadLabel(pm: android.content.pm.PackageManager): string;
public loadIcon(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public constructor(source: android.os.Parcel);
public dumpBack(pw: android.util.Printer, prefix: string): void;
public constructor();
public dumpFront(pw: android.util.Printer, prefix: string): void;
}
export module PackageItemInfo {
export class DisplayNameComparator extends java.util.Comparator<android.content.pm.PackageItemInfo> {
public static class: java.lang.Class<android.content.pm.PackageItemInfo.DisplayNameComparator>;
public equals(obj: any): boolean;
public static nullsFirst(comparator: java.util.Comparator<any>): java.util.Comparator<any>;
public thenComparing(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparing(other: java.util.Comparator<any>): java.util.Comparator<any>;
public static reverseOrder(): java.util.Comparator<any>;
public static comparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>;
public compare(object0: any, object1: any): number;
public static nullsLast(comparator: java.util.Comparator<any>): java.util.Comparator<any>;
public constructor(pm: android.content.pm.PackageManager);
public static comparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>;
public thenComparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>;
public reversed(): java.util.Comparator<any>;
public thenComparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparing(keyExtractor: any /* any*/): java.util.Comparator<any>;
public compare(aa: android.content.pm.PackageItemInfo, ab: android.content.pm.PackageItemInfo): number;
public static comparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static naturalOrder(): java.util.Comparator<any>;
}
}
}
}
}
declare module android {
export module content {
export module pm {
export abstract class PackageManager extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.PackageManager>;
public static CERT_INPUT_RAW_X509: number;
public static CERT_INPUT_SHA256: number;
public static COMPONENT_ENABLED_STATE_DEFAULT: number;
public static COMPONENT_ENABLED_STATE_DISABLED: number;
public static COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED: number;
public static COMPONENT_ENABLED_STATE_DISABLED_USER: number;
public static COMPONENT_ENABLED_STATE_ENABLED: number;
public static DONT_KILL_APP: number;
public static EXTRA_VERIFICATION_ID: string;
public static EXTRA_VERIFICATION_RESULT: string;
public static FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS: string;
public static FEATURE_APP_WIDGETS: string;
public static FEATURE_AUDIO_LOW_LATENCY: string;
public static FEATURE_AUDIO_OUTPUT: string;
public static FEATURE_AUDIO_PRO: string;
public static FEATURE_AUTOFILL: string;
public static FEATURE_AUTOMOTIVE: string;
public static FEATURE_BACKUP: string;
public static FEATURE_BLUETOOTH: string;
public static FEATURE_BLUETOOTH_LE: string;
public static FEATURE_CAMERA: string;
public static FEATURE_CAMERA_ANY: string;
public static FEATURE_CAMERA_AR: string;
public static FEATURE_CAMERA_AUTOFOCUS: string;
public static FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING: string;
public static FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR: string;
public static FEATURE_CAMERA_CAPABILITY_RAW: string;
public static FEATURE_CAMERA_EXTERNAL: string;
public static FEATURE_CAMERA_FLASH: string;
public static FEATURE_CAMERA_FRONT: string;
public static FEATURE_CAMERA_LEVEL_FULL: string;
public static FEATURE_CANT_SAVE_STATE: string;
public static FEATURE_COMPANION_DEVICE_SETUP: string;
public static FEATURE_CONNECTION_SERVICE: string;
public static FEATURE_CONSUMER_IR: string;
public static FEATURE_DEVICE_ADMIN: string;
public static FEATURE_EMBEDDED: string;
public static FEATURE_ETHERNET: string;
public static FEATURE_FACE: string;
public static FEATURE_FAKETOUCH: string;
public static FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT: string;
public static FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND: string;
public static FEATURE_FINGERPRINT: string;
public static FEATURE_FREEFORM_WINDOW_MANAGEMENT: string;
public static FEATURE_GAMEPAD: string;
public static FEATURE_HIFI_SENSORS: string;
public static FEATURE_HOME_SCREEN: string;
public static FEATURE_INPUT_METHODS: string;
public static FEATURE_IPSEC_TUNNELS: string;
public static FEATURE_IRIS: string;
public static FEATURE_LEANBACK: string;
public static FEATURE_LEANBACK_ONLY: string;
public static FEATURE_LIVE_TV: string;
public static FEATURE_LIVE_WALLPAPER: string;
public static FEATURE_LOCATION: string;
public static FEATURE_LOCATION_GPS: string;
public static FEATURE_LOCATION_NETWORK: string;
public static FEATURE_MANAGED_USERS: string;
public static FEATURE_MICROPHONE: string;
public static FEATURE_MIDI: string;
public static FEATURE_NFC: string;
public static FEATURE_NFC_BEAM: string;
public static FEATURE_NFC_HOST_CARD_EMULATION: string;
public static FEATURE_NFC_HOST_CARD_EMULATION_NFCF: string;
public static FEATURE_NFC_OFF_HOST_CARD_EMULATION_ESE: string;
public static FEATURE_NFC_OFF_HOST_CARD_EMULATION_UICC: string;
public static FEATURE_OPENGLES_EXTENSION_PACK: string;
public static FEATURE_PC: string;
public static FEATURE_PICTURE_IN_PICTURE: string;
public static FEATURE_PRINTING: string;
public static FEATURE_RAM_LOW: string;
public static FEATURE_RAM_NORMAL: string;
public static FEATURE_SCREEN_LANDSCAPE: string;
public static FEATURE_SCREEN_PORTRAIT: string;
public static FEATURE_SECURELY_REMOVES_USERS: string;
public static FEATURE_SECURE_LOCK_SCREEN: string;
public static FEATURE_SENSOR_ACCELEROMETER: string;
public static FEATURE_SENSOR_AMBIENT_TEMPERATURE: string;
public static FEATURE_SENSOR_BAROMETER: string;
public static FEATURE_SENSOR_COMPASS: string;
public static FEATURE_SENSOR_GYROSCOPE: string;
public static FEATURE_SENSOR_HEART_RATE: string;
public static FEATURE_SENSOR_HEART_RATE_ECG: string;
public static FEATURE_SENSOR_LIGHT: string;
public static FEATURE_SENSOR_PROXIMITY: string;
public static FEATURE_SENSOR_RELATIVE_HUMIDITY: string;
public static FEATURE_SENSOR_STEP_COUNTER: string;
public static FEATURE_SENSOR_STEP_DETECTOR: string;
public static FEATURE_SIP: string;
public static FEATURE_SIP_VOIP: string;
public static FEATURE_STRONGBOX_KEYSTORE: string;
public static FEATURE_TELEPHONY: string;
public static FEATURE_TELEPHONY_CDMA: string;
public static FEATURE_TELEPHONY_EUICC: string;
public static FEATURE_TELEPHONY_GSM: string;
public static FEATURE_TELEPHONY_IMS: string;
public static FEATURE_TELEPHONY_MBMS: string;
public static FEATURE_TELEVISION: string;
public static FEATURE_TOUCHSCREEN: string;
public static FEATURE_TOUCHSCREEN_MULTITOUCH: string;
public static FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT: string;
public static FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND: string;
public static FEATURE_USB_ACCESSORY: string;
public static FEATURE_USB_HOST: string;
public static FEATURE_VERIFIED_BOOT: string;
public static FEATURE_VR_HEADTRACKING: string;
public static FEATURE_VR_MODE: string;
public static FEATURE_VR_MODE_HIGH_PERFORMANCE: string;
public static FEATURE_VULKAN_HARDWARE_COMPUTE: string;
public static FEATURE_VULKAN_HARDWARE_LEVEL: string;
public static FEATURE_VULKAN_HARDWARE_VERSION: string;
public static FEATURE_WATCH: string;
public static FEATURE_WEBVIEW: string;
public static FEATURE_WIFI: string;
public static FEATURE_WIFI_AWARE: string;
public static FEATURE_WIFI_DIRECT: string;
public static FEATURE_WIFI_PASSPOINT: string;
public static FEATURE_WIFI_RTT: string;
public static FLAG_PERMISSION_WHITELIST_INSTALLER: number;
public static FLAG_PERMISSION_WHITELIST_SYSTEM: number;
public static FLAG_PERMISSION_WHITELIST_UPGRADE: number;
public static GET_ACTIVITIES: number;
public static GET_CONFIGURATIONS: number;
public static GET_DISABLED_COMPONENTS: number;
public static GET_DISABLED_UNTIL_USED_COMPONENTS: number;
public static GET_GIDS: number;
public static GET_INSTRUMENTATION: number;
public static GET_INTENT_FILTERS: number;
public static GET_META_DATA: number;
public static GET_PERMISSIONS: number;
public static GET_PROVIDERS: number;
public static GET_RECEIVERS: number;
public static GET_RESOLVED_FILTER: number;
public static GET_SERVICES: number;
public static GET_SHARED_LIBRARY_FILES: number;
public static GET_SIGNATURES: number;
public static GET_SIGNING_CERTIFICATES: number;
public static GET_UNINSTALLED_PACKAGES: number;
public static GET_URI_PERMISSION_PATTERNS: number;
public static INSTALL_REASON_DEVICE_RESTORE: number;
public static INSTALL_REASON_DEVICE_SETUP: number;
public static INSTALL_REASON_POLICY: number;
public static INSTALL_REASON_UNKNOWN: number;
public static INSTALL_REASON_USER: number;
public static MATCH_ALL: number;
public static MATCH_APEX: number;
public static MATCH_DEFAULT_ONLY: number;
public static MATCH_DIRECT_BOOT_AUTO: number;
public static MATCH_DIRECT_BOOT_AWARE: number;
public static MATCH_DIRECT_BOOT_UNAWARE: number;
public static MATCH_DISABLED_COMPONENTS: number;
public static MATCH_DISABLED_UNTIL_USED_COMPONENTS: number;
public static MATCH_SYSTEM_ONLY: number;
public static MATCH_UNINSTALLED_PACKAGES: number;
public static MAXIMUM_VERIFICATION_TIMEOUT: number;
public static PERMISSION_DENIED: number;
public static PERMISSION_GRANTED: number;
public static SIGNATURE_FIRST_NOT_SIGNED: number;
public static SIGNATURE_MATCH: number;
public static SIGNATURE_NEITHER_SIGNED: number;
public static SIGNATURE_NO_MATCH: number;
public static SIGNATURE_SECOND_NOT_SIGNED: number;
public static SIGNATURE_UNKNOWN_PACKAGE: number;
public static VERIFICATION_ALLOW: number;
public static VERIFICATION_REJECT: number;
public static VERSION_CODE_HIGHEST: number;
/** @deprecated */
public addPackageToPreferred(string0: string): void;
public isPermissionRevokedByPolicy(string0: string, string1: string): boolean;
public getInstantAppCookie(): native.Array<number>;
public getActivityIcon(componentName0: android.content.ComponentName): android.graphics.drawable.Drawable;
public setApplicationCategoryHint(string0: string, int1: number): void;
public removePermission(string0: string): void;
public getDrawable(string0: string, int1: number, applicationInfo2: android.content.pm.ApplicationInfo): android.graphics.drawable.Drawable;
public getDefaultActivityIcon(): android.graphics.drawable.Drawable;
public setComponentEnabledSetting(componentName0: android.content.ComponentName, int1: number, int2: number): void;
public getInstalledPackages(int0: number): java.util.List<android.content.pm.PackageInfo>;
/** @deprecated */
public getPreferredActivities(list0: java.util.List<android.content.IntentFilter>, list1: java.util.List<android.content.ComponentName>, string2: string): number;
public queryInstrumentation(string0: string, int1: number): java.util.List<android.content.pm.InstrumentationInfo>;
public queryPermissionsByGroup(string0: string, int1: number): java.util.List<android.content.pm.PermissionInfo>;
public getLeanbackLaunchIntentForPackage(string0: string): android.content.Intent;
public getSyntheticAppDetailsActivityEnabled(packageName: string): boolean;
public getInstalledApplications(int0: number): java.util.List<android.content.pm.ApplicationInfo>;
public hasSystemFeature(string0: string): boolean;
public getApplicationLogo(applicationInfo0: android.content.pm.ApplicationInfo): android.graphics.drawable.Drawable;
public getResourcesForApplication(applicationInfo0: android.content.pm.ApplicationInfo): android.content.res.Resources;
public getPermissionGroupInfo(string0: string, int1: number): android.content.pm.PermissionGroupInfo;
public verifyPendingInstall(int0: number, int1: number): void;
public getInstantAppCookieMaxBytes(): number;
public getActivityLogo(componentName0: android.content.ComponentName): android.graphics.drawable.Drawable;
public getPackageGids(string0: string): native.Array<number>;
public getPackagesHoldingPermissions(strings0: native.Array<string>, int1: number): java.util.List<android.content.pm.PackageInfo>;
public getModuleInfo(packageName: string, flags: number): android.content.pm.ModuleInfo;
public setInstallerPackageName(string0: string, string1: string): void;
public isDeviceUpgrading(): boolean;
public getResourcesForApplication(string0: string): android.content.res.Resources;
public getWhitelistedRestrictedPermissions(packageName: string, whitelistFlag: number): java.util.Set<string>;
public queryIntentActivityOptions(componentName0: android.content.ComponentName, intents1: native.Array<android.content.Intent>, intent2: android.content.Intent, int3: number): java.util.List<android.content.pm.ResolveInfo>;
public getApplicationBanner(applicationInfo0: android.content.pm.ApplicationInfo): android.graphics.drawable.Drawable;
public getActivityIcon(intent0: android.content.Intent): android.graphics.drawable.Drawable;
public getPackageUid(string0: string, int1: number): number;
public getSystemSharedLibraryNames(): native.Array<string>;
public getInstallerPackageName(string0: string): string;
public getPackageInfo(string0: string, int1: number): android.content.pm.PackageInfo;
public addPermissionAsync(permissionInfo0: android.content.pm.PermissionInfo): boolean;
public updateInstantAppCookie(bytes0: native.Array<number>): void;
public resolveActivity(intent0: android.content.Intent, int1: number): android.content.pm.ResolveInfo;
public getPackagesForUid(int0: number): native.Array<string>;
public resolveService(intent0: android.content.Intent, int1: number): android.content.pm.ResolveInfo;
public queryIntentServices(intent0: android.content.Intent, int1: number): java.util.List<android.content.pm.ResolveInfo>;
public getApplicationInfo(string0: string, int1: number): android.content.pm.ApplicationInfo;
public currentToCanonicalPackageNames(strings0: native.Array<string>): native.Array<string>;
public getPackageInfo(versionedPackage0: android.content.pm.VersionedPackage, int1: number): android.content.pm.PackageInfo;
public queryIntentContentProviders(intent0: android.content.Intent, int1: number): java.util.List<android.content.pm.ResolveInfo>;
public getApplicationIcon(applicationInfo0: android.content.pm.ApplicationInfo): android.graphics.drawable.Drawable;
public getActivityInfo(componentName0: android.content.ComponentName, int1: number): android.content.pm.ActivityInfo;
public getNameForUid(int0: number): string;
public checkSignatures(string0: string, string1: string): number;
public getPackageGids(string0: string, int1: number): native.Array<number>;
public clearInstantAppCookie(): void;
public getChangedPackages(int0: number): android.content.pm.ChangedPackages;
public getApplicationLogo(string0: string): android.graphics.drawable.Drawable;
public extendVerificationTimeout(int0: number, int1: number, long2: number): void;
public queryContentProviders(string0: string, int1: number, int2: number): java.util.List<android.content.pm.ProviderInfo>;
/** @deprecated */
public clearPackagePreferredActivities(string0: string): void;
public getResourcesForActivity(componentName0: android.content.ComponentName): android.content.res.Resources;
public checkPermission(string0: string, string1: string): number;
public getActivityBanner(intent0: android.content.Intent): android.graphics.drawable.Drawable;
public constructor();
public getPackageInstaller(): android.content.pm.PackageInstaller;
public getPermissionInfo(string0: string, int1: number): android.content.pm.PermissionInfo;
/** @deprecated */
public getPreferredPackages(int0: number): java.util.List<android.content.pm.PackageInfo>;
public canRequestPackageInstalls(): boolean;
public getSystemAvailableFeatures(): native.Array<android.content.pm.FeatureInfo>;
public queryBroadcastReceivers(intent0: android.content.Intent, int1: number): java.util.List<android.content.pm.ResolveInfo>;
public getActivityBanner(componentName0: android.content.ComponentName): android.graphics.drawable.Drawable;
public getApplicationLabel(applicationInfo0: android.content.pm.ApplicationInfo): string;
/** @deprecated */
public addPreferredActivity(intentFilter0: android.content.IntentFilter, int1: number, componentNames2: native.Array<android.content.ComponentName>, componentName3: android.content.ComponentName): void;
public getProviderInfo(componentName0: android.content.ComponentName, int1: number): android.content.pm.ProviderInfo;
public isPackageSuspended(): boolean;
public queryIntentActivities(intent0: android.content.Intent, int1: number): java.util.List<android.content.pm.ResolveInfo>;
public getServiceInfo(componentName0: android.content.ComponentName, int1: number): android.content.pm.ServiceInfo;
public getApplicationBanner(string0: string): android.graphics.drawable.Drawable;
public removeWhitelistedRestrictedPermission(packageName: string, permission: string, whitelistFlags: number): boolean;
public getSharedLibraries(int0: number): java.util.List<android.content.pm.SharedLibraryInfo>;
public getReceiverInfo(componentName0: android.content.ComponentName, int1: number): android.content.pm.ActivityInfo;
public getUserBadgedDrawableForDensity(drawable0: android.graphics.drawable.Drawable, userHandle1: android.os.UserHandle, rect2: android.graphics.Rect, int3: number): android.graphics.drawable.Drawable;
public getText(string0: string, int1: number, applicationInfo2: android.content.pm.ApplicationInfo): string;
public canonicalToCurrentPackageNames(strings0: native.Array<string>): native.Array<string>;
public getApplicationEnabledSetting(string0: string): number;
public getComponentEnabledSetting(componentName0: android.content.ComponentName): number;
public resolveContentProvider(string0: string, int1: number): android.content.pm.ProviderInfo;
public getAllPermissionGroups(int0: number): java.util.List<android.content.pm.PermissionGroupInfo>;
public getLaunchIntentForPackage(string0: string): android.content.Intent;
public setApplicationEnabledSetting(string0: string, int1: number, int2: number): void;
public getInstrumentationInfo(componentName0: android.content.ComponentName, int1: number): android.content.pm.InstrumentationInfo;
public getUserBadgedIcon(drawable0: android.graphics.drawable.Drawable, userHandle1: android.os.UserHandle): android.graphics.drawable.Drawable;
public hasSigningCertificate(uid: number, certificate: native.Array<number>, type: number): boolean;
public getPackageArchiveInfo(archiveFilePath: string, flags: number): android.content.pm.PackageInfo;
public checkSignatures(int0: number, int1: number): number;
public getApplicationIcon(string0: string): android.graphics.drawable.Drawable;
public hasSigningCertificate(packageName: string, certificate: native.Array<number>, type: number): boolean;
public addWhitelistedRestrictedPermission(packageName: string, permission: string, whitelistFlags: number): boolean;
public isPackageSuspended(packageName: string): boolean;
public hasSystemFeature(string0: string, int1: number): boolean;
public getXml(string0: string, int1: number, applicationInfo2: android.content.pm.ApplicationInfo): android.content.res.XmlResourceParser;
public addPermission(permissionInfo0: android.content.pm.PermissionInfo): boolean;
public getSuspendedPackageAppExtras(): android.os.Bundle;
public getActivityLogo(intent0: android.content.Intent): android.graphics.drawable.Drawable;
public getUserBadgedLabel(charSequence0: string, userHandle1: android.os.UserHandle): string;
public isInstantApp(): boolean;
public isSafeMode(): boolean;
/** @deprecated */
public removePackageFromPreferred(string0: string): void;
public isInstantApp(string0: string): boolean;
public getInstalledModules(flags: number): java.util.List<android.content.pm.ModuleInfo>;
}
export module PackageManager {
export class NameNotFoundException extends android.util.AndroidException {
public static class: java.lang.Class<android.content.pm.PackageManager.NameNotFoundException>;
public constructor(cause: java.lang.Exception);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor(name: string);
public constructor(name: string, cause: java.lang.Throwable);
public constructor();
public constructor(cause: java.lang.Throwable);
}
}
}
}
}
declare module android {
export module content {
export module pm {
export class PackageStats extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.PackageStats>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.PackageStats>;
public cacheSize: number;
public codeSize: number;
public dataSize: number;
public externalCacheSize: number;
public externalCodeSize: number;
public externalDataSize: number;
public externalMediaSize: number;
public externalObbSize: number;
public packageName: string;
/** @deprecated */
public hashCode(): number;
/** @deprecated */
public constructor(pStats: android.content.pm.PackageStats);
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
/** @deprecated */
public constructor(pkgName: string);
/** @deprecated */
public describeContents(): number;
/** @deprecated */
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public toString(): string;
/** @deprecated */
public constructor(source: android.os.Parcel);
public equals(obj: any): boolean;
public hashCode(): number;
/** @deprecated */
public equals(obj: any): boolean;
public describeContents(): number;
/** @deprecated */
public toString(): string;
}
}
}
}
declare module android {
export module content {
export module pm {
export class PathPermission extends android.os.PatternMatcher {
public static class: java.lang.Class<android.content.pm.PathPermission>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.PathPermission>;
public constructor(pattern: string, type: number, readPermission: string, writePermission: string);
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getWritePermission(): string;
public describeContents(): number;
public constructor(pattern: string, type: number);
public getReadPermission(): string;
public constructor(src: android.os.Parcel);
}
}
}
}
declare module android {
export module content {
export module pm {
export class PermissionGroupInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.PermissionGroupInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.PermissionGroupInfo>;
public static FLAG_PERSONAL_INFO: number;
public descriptionRes: number;
public flags: number;
public nonLocalizedDescription: string;
public priority: number;
public constructor(orig: android.content.pm.PackageItemInfo);
/** @deprecated */
public constructor();
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
public toString(): string;
public constructor(source: android.os.Parcel);
/** @deprecated */
public constructor(orig: android.content.pm.PermissionGroupInfo);
public loadDescription(pm: android.content.pm.PackageManager): string;
public constructor();
}
}
}
}
declare module android {
export module content {
export module pm {
export class PermissionInfo extends android.content.pm.PackageItemInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.PermissionInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.PermissionInfo>;
public static FLAG_COSTS_MONEY: number;
public static FLAG_HARD_RESTRICTED: number;
public static FLAG_IMMUTABLY_RESTRICTED: number;
public static FLAG_INSTALLED: number;
public static FLAG_SOFT_RESTRICTED: number;
public static PROTECTION_DANGEROUS: number;
public static PROTECTION_FLAG_APPOP: number;
public static PROTECTION_FLAG_DEVELOPMENT: number;
public static PROTECTION_FLAG_INSTALLER: number;
public static PROTECTION_FLAG_INSTANT: number;
public static PROTECTION_FLAG_PRE23: number;
public static PROTECTION_FLAG_PREINSTALLED: number;
public static PROTECTION_FLAG_PRIVILEGED: number;
public static PROTECTION_FLAG_RUNTIME_ONLY: number;
public static PROTECTION_FLAG_SETUP: number;
public static PROTECTION_FLAG_SYSTEM: number;
public static PROTECTION_FLAG_VERIFIER: number;
public static PROTECTION_MASK_BASE: number;
public static PROTECTION_MASK_FLAGS: number;
public static PROTECTION_NORMAL: number;
public static PROTECTION_SIGNATURE: number;
public static PROTECTION_SIGNATURE_OR_SYSTEM: number;
public descriptionRes: number;
public flags: number;
public group: string;
public nonLocalizedDescription: string;
public protectionLevel: number;
public constructor(orig: android.content.pm.PackageItemInfo);
/** @deprecated */
public constructor();
public getProtection(): number;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
/** @deprecated */
public constructor(orig: android.content.pm.PermissionInfo);
public toString(): string;
public constructor(source: android.os.Parcel);
public loadDescription(pm: android.content.pm.PackageManager): string;
public getProtectionFlags(): number;
public constructor();
}
}
}
}
declare module android {
export module content {
export module pm {
export class ProviderInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ProviderInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ProviderInfo>;
public static FLAG_SINGLE_USER: number;
public authority: string;
public flags: number;
public forceUriPermissions: boolean;
public grantUriPermissions: boolean;
public initOrder: number;
public isSyncable: boolean;
public multiprocess: boolean;
public pathPermissions: native.Array<android.content.pm.PathPermission>;
public readPermission: string;
public uriPermissionPatterns: native.Array<android.os.PatternMatcher>;
public writePermission: string;
public constructor(orig: android.content.pm.ComponentInfo);
public constructor(orig: android.content.pm.PackageItemInfo);
public dump(pw: android.util.Printer, prefix: string): void;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public writeToParcel(out: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
public constructor(orig: android.content.pm.ProviderInfo);
public toString(): string;
public constructor(source: android.os.Parcel);
public constructor();
}
}
}
}
declare module android {
export module content {
export module pm {
export class ResolveInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ResolveInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ResolveInfo>;
public activityInfo: android.content.pm.ActivityInfo;
public filter: android.content.IntentFilter;
public icon: number;
public isDefault: boolean;
public isInstantAppAvailable: boolean;
public labelRes: number;
public match: number;
public nonLocalizedLabel: string;
public preferredOrder: number;
public priority: number;
public providerInfo: android.content.pm.ProviderInfo;
public resolvePackageName: string;
public serviceInfo: android.content.pm.ServiceInfo;
public specificIndex: number;
public dump(pw: android.util.Printer, prefix: string): void;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public constructor(orig: android.content.pm.ResolveInfo);
public describeContents(): number;
public loadLabel(pm: android.content.pm.PackageManager): string;
public getIconResource(): number;
public loadIcon(pm: android.content.pm.PackageManager): android.graphics.drawable.Drawable;
public toString(): string;
public constructor();
}
export module ResolveInfo {
export class DisplayNameComparator extends java.util.Comparator<android.content.pm.ResolveInfo> {
public static class: java.lang.Class<android.content.pm.ResolveInfo.DisplayNameComparator>;
public equals(obj: any): boolean;
public static nullsFirst(comparator: java.util.Comparator<any>): java.util.Comparator<any>;
public thenComparing(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>;
public thenComparing(other: java.util.Comparator<any>): java.util.Comparator<any>;
public static reverseOrder(): java.util.Comparator<any>;
public static comparingDouble(keyExtractor: any /* any*/): java.util.Comparator<any>;
public compare(object0: any, object1: any): number;
public static nullsLast(comparator: java.util.Comparator<any>): java.util.Comparator<any>;
public constructor(pm: android.content.pm.PackageManager);
public static comparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>;
public thenComparing(keyExtractor: any /* any*/, keyComparator: java.util.Comparator<any>): java.util.Comparator<any>;
public reversed(): java.util.Comparator<any>;
public thenComparingLong(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparing(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static comparingInt(keyExtractor: any /* any*/): java.util.Comparator<any>;
public static naturalOrder(): java.util.Comparator<any>;
public compare(a: android.content.pm.ResolveInfo, b: android.content.pm.ResolveInfo): number;
}
}
}
}
}
declare module android {
export module content {
export module pm {
export class ServiceInfo extends android.content.pm.ComponentInfo implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.ServiceInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.ServiceInfo>;
public static FLAG_EXTERNAL_SERVICE: number;
public static FLAG_ISOLATED_PROCESS: number;
public static FLAG_SINGLE_USER: number;
public static FLAG_STOP_WITH_TASK: number;
public static FLAG_USE_APP_ZYGOTE: number;
public static FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE: number;
public static FOREGROUND_SERVICE_TYPE_DATA_SYNC: number;
public static FOREGROUND_SERVICE_TYPE_LOCATION: number;
public static FOREGROUND_SERVICE_TYPE_MANIFEST: number;
public static FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK: number;
public static FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION: number;
public static FOREGROUND_SERVICE_TYPE_NONE: number;
public static FOREGROUND_SERVICE_TYPE_PHONE_CALL: number;
public flags: number;
public permission: string;
public constructor(orig: android.content.pm.ComponentInfo);
public constructor(orig: android.content.pm.PackageItemInfo);
public dump(pw: android.util.Printer, prefix: string): void;
public getForegroundServiceType(): number;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
public toString(): string;
public constructor(source: android.os.Parcel);
public constructor();
public constructor(orig: android.content.pm.ServiceInfo);
}
}
}
}
declare module android {
export module content {
export module pm {
export class SharedLibraryInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.SharedLibraryInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.SharedLibraryInfo>;
public static TYPE_BUILTIN: number;
public static TYPE_DYNAMIC: number;
public static TYPE_STATIC: number;
public static VERSION_UNDEFINED: number;
/** @deprecated */
public getVersion(): number;
public getLongVersion(): number;
public getType(): number;
public getDependentPackages(): java.util.List<android.content.pm.VersionedPackage>;
public describeContents(): number;
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public getName(): string;
public getDeclaringPackage(): android.content.pm.VersionedPackage;
public toString(): string;
}
}
}
}
declare module android {
export module content {
export module pm {
export class ShortcutInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<any>;
public static CREATOR: android.os.Parcelable.Creator<any>;
public static DISABLED_REASON_APP_CHANGED: number;
public static DISABLED_REASON_BACKUP_NOT_SUPPORTED: number;
public static DISABLED_REASON_BY_APP: number;
public static DISABLED_REASON_NOT_DISABLED: number;
public static DISABLED_REASON_OTHER_RESTORE_ISSUE: number;
public static DISABLED_REASON_SIGNATURE_MISMATCH: number;
public static DISABLED_REASON_UNKNOWN: number;
public static DISABLED_REASON_VERSION_LOWER: number;
public static SHORTCUT_CATEGORY_CONVERSATION: string;
public getPackage(): string;
public getIntents(): native.Array<android.content.Intent>;
public getLocusId(): android.content.LocusId;
public getId(): string;
public isDynamic(): boolean;
public getShortLabel(): string;
public getCategories(): java.util.Set<string>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public getIntent(): android.content.Intent;
public getDisabledMessage(): string;
public hasKeyFieldsOnly(): boolean;
public toString(): string;
public getActivity(): android.content.ComponentName;
public isPinned(): boolean;
public getDisabledReason(): number;
public getUserHandle(): android.os.UserHandle;
public isImmutable(): boolean;
public getExtras(): any;
public describeContents(): number;
public getRank(): number;
public isEnabled(): boolean;
public getLongLabel(): string;
public isDeclaredInManifest(): boolean;
public getLastChangedTimestamp(): number;
}
export module ShortcutInfo {
export class Builder extends java.lang.Object {
public static class: java.lang.Class<any>;
public setPersons(persons: native.Array<any>): any;
public setDisabledMessage(disabledMessage: string): any;
public setIntent(intent: android.content.Intent): any;
public setIntents(intents: native.Array<android.content.Intent>): any;
public setExtras(extras: any): any;
public setLocusId(locusId: android.content.LocusId): any;
public constructor(context: android.content.Context, id: string);
public build(): any;
public setLongLived(londLived: boolean): any;
public setLongLabel(longLabel: string): any;
public setCategories(categories: java.util.Set<string>): any;
public setActivity(activity: android.content.ComponentName): any;
public setRank(rank: number): any;
public setPerson(person: any): any;
public setIcon(icon: any): any;
public setShortLabel(shortLabel: string): any;
}
}
}
}
}
declare module android {
export module content {
export module pm {
export class ShortcutManager extends java.lang.Object {
public static class: java.lang.Class<android.content.pm.ShortcutManager>;
public getPinnedShortcuts(): java.util.List<any>;
public getIconMaxWidth(): number;
public enableShortcuts(shortcutIds: java.util.List<string>): void;
public getManifestShortcuts(): java.util.List<any>;
public reportShortcutUsed(shortcutId: string): void;
public updateShortcuts(shortcutInfoList: java.util.List<any>): boolean;
public disableShortcuts(shortcutIds: java.util.List<string>): void;
public createShortcutResultIntent(shortcut: any): android.content.Intent;
public removeDynamicShortcuts(shortcutIds: java.util.List<string>): void;
public removeAllDynamicShortcuts(): void;
public getMaxShortcutCountPerActivity(): number;
public getIconMaxHeight(): number;
public disableShortcuts(shortcutIds: java.util.List<string>, disabledMessage: string): void;
public setDynamicShortcuts(shortcutInfoList: java.util.List<any>): boolean;
public isRequestPinShortcutSupported(): boolean;
public getDynamicShortcuts(): java.util.List<any>;
public requestPinShortcut(shortcut: any, resultIntent: android.content.IntentSender): boolean;
public isRateLimitingActive(): boolean;
public addDynamicShortcuts(shortcutInfoList: java.util.List<any>): boolean;
}
}
}
}
declare module android {
export module content {
export module pm {
export class Signature extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.Signature>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.Signature>;
public constructor(signature: native.Array<number>);
public equals(obj: any): boolean;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public hashCode(): number;
public constructor(text: string);
public toCharsString(): string;
public describeContents(): number;
public toChars(): native.Array<string>;
public toChars(existingArray: native.Array<string>, outLen: native.Array<number>): native.Array<string>;
public toByteArray(): native.Array<number>;
}
}
}
}
declare module android {
export module content {
export module pm {
export class SigningInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.SigningInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.SigningInfo>;
public getSigningCertificateHistory(): native.Array<android.content.pm.Signature>;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public hasMultipleSigners(): boolean;
public constructor(orig: android.content.pm.SigningInfo);
public describeContents(): number;
public getApkContentsSigners(): native.Array<android.content.pm.Signature>;
public constructor();
public hasPastSigningCertificates(): boolean;
}
}
}
}
declare module android {
export module content {
export module pm {
export class VersionedPackage extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.pm.VersionedPackage>;
public static CREATOR: android.os.Parcelable.Creator<android.content.pm.VersionedPackage>;
/** @deprecated */
public getVersionCode(): number;
public getPackageName(): string;
public describeContents(): number;
public writeToParcel(parcel: android.os.Parcel, flags: number): void;
public constructor(packageName: string, versionCode: number);
public toString(): string;
public getLongVersionCode(): number;
}
}
}
}
declare module android {
export module content {
export module res {
export class AssetFileDescriptor extends java.lang.Object implements android.os.Parcelable, java.io.Closeable {
public static class: java.lang.Class<android.content.res.AssetFileDescriptor>;
public static CREATOR: android.os.Parcelable.Creator<android.content.res.AssetFileDescriptor>;
public static UNKNOWN_LENGTH: number;
public close(): void;
public writeToParcel(out: android.os.Parcel, flags: number): void;
public toString(): string;
public constructor(fd: android.os.ParcelFileDescriptor, startOffset: number, length: number, extras: android.os.Bundle);
public getLength(): number;
public createInputStream(): java.io.FileInputStream;
public getDeclaredLength(): number;
public getStartOffset(): number;
public getFileDescriptor(): java.io.FileDescriptor;
public getParcelFileDescriptor(): android.os.ParcelFileDescriptor;
public createOutputStream(): java.io.FileOutputStream;
public describeContents(): number;
public constructor(fd: android.os.ParcelFileDescriptor, startOffset: number, length: number);
public getExtras(): android.os.Bundle;
}
export module AssetFileDescriptor {
export class AutoCloseInputStream extends android.os.ParcelFileDescriptor.AutoCloseInputStream {
public static class: java.lang.Class<android.content.res.AssetFileDescriptor.AutoCloseInputStream>;
public read(): number;
public reset(): void;
public read(buffer: native.Array<number>): number;
public markSupported(): boolean;
public constructor(file: java.io.File);
public skip(count: number): number;
public constructor(fdObj: java.io.FileDescriptor);
public constructor(fd: android.content.res.AssetFileDescriptor);
public read(buffer: native.Array<number>, offset: number, count: number): number;
public constructor(pfd: android.os.ParcelFileDescriptor);
public mark(readlimit: number): void;
public available(): number;
public read(b: native.Array<number>, off: number, len: number): number;
public constructor(name: string);
public constructor();
public close(): void;
public read(b: native.Array<number>): number;
public skip(n: number): number;
}
export class AutoCloseOutputStream extends android.os.ParcelFileDescriptor.AutoCloseOutputStream {
public static class: java.lang.Class<android.content.res.AssetFileDescriptor.AutoCloseOutputStream>;
public constructor(file: java.io.File);
public flush(): void;
public write(buffer: native.Array<number>, offset: number, count: number): void;
public constructor(fdObj: java.io.FileDescriptor);
public constructor(fd: android.content.res.AssetFileDescriptor);
public constructor(pfd: android.os.ParcelFileDescriptor);
public write(oneByte: number): void;
public write(b: native.Array<number>): void;
public constructor(name: string);
public constructor();
public write(b: number): void;
public write(buffer: native.Array<number>): void;
public constructor(name: string, append: boolean);
public write(b: native.Array<number>, off: number, len: number): void;
public close(): void;
public constructor(file: java.io.File, append: boolean);
}
}
}
}
}
declare module android {
export module content {
export module res {
export class AssetManager extends java.lang.Object implements java.lang.AutoCloseable {
public static class: java.lang.Class<android.content.res.AssetManager>;
public static ACCESS_BUFFER: number;
public static ACCESS_RANDOM: number;
public static ACCESS_STREAMING: number;
public static ACCESS_UNKNOWN: number;
public openFd(fileName: string): android.content.res.AssetFileDescriptor;
public close(): void;
public list(path: string): native.Array<string>;
public open(fileName: string, accessMode: number): java.io.InputStream;
public finalize(): void;
public open(fileName: string): java.io.InputStream;
public getLocales(): native.Array<string>;
public openNonAssetFd(cookie: number, fileName: string): android.content.res.AssetFileDescriptor;
public openNonAssetFd(fileName: string): android.content.res.AssetFileDescriptor;
public openXmlResourceParser(fileName: string): android.content.res.XmlResourceParser;
public openXmlResourceParser(cookie: number, fileName: string): android.content.res.XmlResourceParser;
}
export module AssetManager {
export class AssetInputStream extends java.io.InputStream {
public static class: java.lang.Class<android.content.res.AssetManager.AssetInputStream>;
public available(): number;
public read(): number;
public read(b: native.Array<number>, off: number, len: number): number;
public reset(): void;
public markSupported(): boolean;
public finalize(): void;
public close(): void;
public read(b: native.Array<number>): number;
public skip(n: number): number;
public mark(readlimit: number): void;
}
}
}
}
}
declare module android {
export module content {
export module res {
export class ColorStateList extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.res.ColorStateList>;
public static CREATOR: android.os.Parcelable.Creator<android.content.res.ColorStateList>;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public static createFromXml(r: android.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser, theme: android.content.res.Resources.Theme): android.content.res.ColorStateList;
public isOpaque(): boolean;
public getChangingConfigurations(): number;
public getColorForState(stateSet: native.Array<number>, defaultColor: number): number;
public toString(): string;
/** @deprecated */
public static createFromXml(r: android.content.res.Resources, parser: org.xmlpull.v1.XmlPullParser): android.content.res.ColorStateList;
public static valueOf(color: number): android.content.res.ColorStateList;
public getDefaultColor(): number;
public withAlpha(alpha: number): android.content.res.ColorStateList;
public describeContents(): number;
public constructor(states: native.Array<native.Array<number>>, colors: native.Array<number>);
public isStateful(): boolean;
}
}
}
}
declare module android {
export module content {
export module res {
export class Configuration extends java.lang.Object {
public static class: java.lang.Class<android.content.res.Configuration>;
public static COLOR_MODE_HDR_MASK: number;
public static COLOR_MODE_HDR_NO: number;
public static COLOR_MODE_HDR_SHIFT: number;
public static COLOR_MODE_HDR_UNDEFINED: number;
public static COLOR_MODE_HDR_YES: number;
public static COLOR_MODE_UNDEFINED: number;
public static COLOR_MODE_WIDE_COLOR_GAMUT_MASK: number;
public static COLOR_MODE_WIDE_COLOR_GAMUT_NO: number;
public static COLOR_MODE_WIDE_COLOR_GAMUT_UNDEFINED: number;
public static COLOR_MODE_WIDE_COLOR_GAMUT_YES: number;
public static CREATOR: android.os.Parcelable.Creator<android.content.res.Configuration>;
public static DENSITY_DPI_UNDEFINED: number;
public static HARDKEYBOARDHIDDEN_NO: number;
public static HARDKEYBOARDHIDDEN_UNDEFINED: number;
public static HARDKEYBOARDHIDDEN_YES: number;
public static KEYBOARDHIDDEN_NO: number;
public static KEYBOARDHIDDEN_UNDEFINED: number;
public static KEYBOARDHIDDEN_YES: number;
public static KEYBOARD_12KEY: number;
public static KEYBOARD_NOKEYS: number;
public static KEYBOARD_QWERTY: number;
public static KEYBOARD_UNDEFINED: number;
public static MNC_ZERO: number;
public static NAVIGATIONHIDDEN_NO: number;
public static NAVIGATIONHIDDEN_UNDEFINED: number;
public static NAVIGATIONHIDDEN_YES: number;
public static NAVIGATION_DPAD: number;
public static NAVIGATION_NONAV: number;
public static NAVIGATION_TRACKBALL: number;
public static NAVIGATION_UNDEFINED: number;
public static NAVIGATION_WHEEL: number;
public static ORIENTATION_LANDSCAPE: number;
public static ORIENTATION_PORTRAIT: number;
public static ORIENTATION_SQUARE: number;
public static ORIENTATION_UNDEFINED: number;
public static SCREENLAYOUT_LAYOUTDIR_LTR: number;
public static SCREENLAYOUT_LAYOUTDIR_MASK: number;
public static SCREENLAYOUT_LAYOUTDIR_RTL: number;
public static SCREENLAYOUT_LAYOUTDIR_SHIFT: number;
public static SCREENLAYOUT_LAYOUTDIR_UNDEFINED: number;
public static SCREENLAYOUT_LONG_MASK: number;
public static SCREENLAYOUT_LONG_NO: number;
public static SCREENLAYOUT_LONG_UNDEFINED: number;
public static SCREENLAYOUT_LONG_YES: number;
public static SCREENLAYOUT_ROUND_MASK: number;
public static SCREENLAYOUT_ROUND_NO: number;
public static SCREENLAYOUT_ROUND_UNDEFINED: number;
public static SCREENLAYOUT_ROUND_YES: number;
public static SCREENLAYOUT_SIZE_LARGE: number;
public static SCREENLAYOUT_SIZE_MASK: number;
public static SCREENLAYOUT_SIZE_NORMAL: number;
public static SCREENLAYOUT_SIZE_SMALL: number;
public static SCREENLAYOUT_SIZE_UNDEFINED: number;
public static SCREENLAYOUT_SIZE_XLARGE: number;
public static SCREENLAYOUT_UNDEFINED: number;
public static SCREEN_HEIGHT_DP_UNDEFINED: number;
public static SCREEN_WIDTH_DP_UNDEFINED: number;
public static SMALLEST_SCREEN_WIDTH_DP_UNDEFINED: number;
public static TOUCHSCREEN_FINGER: number;
public static TOUCHSCREEN_NOTOUCH: number;
public static TOUCHSCREEN_STYLUS: number;
public static TOUCHSCREEN_UNDEFINED: number;
public static UI_MODE_NIGHT_MASK: number;
public static UI_MODE_NIGHT_NO: number;
public static UI_MODE_NIGHT_UNDEFINED: number;
public static UI_MODE_NIGHT_YES: number;
public static UI_MODE_TYPE_APPLIANCE: number;
public static UI_MODE_TYPE_CAR: number;
public static UI_MODE_TYPE_DESK: number;
public static UI_MODE_TYPE_MASK: number;
public static UI_MODE_TYPE_NORMAL: number;
public static UI_MODE_TYPE_TELEVISION: number;
public static UI_MODE_TYPE_UNDEFINED: number;
public static UI_MODE_TYPE_VR_HEADSET: number;
public static UI_MODE_TYPE_WATCH: number;
public colorMode: number;
public densityDpi: number;
public fontScale: number;
public hardKeyboardHidden: number;
public keyboard: number;
public keyboardHidden: number;
public locale: java.util.Locale;
public mcc: number;
public mnc: number;
public navigation: number;
public navigationHidden: number;
public orientation: number;
public screenHeightDp: number;
public screenLayout: number;
public screenWidthDp: number;
public smallestScreenWidthDp: number;
public touchscreen: number;
public uiMode: number;
public getLayoutDirection(): number;
public readFromParcel(source: android.os.Parcel): void;
public isScreenHdr(): boolean;
public constructor();
public equals(that: any): boolean;
public setTo(o: android.content.res.Configuration): void;
public constructor(o: android.content.res.Configuration);
public hashCode(): number;
public updateFrom(delta: android.content.res.Configuration): number;
public isScreenWideColorGamut(): boolean;
public static needNewResources(configChanges: number, interestingChanges: number): boolean;
public diff(delta: android.content.res.Configuration): number;
public writeToParcel(dest: android.os.Parcel, flags: number): void;
public isLayoutSizeAtLeast(size: number): boolean;
public setLayoutDirection(loc: java.util.Locale): void;
public toString(): string;
public isScreenRound(): boolean;
public setLocale(loc: java.util.Locale): void;
public compareTo(that: android.content.res.Configuration): number;
public equals(obj: any): boolean;
public setLocales(locales: any): void;
public getLocales(): any;
public setToDefaults(): void;
public describeContents(): number;
public equals(that: android.content.res.Configuration): boolean;
}
}
}
}
declare module android {
export module content {
export module res {
export class ObbInfo extends java.lang.Object implements android.os.Parcelable {
public static class: java.lang.Class<android.content.res.ObbInfo>;
public static CREATOR: android.os.Parcelable.Creator<android.content.res.ObbInfo>;
public static OBB_OVERLAY: number;
public filename: string;
public flags: number;
public packageName: string;
public version: number;
public writeToParcel(dest: android.os.Parcel, parcelableFlags: number): void;
public describeContents(): number;
public toString(): string;
}
}
}
}
declare module android {
export module content {
export module res {
export class ObbScanner extends java.lang.Object {
public static class: java.lang.Class<android.content.res.ObbScanner>;
public static getObbInfo(filePath: string): android.content.res.ObbInfo;
}
}
}
}
declare module android {
export module content {
export module res {
export class Resources extends java.lang.Object {
public static class: java.lang.Class<android.content.res.Resources>;
public static ID_NULL: number;
public getDrawableForDensity(id: number, density: number, theme: android.content.res.Resources.Theme): android.graphics.drawable.Drawable;
/** @deprecated */
public updateConfiguration(config: android.content.res.Configuration, metrics: android.util.DisplayMetrics): void;
public getLayout(id: number): android.content.res.XmlResourceParser;
public getValueForDensity(id: number, density: number, outValue: android.util.TypedValue, resolveRefs: boolean): void;
public getValue(name: string, outValue: android.util.TypedValue, resolveRefs: boolean): void;
public getDimension(id: number): number;
public getFloat(id: number): number;
public getBoolean(id: number): boolean;
public getQuantityString(id: number, quantity: number): string;
public getQuantityString(id: number, quantity: number, formatArgs: native.Array<any>): string;
public getIntArray(id: number): native.Array<number>;
public parseBundleExtras(parser: android.content.res.XmlResourceParser, outBundle: android.os.Bundle): void;
public getString(id: number): string;
public getQuantityText(id: number, quantity: number): string;
/** @deprecated */
public getDrawable(id: number): android.graphics.drawable.Drawable;
public finishPreloading(): void;
public openRawResource(id: number): java.io.InputStream;
/** @deprecated */
public getColor(id: number): number;
public getFraction(id: number, base: number, pbase: number): number;
public getColor(id: number, theme: android.content.res.Resources.Theme): number;
public getText(id: number): string;
public getXml(id: number): android.content.res.XmlResourceParser;
public getResourceName(resid: number): string;
public flushLayoutCache(): void;
public static getAttributeSetSourceResId(set: android.util.AttributeSet): number;
public getDisplayMetrics(): android.util.DisplayMetrics;
public getResourceTypeName(resid: number): string;
public getValue(id: number, outValue: android.util.TypedValue, resolveRefs: boolean): void;
public getIdentifier(name: string, defType: string, defPackage: string): number;
/** @deprecated */
public constructor(assets: android.content.res.AssetManager, metrics: android.util.DisplayMetrics, config: android.content.res.Configuration);
public getConfiguration(): android.content.res.Configuration;
public newTheme(): android.content.res.Resources.Theme;
public getDrawable(id: number, theme: android.content.res.Resources.Theme): android.graphics.drawable.Drawable;
public openRawResourceFd(id: number): android.content.res.AssetFileDescriptor;
public getResourceEntryName(resid: number): string;
public getString(id: number, formatArgs: native.Array<any>): string;
/** @deprecated */
public getColorStateList(id: number): android.content.res.ColorStateList;
public obtainAttributes(set: android.util.AttributeSet, attrs: native.Array<number>): android.content.res.TypedArray;
public parseBundleExtra(tagName: string, attrs: android.util.AttributeSet, outBundle: android.os.Bundle): void;
public getFont(id: number): android.graphics.Typeface;
public getStringArray(id: number): native.Array<string>;
public getDimensionPixelOffset(id: number): number;
public getColorStateList(id: number, theme: android.content.res.Resources.Theme): android.content.res.ColorStateList;
public getAnimation(id: number): android.content.res.XmlResourceParser;
public getInteger(id: number): number;
public openRawResource(id: number, value: android.util.TypedValue): java.io.InputStream;
public getAssets(): android.content.res.AssetManager;
public getDimensionPixelSize(id: number): number;
public getText(id: number, def: string): string;
public getResourcePackageName(resid: number): string;
public obtainTypedArray(id: number): android.content.res.TypedArray;
public getTextArray(id: number): native.Array<string>;
public static getSystem(): android.content.res.Resources;
/** @deprecated */
public getDrawableForDensity(id: number, density: number): android.graphics.drawable.Drawable;
/** @deprecated */
public getMovie(id: number): android.graphics.Movie;
}
export module Resources {
export class NotFoundException extends java.lang.RuntimeException {
public static class: java.lang.Class<android.content.res.Resources.NotFoundException>;
public constructor(message: string);
public constructor(message: string, cause: java.lang.Throwable, enableSuppression: boolean, writableStackTrace: boolean);
public constructor(name: string);
public constructor();
public constructor(cause: java.lang.Throwable);
public constructor(name: string, cause: java.lang.Exception);
public constructor(message: string, cause: java.lang.Throwable);
}
export class Theme extends java.lang.Object {
public static class: java.lang.Class<android.content.res.Resources.Theme>;
public getAttributeResolutionStack(defStyleAttr: number, defStyleRes: number, explicitStyleRes: number): native.Array<number>;
public obtainStyledAttributes(resId: number, attrs: native.Array<number>): android.content.res.TypedArray;
public dump(priority: number, tag: string, prefix: string): void;
public resolveAttribute(resid: number, outValue: android.util.TypedValue, resolveRefs: boolean): boolean;
public getExplicitStyle(set: android.util.AttributeSet): number;
public getDrawable(id: number): android.graphics.drawable.Drawable;
public getChangingConfigurations(): number;
public rebase(): void;
public getResources(): android.content.res.Resources;
public obtainStyledAttributes(set: android.util.AttributeSet, attrs: native.Array<number>, defStyleAttr: number, defStyleRes: number): android.content.res.TypedArray;
public setTo(other: android.content.res.Resources.Theme): void;
public applyStyle(resId: number, force: boolean): void;
public obtainStyledAttributes(attrs: native.Array<number>): android.content.res.TypedArray;
}
}
}
}
}
declare module android {
export module content {
export module res {
export class TypedArray extends java.lang.Object {
public static class: java.lang.Class<android.content.res.TypedArray>;
public recycle(): void;
public hasValueOrEmpty(index: number): boolean;
public getDimensionPixelOffset(index: number, defValue: number): number;
public getTextArray(index: number): native.Array<string>;
public getColorStateList(index: number): android.content.res.ColorStateList;
public getType(index: number): number;
public getPositionDescription(): string;
public getDrawable(index: number): android.graphics.drawable.Drawable;
public getNonResourceString(index: number): string;
public getDimension(index: number, defValue: number): number;
public getFont(index: number): android.graphics.Typeface;
public getIndexCount(): number;
public getIndex(at: number): number;
public getSourceResourceId(index: number, defaultValue: number): number;
public length(): number;
public getBoolean(index: number, defValue: boolean): boolean;
public getChangingConfigurations(): number;
public hasValue(index: number): boolean;
public toString(): string;
public getString(index: number): string;
public getInteger(index: number, defValue: number): number;
public getLayoutDimension(index: number, defValue: number): number;
public getResources(): android.content.res.Resources;
public getFloat(index: number, defValue: number): number;
public peekValue(index: number): android.util.TypedValue;
public getDimensionPixelSize(index: number, defValue: number): number;
public getColor(index: number, defValue: number): number;
public getFraction(index: number, base: number, pbase: number, defValue: number): number;
public getText(index: number): string;
public getLayoutDimension(index: number, name: string): number;
public getValue(index: number, outValue: android.util.TypedValue): boolean;
public getInt(index: number, defValue: number): number;
public getResourceId(index: number, defValue: number): number;
}
}
}
}
declare module android {
export module content {
export module res {
export class XmlResourceParser extends java.lang.Object implements org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, java.lang.AutoCloseable {
public static class: java.lang.Class<android.content.res.XmlResourceParser>;
/**
* Constructs a new instance of the android.content.res.XmlResourceParser interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
getAttributeNamespace(int0: number): string;
close(): void;
setFeature(string0: string, boolean1: boolean): void;
getFeature(string0: string): boolean;
setProperty(string0: string, object1: any): void;
getProperty(string0: string): any;
setInput(reader0: java.io.Reader): void;
setInput(inputStream0: java.io.InputStream, string1: string): void;
getInputEncoding(): string;
defineEntityReplacementText(string0: string, string1: string): void;
getNamespaceCount(int0: number): number;
getNamespacePrefix(int0: number): string;
getNamespaceUri(int0: number): string;
getNamespace(string0: string): string;
getDepth(): number;
getPositionDescription(): string;
getLineNumber(): number;
getColumnNumber(): number;
isWhitespace(): boolean;
getText(): string;
getTextCharacters(ints0: native.Array<number>): native.Array<string>;
getNamespace(): string;
getName(): string;
getPrefix(): string;
isEmptyElementTag(): boolean;
getAttributeCount(): number;
getAttributeNamespace(int0: number): string;
getAttributeName(int0: number): string;
getAttributePrefix(int0: number): string;
getAttributeType(int0: number): string;
isAttributeDefault(int0: number): boolean;
getAttributeValue(int0: number): string;
getAttributeValue(string0: string, string1: string): string;
getEventType(): number;
next(): number;
nextToken(): number;
require(int0: number, string1: string, string2: string): void;
nextText(): string;
nextTag(): number;
<clinit>(): void;
getAttributeCount(): number;
getAttributeNamespace(index: number): string;
getAttributeName(int0: number): string;
getAttributeValue(int0: number): string;
getAttributeValue(string0: string, string1: string): string;
getPositionDescription(): string;
getAttributeNameResource(int0: number): number;
getAttributeListValue(string0: string, string1: string, strings2: native.Array<string>, int3: number): number;
getAttributeBooleanValue(string0: string, string1: string, boolean2: boolean): boolean;
getAttributeResourceValue(string0: string, string1: string, int2: number): number;
getAttributeIntValue(string0: string, string1: string, int2: number): number;
getAttributeUnsignedIntValue(string0: string, string1: string, int2: number): number;
getAttributeFloatValue(string0: string, string1: string, float2: number): number;
getAttributeListValue(int0: number, strings1: native.Array<string>, int2: number): number;
getAttributeBooleanValue(int0: number, boolean1: boolean): boolean;
getAttributeResourceValue(int0: number, int1: number): number;
getAttributeIntValue(int0: number, int1: number): number;
getAttributeUnsignedIntValue(int0: number, int1: number): number;
getAttributeFloatValue(int0: number, float1: number): number;
getIdAttribute(): string;
getClassAttribute(): string;
getIdAttributeResourceValue(int0: number): number;
getStyleAttribute(): number;
close(): void;
});
public constructor();
public static NO_NAMESPACE: string;
public static TEXT: number;
public static ENTITY_REF: number;
public static COMMENT: number;
public static END_DOCUMENT: number;
public static DOCDECL: number;
public static END_TAG: number;
public static FEATURE_VALIDATION: string;
public static START_DOCUMENT: number;
public static CDSECT: number;
public static IGNORABLE_WHITESPACE: number;
public static START_TAG: number;
public static FEATURE_PROCESS_NAMESPACES: string;
public static TYPES: native.Array<string>;
public static FEATURE_PROCESS_DOCDECL: string;
public static PROCESSING_INSTRUCTION: number;
public static FEATURE_REPORT_NAMESPACE_ATTRIBUTES: string;
public getLineNumber(): number;
public getEventType(): number;
public getAttributeNameResource(int0: number): number;
public getAttributeName(int0: number): string;
public getAttributeBooleanValue(int0: number, boolean1: boolean): boolean;
public getPositionDescription(): string;
public getAttributeNamespace(index: number): string;
public getAttributeUnsignedIntValue(string0: string, string1: string, int2: number): number;
public nextText(): string;
public getIdAttributeResourceValue(int0: number): number;
public setFeature(string0: string, boolean1: boolean): void;
public nextToken(): number;
public getColumnNumber(): number;
public close(): void;
public getNamespaceUri(int0: number): string;
public getName(): string;
public getAttributeFloatValue(int0: number, float1: number): number;
public getAttributeValue(int0: number): string;
public getStyleAttribute(): number;
public getAttributeUnsignedIntValue(int0: number, int1: number): number;
public isWhitespace(): boolean;
public getAttributeIntValue(string0: string, string1: string, int2: number): number;
public next(): number;
public getAttributeResourceValue(string0: string, string1: string, int2: number): number;
public getInputEncoding(): string;
public getAttributeFloatValue(string0: string, string1: string, float2: number): number;
public getAttributeIntValue(int0: number, int1: number): number;
public nextTag(): number;
public getTextCharacters(ints0: native.Array<number>): native.Array<string>;
public getIdAttribute(): string;
public getAttributeCount(): number;
public getNamespace(string0: string): string;
public setInput(reader0: java.io.Reader): void;
public getClassAttribute(): string;
public setProperty(string0: string, object1: any): void;
public defineEntityReplacementText(string0: string, string1: string): void;
public getAttributeListValue(string0: string, string1: string, strings2: native.Array<string>, int3: number): number;
public isAttributeDefault(int0: number): boolean;
public getAttributeListValue(int0: number, strings1: native.Array<string>, int2: number): number;
public getFeature(string0: string): boolean;
public isEmptyElementTag(): boolean;
public getPrefix(): string;
public getAttributeType(int0: number): string;
public getNamespaceCount(int0: number): number;
public require(int0: number, string1: string, string2: string): void;
public getAttributeValue(string0: string, string1: string): string;
public getNamespacePrefix(int0: number): string;
public getText(): string;
public setInput(inputStream0: java.io.InputStream, string1: string): void;
public getProperty(string0: string): any;
public getNamespace(): string;
public getAttributeBooleanValue(string0: string, string1: string, boolean2: boolean): boolean;
public getAttributeResourceValue(int0: number, int1: number): number;
public getDepth(): number;
public getAttributePrefix(int0: number): string;
}
}
}
}
declare module android {
export module database {
export abstract class AbstractCursor extends java.lang.Object implements android.database.CrossProcessCursor {
public static class: java.lang.Class<android.database.AbstractCursor>;
public mClosed: boolean;
public mContentResolver: android.content.ContentResolver;
public mPos: number;
/** @deprecated */
public getUpdatedField(columnIndex: number): any;
public getInt(int0: number): number;
public setExtras(extras: android.os.Bundle): void;
/** @deprecated */
public requery(): boolean;
public requery(): boolean;
public setNotificationUri(cr: android.content.ContentResolver, notifyUri: android.net.Uri): void;
public isAfterLast(): boolean;
public getBlob(column: number): native.Array<number>;
/** @deprecated */
public deactivate(): void;
public getShort(int0: number): number;
public getCount(): number;
public getDouble(int0: number): number;
public setNotificationUris(cr: android.content.ContentResolver, notifyUris: java.util.List<android.net.Uri>): void;
public deactivate(): void;
public getColumnIndex(columnName: string): number;
public getFloat(int0: number): number;
public constructor();
public getString(int0: number): string;
public moveToPosition(position: number): boolean;
public getLong(int0: number): number;
public isNull(int0: number): boolean;
public registerContentObserver(observer: android.database.ContentObserver): void;
public unregisterDataSetObserver(observer: android.database.DataSetObserver): void;
public moveToPrevious(): boolean;
public getExtras(): android.os.Bundle;
public getWantsAllOnMoveCalls(): boolean;
public isClosed(): boolean;
public getColumnName(columnIndex: number): string;
public getColumnIndexOrThrow(columnName: string): number;
public onMove(oldPosition: number, newPosition: number): boolean;
public getPosition(): number;
public getNotificationUris(): java.util.List<android.net.Uri>;
public onChange(selfChange: boolean): void;
public respond(extras: android.os.Bundle): android.os.Bundle;
public getWindow(): android.database.CursorWindow;
public getColumnNames(): native.Array<string>;
public isBeforeFirst(): boolean;
public moveToFirst(): boolean;
public getNotificationUri(): android.net.Uri;
public getType(column: number): number;
public isLast(): boolean;
public close(): void;
public moveToNext(): boolean;
public finalize(): void;
public moveToLast(): boolean;
public move(offset: number): boolean;
public getColumnCount(): number;
public checkPosition(): void;
public isFirst(): boolean;
public copyStringToBuffer(columnIndex: number, buffer: android.database.CharArrayBuffer): void;
public registerDataSetObserver(observer: android.database.DataSetObserver): void;
public setNotificationUris(cr: android.content.ContentResolver, uris: java.util.List<android.net.Uri>): void;
public unregisterContentObserver(observer: android.database.ContentObserver): void;
/** @deprecated */
public isFieldUpdated(columnIndex: number): boolean;
public fillWindow(position: number, window: android.database.CursorWindow): void;
}
export module AbstractCursor {
export class SelfContentObserver extends android.database.ContentObserver {
public static class: java.lang.Class<android.database.AbstractCursor.SelfContentObserver>;
public deliverSelfNotifications(): boolean;
public onChange(selfChange: boolean, uri: android.net.Uri): void;
public constructor(handler: android.os.Handler);
public constructor(cursor: android.database.AbstractCursor);
public onChange(selfChange: boolean): void;
}
}
}
}
declare module android {
export module database {
export abstract class AbstractWindowedCursor extends android.database.AbstractCursor {
public static class: java.lang.Class<android.database.AbstractWindowedCursor>;
public mWindow: android.database.CursorWindow;
/** @deprecated */
public isFloat(columnIndex: number): boolean;
public getFloat(columnIndex: number): number;
public getInt(int0: number): number;
public getString(columnIndex: number): string;
/** @deprecated */
public isString(columnIndex: number): boolean;
public onMove(oldPosition: number, newPosition: number): boolean;
public getBlob(columnIndex: number): native.Array<number>;
/** @deprecated */
public isBlob(columnIndex: number): boolean;
public getDouble(columnIndex: number): number;
public getWindow(): android.database.CursorWindow;
public hasWindow(): boolean;
public getType(column: number): number;
public getBlob(column: number): native.Array<number>;
public isNull(columnIndex: number): boolean;
public getShort(int0: number): number;
public getDouble(int0: number): number;
public checkPosition(): void;
public getInt(columnIndex: number): number;
public getShort(columnIndex: number): number;
public getFloat(int0: number): number;
public copyStringToBuffer(columnIndex: number, buffer: android.database.CharArrayBuffer): void;
public constructor();
public getString(int0: number): string;
public getLong(int0: number): number;
public isNull(int0: number): boolean;
public setWindow(window: android.database.CursorWindow): void;
public getLong(columnIndex: number): number;
public fillWindow(position: number, window: android.database.CursorWindow): void;
/** @deprecated */
public isLong(columnIndex: number): boolean;
public getType(columnIndex: number): number;
}
}
}
declare module android {
export module database {
export class CharArrayBuffer extends java.lang.Object {
public static class: java.lang.Class<android.database.CharArrayBuffer>;
public data: native.Array<string>;
public sizeCopied: number;
public constructor(size: number);
public constructor(buf: native.Array<string>);
}
}
}
declare module android {
export module database {
export class ContentObservable extends android.database.Observable<android.database.ContentObserver> {
public static class: java.lang.Class<android.database.ContentObservable>;
public dispatchChange(selfChange: boolean, uri: android.net.Uri): void;
public registerObserver(observer: any): void;
/** @deprecated */
public dispatchChange(selfChange: boolean): void;
public registerObserver(observer: android.database.ContentObserver): void;
public constructor();
/** @deprecated */
public notifyChange(selfChange: boolean): void;
}
}
}
declare module android {
export module database {
export abstract class ContentObserver extends java.lang.Object {
public static class: java.lang.Class<android.database.ContentObserver>;
public dispatchChange(selfChange: boolean, uri: android.net.Uri): void;
public deliverSelfNotifications(): boolean;
/** @deprecated */
public dispatchChange(selfChange: boolean): void;
public constructor(handler: android.os.Handler);
public onChange(selfChange: boolean, uri: android.net.Uri): void;
public onChange(selfChange: boolean): void;
}
}
}
declare module android {
export module database {
export class CrossProcessCursor extends java.lang.Object implements android.database.Cursor {
public static class: java.lang.Class<android.database.CrossProcessCursor>;
/**
* Constructs a new instance of the android.database.CrossProcessCursor interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
getWindow(): android.database.CursorWindow;
fillWindow(int0: number, cursorWindow1: android.database.CursorWindow): void;
onMove(int0: number, int1: number): boolean;
getCount(): number;
getPosition(): number;
move(int0: number): boolean;
moveToPosition(int0: number): boolean;
moveToFirst(): boolean;
moveToLast(): boolean;
moveToNext(): boolean;
moveToPrevious(): boolean;
isFirst(): boolean;
isLast(): boolean;
isBeforeFirst(): boolean;
isAfterLast(): boolean;
getColumnIndex(string0: string): number;
getColumnIndexOrThrow(string0: string): number;
getColumnName(int0: number): string;
getColumnNames(): native.Array<string>;
getColumnCount(): number;
getBlob(int0: number): native.Array<number>;
getString(int0: number): string;
copyStringToBuffer(int0: number, charArrayBuffer1: android.database.CharArrayBuffer): void;
getShort(int0: number): number;
getInt(int0: number): number;
getLong(int0: number): number;
getFloat(int0: number): number;
getDouble(int0: number): number;
getType(int0: number): number;
isNull(int0: number): boolean;
deactivate(): void;
requery(): boolean;
close(): void;
isClosed(): boolean;
registerContentObserver(contentObserver0: android.database.ContentObserver): void;
unregisterContentObserver(contentObserver0: android.database.ContentObserver): void;
registerDataSetObserver(dataSetObserver0: android.database.DataSetObserver): void;
unregisterDataSetObserver(dataSetObserver0: android.database.DataSetObserver): void;
setNotificationUri(contentResolver0: android.content.ContentResolver, uri1: android.net.Uri): void;
setNotificationUris(cr: android.content.ContentResolver, uris: java.util.List<android.net.Uri>): void;
getNotificationUri(): android.net.Uri;
getNotificationUris(): java.util.List<android.net.Uri>;
getWantsAllOnMoveCalls(): boolean;
setExtras(bundle0: android.os.Bundle): void;
getExtras(): android.os.Bundle;
respond(bundle0: android.os.Bundle): android.os.Bundle;
close(): void;
close(): void;
});
public constructor();
public static FIELD_TYPE_INTEGER: number;
public static FIELD_TYPE_BLOB: number;
public static FIELD_TYPE_NULL: number;
public static FIELD_TYPE_STRING: number;
public static FIELD_TYPE_FLOAT: number;
public unregisterDataSetObserver(dataSetObserver0: android.database.DataSetObserver): void;
public isClosed(): boolean;
public getType(int0: number): number;
public getInt(int0: number): number;
public onMove(int0: number, int1: number): boolean;
/** @deprecated */
public requery(): boolean;
public setExtras(bundle0: android.os.Bundle): void;
public getPosition(): number;
public getNotificationUris(): java.util.List<android.net.Uri>;
public respond(bundle0: android.os.Bundle): android.os.Bundle;
public getWindow(): android.database.CursorWindow;
public isBeforeFirst(): boolean;
public isAfterLast(): boolean;
public getColumnNames(): native.Array<string>;
public moveToFirst(): boolean;
public getNotificationUri(): android.net.Uri;
public fillWindow(int0: number, cursorWindow1: android.database.CursorWindow): void;
public getBlob(int0: number): native.Array<number>;
/** @deprecated */
public deactivate(): void;
public isLast(): boolean;
public getColumnIndexOrThrow(string0: string): number;
public getShort(int0: number): number;
public getCount(): number;
public moveToPosition(int0: number): boolean;
public moveToNext(): boolean;
public getColumnName(int0: number): string;
public close(): void;
public getDouble(int0: number): number;
public moveToLast(): boolean;
public getColumnCount(): number;
public setNotificationUri(contentResolver0: android.content.ContentResolver, uri1: android.net.Uri): void;
public isFirst(): boolean;
public getFloat(int0: number): number;
public move(int0: number): boolean;
public getString(int0: number): string;
public copyStringToBuffer(int0: number, charArrayBuffer1: android.database.CharArrayBuffer): void;
public getLong(int0: number): number;
public isNull(int0: number): boolean;
public setNotificationUris(cr: android.content.ContentResolver, uris: java.util.List<android.net.Uri>): void;
public registerDataSetObserver(dataSetObserver0: android.database.DataSetObserver): void;
public getColumnIndex(string0: string): number;
public unregisterContentObserver(contentObserver0: android.database.ContentObserver): void;
public moveToPrevious(): boolean;
public registerContentObserver(contentObserver0: android.database.ContentObserver): void;
public getExtras(): android.os.Bundle;
public getWantsAllOnMoveCalls(): boolean;
}
}
}
declare module android {
export module database {
export class CrossProcessCursorWrapper extends android.database.CursorWrapper implements android.database.CrossProcessCursor {
public static class: java.lang.Class<android.database.CrossProcessCursorWrapper>;
public getFloat(columnIndex: number): number;
public isClosed(): boolean;
public getColumnName(columnIndex: number): string;
public setExtras(extras: android.os.Bundle): void;
public getColumnIndexOrThrow(columnName: string): number;
public getString(columnIndex: number): string;
/** @deprecated */
public requery(): boolean;
public onMove(oldPosition: number, newPosition: number): boolean;
public getPosition(): number;
public getNotificationUris(): ja
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment