Preferences | Android Developers

文章推薦指數: 80 %
投票人數:10人

A node in a hierarchical collection of preference data. This class allows applications to store and retrieve user and system preference and configuration ... Platform AndroidStudio GooglePlay Jetpack Kotlin Docs Games Language English BahasaIndonesia Español–AméricaLatina Português–Brasil 中文–简体 日本語 한국어 Signin Documentation Overview Guides Reference Samples Design&Quality Platform AndroidStudio GooglePlay Jetpack Kotlin Docs Overview Guides Reference Samples Design&Quality Games AndroidAPIReference Overview AndroidPlatform Packages APIlevel REL333231302928272625242322212019181716151413121110987654321 ClassIndexPackageIndex android Overview Classes ManifestManifest.permissionManifest.permission_groupRR.animR.animatorR.arrayR.attrR.boolR.colorR.dimenR.drawableR.fractionR.idR.integerR.interpolatorR.layoutR.menuR.mipmapR.pluralsR.rawR.stringR.styleR.styleableR.transitionR.xml android.accessibilityservice Overview Interfaces AccessibilityService.MagnificationController.OnMagnificationChangedListenerAccessibilityService.SoftKeyboardController.OnShowModeChangedListenerAccessibilityService.TakeScreenshotCallbackTouchInteractionController.Callback Classes AccessibilityButtonControllerAccessibilityButtonController.AccessibilityButtonCallbackAccessibilityGestureEventAccessibilityServiceAccessibilityService.GestureResultCallbackAccessibilityService.MagnificationControllerAccessibilityService.ScreenshotResultAccessibilityService.SoftKeyboardControllerAccessibilityServiceInfoFingerprintGestureControllerFingerprintGestureController.FingerprintGestureCallbackGestureDescriptionGestureDescription.BuilderGestureDescription.StrokeDescriptionInputMethodInputMethod.AccessibilityInputConnectionMagnificationConfigMagnificationConfig.BuilderTouchInteractionController android.accounts Overview Interfaces AccountManagerCallbackAccountManagerFutureOnAccountsUpdateListener Classes AbstractAccountAuthenticatorAccountAccountAuthenticatorActivityAccountAuthenticatorResponseAccountManagerAuthenticatorDescription Exceptions AccountsExceptionAuthenticatorExceptionNetworkErrorExceptionOperationCanceledException android.adservices Overview Classes AdServicesVersion android.animation Overview Interfaces Animator.AnimatorListenerAnimator.AnimatorPauseListenerLayoutTransition.TransitionListenerTimeAnimator.TimeListenerTimeInterpolatorTypeEvaluatorValueAnimator.AnimatorUpdateListenerValueAnimator.DurationScaleChangeListener Classes AnimatorAnimatorInflaterAnimatorListenerAdapterAnimatorSetAnimatorSet.BuilderArgbEvaluatorBidirectionalTypeConverterFloatArrayEvaluatorFloatEvaluatorIntArrayEvaluatorIntEvaluatorKeyframeLayoutTransitionObjectAnimatorPointFEvaluatorPropertyValuesHolderRectEvaluatorStateListAnimatorTimeAnimatorTypeConverterValueAnimator android.annotation Overview Annotations SuppressLintTargetApi android.app Overview Interfaces ActionBar.OnMenuVisibilityListenerActionBar.OnNavigationListenerActionBar.TabListenerAlarmManager.OnAlarmListenerApplication.ActivityLifecycleCallbacksApplication.OnProvideAssistDataListenerAppOpsManager.OnOpActiveChangedListenerAppOpsManager.OnOpChangedListenerDatePickerDialog.OnDateSetListenerFragmentBreadCrumbs.OnBreadCrumbClickListenerFragmentManager.BackStackEntryFragmentManager.OnBackStackChangedListenerKeyguardManager.KeyguardLockedStateListenerKeyguardManager.OnKeyguardExitResultLoaderManager.LoaderCallbacksNotification.Action.ExtenderNotification.ExtenderPendingIntent.OnFinishedSearchManager.OnCancelListenerSearchManager.OnDismissListenerSharedElementCallback.OnSharedElementsReadyListenerTimePickerDialog.OnTimeSetListenerUiAutomation.AccessibilityEventFilterUiAutomation.OnAccessibilityEventListenerWallpaperManager.OnColorsChangedListenerZygotePreload Classes ActionBarActionBar.LayoutParamsActionBar.TabActivityActivityGroupActivityManagerActivityManager.AppTaskActivityManager.MemoryInfoActivityManager.ProcessErrorStateInfoActivityManager.RecentTaskInfoActivityManager.RunningAppProcessInfoActivityManager.RunningServiceInfoActivityManager.RunningTaskInfoActivityManager.TaskDescriptionActivityManager.TaskDescription.BuilderActivityOptionsAlarmManagerAlarmManager.AlarmClockInfoAlertDialogAlertDialog.BuilderAliasActivityAppComponentFactoryApplicationApplicationErrorReportApplicationErrorReport.AnrInfoApplicationErrorReport.BatteryInfoApplicationErrorReport.CrashInfoApplicationErrorReport.RunningServiceInfoApplicationExitInfoAppOpsManagerAppOpsManager.OnOpNotedCallbackAsyncNotedAppOpAutomaticZenRuleDatePickerDialogDialogDialogFragmentDirectActionDirectAction.BuilderDownloadManagerDownloadManager.QueryDownloadManager.RequestExpandableListActivityFragmentFragment.SavedStateFragmentBreadCrumbsFragmentContainerFragmentControllerFragmentHostCallbackFragmentManagerFragmentManager.FragmentLifecycleCallbacksFragmentManagerNonConfigFragmentTransactionGameManagerGameStateInstrumentationInstrumentation.ActivityMonitorInstrumentation.ActivityResultIntentServiceKeyguardManagerKeyguardManager.KeyguardDismissCallbackKeyguardManager.KeyguardLockLauncherActivityLauncherActivity.IconResizerLauncherActivity.ListItemListActivityListFragmentLoaderManagerLocalActivityManagerLocaleConfigLocaleManagerMediaRouteActionProviderMediaRouteButtonNativeActivityNotificationNotification.ActionNotification.Action.BuilderNotification.Action.WearableExtenderNotification.BigPictureStyleNotification.BigTextStyleNotification.BubbleMetadataNotification.BubbleMetadata.BuilderNotification.BuilderNotification.CallStyleNotification.CarExtenderNotification.CarExtender.BuilderNotification.CarExtender.UnreadConversationNotification.DecoratedCustomViewStyleNotification.DecoratedMediaCustomViewStyleNotification.InboxStyleNotification.MediaStyleNotification.MessagingStyleNotification.MessagingStyle.MessageNotification.StyleNotification.WearableExtenderNotificationChannelNotificationChannelGroupNotificationManagerNotificationManager.PolicyPendingIntentPersonPerson.BuilderPictureInPictureParamsPictureInPictureParams.BuilderPictureInPictureUiStatePresentationProgressDialogRemoteActionRemoteInputRemoteInput.BuilderSearchableInfoSearchManagerServiceSharedElementCallbackStatusBarManagerSyncNotedAppOpTabActivityTaskInfoTaskStackBuilderTimePickerDialogUiAutomationUiModeManagerVoiceInteractorVoiceInteractor.AbortVoiceRequestVoiceInteractor.CommandRequestVoiceInteractor.CompleteVoiceRequestVoiceInteractor.ConfirmationRequestVoiceInteractor.PickOptionRequestVoiceInteractor.PickOptionRequest.OptionVoiceInteractor.PromptVoiceInteractor.RequestWallpaperColorsWallpaperInfoWallpaperManager Exceptions AuthenticationRequiredExceptionBackgroundServiceStartNotAllowedExceptionForegroundServiceStartNotAllowedExceptionFragment.InstantiationExceptionPendingIntent.CanceledExceptionRecoverableSecurityExceptionServiceStartNotAllowedException android.app.admin Overview Interfaces DevicePolicyManager.OnClearApplicationUserDataListener Classes ConnectEventDelegatedAdminReceiverDeviceAdminInfoDeviceAdminReceiverDeviceAdminServiceDevicePolicyManagerDevicePolicyManager.InstallSystemUpdateCallbackDevicePolicyResourcesDevicePolicyResourcesManagerDnsEventFactoryResetProtectionPolicyFactoryResetProtectionPolicy.BuilderFreezePeriodNetworkEventPreferentialNetworkServiceConfigPreferentialNetworkServiceConfig.BuilderSecurityLogSecurityLog.SecurityEventSystemUpdateInfoSystemUpdatePolicyWifiSsidPolicy Exceptions SystemUpdatePolicy.ValidationFailedExceptionUnsafeStateException android.app.appsearch Overview Interfaces BatchResultCallback Classes AppSearchBatchResultAppSearchBatchResult.BuilderAppSearchManagerAppSearchManager.SearchContextAppSearchManager.SearchContext.BuilderAppSearchResultAppSearchSchemaAppSearchSchema.BooleanPropertyConfigAppSearchSchema.BooleanPropertyConfig.BuilderAppSearchSchema.BuilderAppSearchSchema.BytesPropertyConfigAppSearchSchema.BytesPropertyConfig.BuilderAppSearchSchema.DocumentPropertyConfigAppSearchSchema.DocumentPropertyConfig.BuilderAppSearchSchema.DoublePropertyConfigAppSearchSchema.DoublePropertyConfig.BuilderAppSearchSchema.LongPropertyConfigAppSearchSchema.LongPropertyConfig.BuilderAppSearchSchema.PropertyConfigAppSearchSchema.StringPropertyConfigAppSearchSchema.StringPropertyConfig.BuilderAppSearchSessionGenericDocumentGenericDocument.BuilderGetByDocumentIdRequestGetByDocumentIdRequest.BuilderGetSchemaResponseGetSchemaResponse.BuilderGlobalSearchSessionMigratorPackageIdentifierPutDocumentsRequestPutDocumentsRequest.BuilderRemoveByDocumentIdRequestRemoveByDocumentIdRequest.BuilderReportSystemUsageRequestReportSystemUsageRequest.BuilderReportUsageRequestReportUsageRequest.BuilderSearchResultSearchResult.BuilderSearchResult.MatchInfoSearchResult.MatchInfo.BuilderSearchResult.MatchRangeSearchResultsSearchSpecSearchSpec.BuilderSetSchemaRequestSetSchemaRequest.BuilderSetSchemaResponseSetSchemaResponse.BuilderSetSchemaResponse.MigrationFailureStorageInfoStorageInfo.Builder android.app.appsearch.exceptions Overview Exceptions AppSearchException android.app.appsearch.observer Overview Interfaces ObserverCallback Classes DocumentChangeInfoObserverSpecObserverSpec.BuilderSchemaChangeInfo android.app.assist Overview Classes AssistContentAssistStructureAssistStructure.ViewNodeAssistStructure.WindowNode android.app.backup Overview Interfaces BackupHelper Classes BackupAgentBackupAgentHelperBackupDataInputBackupDataInputStreamBackupDataOutputBackupManagerFileBackupHelperFullBackupDataOutputRestoreObserverSharedPreferencesBackupHelper android.app.blob Overview Classes BlobHandleBlobStoreManagerBlobStoreManager.Session android.app.job Overview Classes JobInfoJobInfo.BuilderJobInfo.TriggerContentUriJobParametersJobSchedulerJobServiceJobServiceEngineJobWorkItem android.app.people Overview Classes ConversationStatusConversationStatus.BuilderPeopleManager android.app.role Overview Classes RoleManager android.app.sdksandbox Overview Classes SdkSandboxManager android.app.slice Overview Classes SliceSlice.BuilderSliceItemSliceManagerSliceMetricsSliceProviderSliceSpec android.app.usage Overview Classes ConfigurationStatsEventStatsExternalStorageStatsNetworkStatsNetworkStats.BucketNetworkStatsManagerNetworkStatsManager.UsageCallbackStorageStatsStorageStatsManagerUsageEventsUsageEvents.EventUsageStatsUsageStatsManager android.appwidget Overview Classes AppWidgetHostAppWidgetHostViewAppWidgetManagerAppWidgetProviderAppWidgetProviderInfo android.bluetooth Overview Interfaces BluetoothAdapter.LeScanCallbackBluetoothProfileBluetoothProfile.ServiceListener Classes BluetoothA2dpBluetoothAdapterBluetoothAssignedNumbersBluetoothClassBluetoothClass.DeviceBluetoothClass.Device.MajorBluetoothClass.ServiceBluetoothCodecConfigBluetoothCodecConfig.BuilderBluetoothCodecStatusBluetoothCodecStatus.BuilderBluetoothCsipSetCoordinatorBluetoothDeviceBluetoothGattBluetoothGattCallbackBluetoothGattCharacteristicBluetoothGattDescriptorBluetoothGattServerBluetoothGattServerCallbackBluetoothGattServiceBluetoothHeadsetBluetoothHealthBluetoothHealthAppConfigurationBluetoothHealthCallbackBluetoothHearingAidBluetoothHidDeviceBluetoothHidDevice.CallbackBluetoothHidDeviceAppQosSettingsBluetoothHidDeviceAppSdpSettingsBluetoothLeAudioBluetoothLeAudioCodecConfigBluetoothLeAudioCodecConfig.BuilderBluetoothLeAudioCodecStatusBluetoothManagerBluetoothServerSocketBluetoothSocketBluetoothStatusCodes android.bluetooth.le Overview Classes AdvertiseCallbackAdvertiseDataAdvertiseData.BuilderAdvertiseSettingsAdvertiseSettings.BuilderAdvertisingSetAdvertisingSetCallbackAdvertisingSetParametersAdvertisingSetParameters.BuilderBluetoothLeAdvertiserBluetoothLeScannerPeriodicAdvertisingParametersPeriodicAdvertisingParameters.BuilderScanCallbackScanFilterScanFilter.BuilderScanRecordScanResultScanSettingsScanSettings.BuilderTransportBlockTransportDiscoveryData android.companion Overview Interfaces DeviceFilter Classes AssociationInfoAssociationRequestAssociationRequest.BuilderBluetoothDeviceFilterBluetoothDeviceFilter.BuilderBluetoothLeDeviceFilterBluetoothLeDeviceFilter.BuilderCompanionDeviceManagerCompanionDeviceManager.CallbackCompanionDeviceServiceWifiDeviceFilterWifiDeviceFilter.Builder Exceptions DeviceNotAssociatedException android.content Overview Interfaces ClipboardManager.OnPrimaryClipChangedListenerComponentCallbacksComponentCallbacks2ContentProvider.PipeDataWriterDialogInterfaceDialogInterface.OnCancelListenerDialogInterface.OnClickListenerDialogInterface.OnDismissListenerDialogInterface.OnKeyListenerDialogInterface.OnMultiChoiceClickListenerDialogInterface.OnShowListenerEntityIteratorIntentSender.OnFinishedLoader.OnLoadCanceledListenerLoader.OnLoadCompleteListenerServiceConnectionSharedPreferencesSharedPreferences.EditorSharedPreferences.OnSharedPreferenceChangeListenerSyncStatusObserver Classes AbstractThreadedSyncAdapterAsyncQueryHandlerAsyncQueryHandler.WorkerArgsAsyncQueryHandler.WorkerHandlerAsyncTaskLoaderAttributionSourceAttributionSource.BuilderBroadcastReceiverBroadcastReceiver.PendingResultClipboardManagerClipDataClipData.ItemClipDescriptionComponentNameContentProviderContentProvider.CallingIdentityContentProviderClientContentProviderOperationContentProviderOperation.BuilderContentProviderResultContentQueryMapContentResolverContentResolver.MimeTypeInfoContentUrisContentValuesContextContextParamsContextParams.BuilderContextWrapperCursorLoaderEntityEntity.NamedContentValuesIntentIntent.FilterComparisonIntent.ShortcutIconResourceIntentFilterIntentFilter.AuthorityEntryIntentSenderLoaderLoader.ForceLoadContentObserverLocusIdMutableContextWrapperPeriodicSyncQuickViewConstantsRestrictionEntryRestrictionsManagerSearchRecentSuggestionsProviderSyncAdapterTypeSyncContextSyncInfoSyncRequestSyncRequest.BuilderSyncResultSyncStatsUriMatcherUriPermission Exceptions ActivityNotFoundExceptionIntentFilter.MalformedMimeTypeExceptionIntentSender.SendIntentExceptionOperationApplicationExceptionReceiverCallNotAllowedException android.content.pm Overview Interfaces PackageManager.OnChecksumsReadyListener Classes ActivityInfoActivityInfo.WindowLayoutApkChecksumApplicationInfoApplicationInfo.DisplayNameComparatorAttributionCapabilityCapability.BuilderCapabilityParamsCapabilityParams.BuilderChangedPackagesChecksumComponentInfoConfigurationInfoCrossProfileAppsFeatureGroupInfoFeatureInfoInstallSourceInfoInstrumentationInfoLabeledIntentLauncherActivityInfoLauncherAppsLauncherApps.CallbackLauncherApps.PinItemRequestLauncherApps.ShortcutQueryModuleInfoPackageInfoPackageInstallerPackageInstaller.SessionPackageInstaller.SessionCallbackPackageInstaller.SessionInfoPackageInstaller.SessionParamsPackageItemInfoPackageItemInfo.DisplayNameComparatorPackageManagerPackageManager.ApplicationInfoFlagsPackageManager.ComponentEnabledSettingPackageManager.ComponentInfoFlagsPackageManager.PackageInfoFlagsPackageManager.PropertyPackageManager.ResolveInfoFlagsPackageStatsPathPermissionPermissionGroupInfoPermissionInfoProviderInfoResolveInfoResolveInfo.DisplayNameComparatorServiceInfoSharedLibraryInfoShortcutInfoShortcutInfo.BuilderShortcutManagerSignatureSigningInfoVersionedPackage Exceptions PackageManager.NameNotFoundException android.content.pm.verify.domain Overview Classes DomainVerificationManagerDomainVerificationUserState android.content.res Overview Interfaces XmlResourceParser Classes AssetFileDescriptorAssetFileDescriptor.AutoCloseInputStreamAssetFileDescriptor.AutoCloseOutputStreamAssetManagerAssetManager.AssetInputStreamColorStateListConfigurationObbInfoObbScannerResourcesResources.ThemeTypedArray Exceptions Resources.NotFoundException android.content.res.loader Overview Interfaces AssetsProvider Classes ResourcesLoaderResourcesProvider android.database Overview Interfaces CrossProcessCursorCursorDatabaseErrorHandler Classes AbstractCursorAbstractCursor.SelfContentObserverAbstractWindowedCursorCharArrayBufferContentObservableContentObserverCrossProcessCursorWrapperCursorJoinerCursorWindowCursorWrapperDatabaseUtilsDatabaseUtils.InsertHelperDataSetObservableDataSetObserverDefaultDatabaseErrorHandlerMatrixCursorMatrixCursor.RowBuilderMergeCursorObservable Enums CursorJoiner.Result Exceptions CursorIndexOutOfBoundsExceptionCursorWindowAllocationExceptionSQLExceptionStaleDataException android.database.sqlite Overview Interfaces SQLiteCursorDriverSQLiteDatabase.CursorFactorySQLiteTransactionListener Classes SQLiteClosableSQLiteCursorSQLiteDatabaseSQLiteDatabase.OpenParamsSQLiteDatabase.OpenParams.BuilderSQLiteOpenHelperSQLiteProgramSQLiteQuerySQLiteQueryBuilderSQLiteStatement Exceptions SQLiteAbortExceptionSQLiteAccessPermExceptionSQLiteBindOrColumnIndexOutOfRangeExceptionSQLiteBlobTooBigExceptionSQLiteCantOpenDatabaseExceptionSQLiteConstraintExceptionSQLiteDatabaseCorruptExceptionSQLiteDatabaseLockedExceptionSQLiteDatatypeMismatchExceptionSQLiteDiskIOExceptionSQLiteDoneExceptionSQLiteExceptionSQLiteFullExceptionSQLiteMisuseExceptionSQLiteOutOfMemoryExceptionSQLiteReadOnlyDatabaseExceptionSQLiteTableLockedException android.drm Overview Interfaces DrmManagerClient.OnErrorListenerDrmManagerClient.OnEventListenerDrmManagerClient.OnInfoListenerDrmStore.ConstraintsColumns Classes DrmConvertedStatusDrmErrorEventDrmEventDrmInfoDrmInfoEventDrmInfoRequestDrmInfoStatusDrmManagerClientDrmRightsDrmStoreDrmStore.ActionDrmStore.DrmObjectTypeDrmStore.PlaybackDrmStore.RightsStatusDrmSupportInfoDrmUtilsDrmUtils.ExtendedMetadataParserProcessedData android.gesture Overview Interfaces GestureOverlayView.OnGestureListenerGestureOverlayView.OnGesturePerformedListenerGestureOverlayView.OnGesturingListener Classes GestureGestureLibrariesGestureLibraryGestureOverlayViewGesturePointGestureStoreGestureStrokeGestureUtilsOrientedBoundingBoxPrediction android.graphics Overview Interfaces ImageDecoder.OnHeaderDecodedListenerImageDecoder.OnPartialImageListenerPostProcessorSurfaceTexture.OnFrameAvailableListener Classes BitmapBitmapFactoryBitmapFactory.OptionsBitmapRegionDecoderBitmapShaderBlendModeColorFilterBlurMaskFilterCameraCanvasColorColorFilterColorMatrixColorMatrixColorFilterColorSpaceColorSpace.ConnectorColorSpace.RgbColorSpace.Rgb.TransferParametersComposePathEffectComposeShaderCornerPathEffectDashPathEffectDiscretePathEffectDrawFilterEmbossMaskFilterHardwareRendererHardwareRenderer.FrameRenderRequestImageDecoderImageDecoder.ImageInfoImageDecoder.SourceImageFormatInsetsInterpolatorLightingColorFilterLinearGradientMaskFilterMatrixMovieNinePatchOutlinePaintPaint.FontMetricsPaint.FontMetricsIntPaintFlagsDrawFilterParcelableColorSpacePathPathDashPathEffectPathEffectPathMeasurePicturePixelFormatPointPointFPorterDuffPorterDuffColorFilterPorterDuffXfermodeRadialGradientRecordingCanvasRectRectFRegionRegionIteratorRenderEffectRenderNodeRuntimeShaderShaderSumPathEffectSurfaceTextureSweepGradientTypefaceTypeface.BuilderTypeface.CustomFallbackBuilderXfermodeYuvImage Enums Bitmap.CompressFormatBitmap.ConfigBlendModeBlurMaskFilter.BlurCanvas.EdgeTypeCanvas.VertexModeColorSpace.AdaptationColorSpace.ModelColorSpace.NamedColorSpace.RenderIntentInterpolator.ResultMatrix.ScaleToFitPaint.AlignPaint.CapPaint.JoinPaint.StylePath.DirectionPath.FillTypePath.OpPathDashPathEffect.StylePorterDuff.ModeRegion.OpShader.TileMode Exceptions ImageDecoder.DecodeExceptionSurfaceTexture.OutOfResourcesException android.graphics.drawable Overview Interfaces AnimatableAnimatable2Drawable.CallbackIcon.OnDrawableLoadedListener Classes AdaptiveIconDrawableAnimatable2.AnimationCallbackAnimatedImageDrawableAnimatedStateListDrawableAnimatedVectorDrawableAnimationDrawableBitmapDrawableClipDrawableColorDrawableColorStateListDrawableDrawableDrawable.ConstantStateDrawableContainerDrawableContainer.DrawableContainerStateDrawableWrapperGradientDrawableIconInsetDrawableLayerDrawableLevelListDrawableNinePatchDrawablePaintDrawablePictureDrawableRippleDrawableRotateDrawableScaleDrawableShapeDrawableShapeDrawable.ShaderFactoryStateListDrawableTransitionDrawableVectorDrawable Enums GradientDrawable.Orientation android.graphics.drawable.shapes Overview Classes ArcShapeOvalShapePathShapeRectShapeRoundRectShapeShape android.graphics.fonts Overview Classes FontFont.BuilderFontFamilyFontFamily.BuilderFontStyleFontVariationAxisSystemFonts android.graphics.pdf Overview Classes PdfDocumentPdfDocument.PagePdfDocument.PageInfoPdfDocument.PageInfo.BuilderPdfRendererPdfRenderer.Page android.graphics.text Overview Classes LineBreakConfigLineBreakConfig.BuilderLineBreakerLineBreaker.BuilderLineBreaker.ParagraphConstraintsLineBreaker.ResultMeasuredTextMeasuredText.BuilderPositionedGlyphsTextRunShaper android.hardware Overview Interfaces Camera.AutoFocusCallbackCamera.AutoFocusMoveCallbackCamera.ErrorCallbackCamera.FaceDetectionListenerCamera.OnZoomChangeListenerCamera.PictureCallbackCamera.PreviewCallbackCamera.ShutterCallbackSensorEventListenerSensorEventListener2SensorListener Classes BatteryStateCameraCamera.AreaCamera.CameraInfoCamera.FaceCamera.ParametersCamera.SizeConsumerIrManagerConsumerIrManager.CarrierFrequencyRangeDataSpaceGeomagneticFieldHardwareBufferSensorSensorAdditionalInfoSensorDirectChannelSensorEventSensorEventCallbackSensorManagerSensorManager.DynamicSensorCallbackSensorPrivacyManagerSensorPrivacyManager.SensorsSyncFenceTriggerEventTriggerEventListener android.hardware.biometrics Overview Interfaces BiometricManager.Authenticators Classes BiometricManagerBiometricManager.StringsBiometricPromptBiometricPrompt.AuthenticationCallbackBiometricPrompt.AuthenticationResultBiometricPrompt.BuilderBiometricPrompt.CryptoObject android.hardware.camera2 Overview Classes CameraCaptureSessionCameraCaptureSession.CaptureCallbackCameraCaptureSession.StateCallbackCameraCharacteristicsCameraCharacteristics.KeyCameraConstrainedHighSpeedCaptureSessionCameraDeviceCameraDevice.StateCallbackCameraExtensionCharacteristicsCameraExtensionSessionCameraExtensionSession.ExtensionCaptureCallbackCameraExtensionSession.StateCallbackCameraManagerCameraManager.AvailabilityCallbackCameraManager.TorchCallbackCameraMetadataCameraOfflineSessionCameraOfflineSession.CameraOfflineSessionCallbackCaptureFailureCaptureRequestCaptureRequest.BuilderCaptureRequest.KeyCaptureResultCaptureResult.KeyDngCreatorMultiResolutionImageReaderTotalCaptureResult Exceptions CameraAccessException android.hardware.camera2.params Overview Classes BlackLevelPatternCapabilityColorSpaceTransformDeviceStateSensorOrientationMapDynamicRangeProfilesExtensionSessionConfigurationFaceInputConfigurationLensShadingMapMandatoryStreamCombinationMandatoryStreamCombination.MandatoryStreamInformationMeteringRectangleMultiResolutionStreamConfigurationMapMultiResolutionStreamInfoOisSampleOutputConfigurationRecommendedStreamConfigurationMapRggbChannelVectorSessionConfigurationStreamConfigurationMapTonemapCurve android.hardware.display Overview Interfaces DisplayManager.DisplayListener Classes DeviceProductInfoDisplayManagerVirtualDisplayVirtualDisplay.Callback android.hardware.fingerprint Overview Classes FingerprintManagerFingerprintManager.AuthenticationCallbackFingerprintManager.AuthenticationResultFingerprintManager.CryptoObject android.hardware.input Overview Interfaces InputManager.InputDeviceListener Classes InputManager android.hardware.lights Overview Classes LightLightsManagerLightsManager.LightsSessionLightsRequestLightsRequest.BuilderLightStateLightState.Builder android.hardware.usb Overview Classes UsbAccessoryUsbConfigurationUsbConstantsUsbDeviceUsbDeviceConnectionUsbEndpointUsbInterfaceUsbManagerUsbRequest android.icu.lang Overview Interfaces UCharacter.BidiPairedBracketTypeUCharacter.DecompositionTypeUCharacter.EastAsianWidthUCharacter.GraphemeClusterBreakUCharacter.HangulSyllableTypeUCharacter.IndicPositionalCategoryUCharacter.IndicSyllabicCategoryUCharacter.JoiningGroupUCharacter.JoiningTypeUCharacter.LineBreakUCharacter.NumericTypeUCharacter.SentenceBreakUCharacter.VerticalOrientationUCharacter.WordBreakUCharacterEnums.ECharacterCategoryUCharacterEnums.ECharacterDirectionUPropertyUProperty.NameChoice Classes UCharacterUCharacter.UnicodeBlockUCharacterCategoryUCharacterDirectionUCharacterEnumsUScript Enums UScript.ScriptUsage android.icu.math Overview Classes BigDecimalMathContext android.icu.number Overview Classes CompactNotationCurrencyPrecisionFormattedNumberFormattedNumberRangeFractionPrecisionIntegerWidthLocalizedNumberFormatterLocalizedNumberRangeFormatterNotationNumberFormatterNumberFormatterSettingsNumberRangeFormatterNumberRangeFormatterSettingsPrecisionScaleScientificNotationSimpleNotationUnlocalizedNumberFormatterUnlocalizedNumberRangeFormatter Enums NumberFormatter.DecimalSeparatorDisplayNumberFormatter.GroupingStrategyNumberFormatter.SignDisplayNumberFormatter.UnitWidthNumberRangeFormatter.RangeCollapseNumberRangeFormatter.RangeIdentityFallbackNumberRangeFormatter.RangeIdentityResult android.icu.text Overview Interfaces Collator.ReorderCodesFormattedValueReplaceableSymbolTableUnicodeMatcher Classes AlphabeticIndexAlphabeticIndex.BucketAlphabeticIndex.ImmutableIndexAlphabeticIndex.RecordBidiBidiClassifierBidiRunBreakIteratorCaseMapCaseMap.FoldCaseMap.LowerCaseMap.TitleCaseMap.UpperCollationElementIteratorCollationKeyCollationKey.BoundModeCollatorCompactDecimalFormatConstrainedFieldPositionCurrencyPluralInfoDateFormatDateFormat.FieldDateFormatSymbolsDateIntervalFormatDateIntervalFormat.FormattedDateIntervalDateIntervalInfoDateIntervalInfo.PatternInfoDateTimePatternGeneratorDateTimePatternGenerator.PatternInfoDecimalFormatDecimalFormatSymbolsEditsEdits.IteratorIDNAIDNA.InfoListFormatterListFormatter.FormattedListLocaleDisplayNamesLocaleDisplayNames.UiListItemMeasureFormatMessageFormatMessageFormat.FieldMessagePatternMessagePattern.PartNormalizerNormalizer.QuickCheckResultNormalizer2NumberFormatNumberFormat.FieldNumberingSystemPluralFormatPluralRulesRelativeDateTimeFormatterRelativeDateTimeFormatter.FormattedRelativeDateTimeRuleBasedCollatorScientificNumberFormatterSearchIteratorSelectFormatSimpleDateFormatStringSearchTimeZoneFormatTimeZoneNamesTransliteratorTransliterator.PositionUCharacterIteratorUFormatUnicodeFilterUnicodeSetUnicodeSet.EntryRangeUnicodeSetIteratorUnicodeSetSpanner Enums AlphabeticIndex.Bucket.LabelTypeCompactDecimalFormat.CompactStyleDateFormat.BooleanAttributeDateFormat.HourCycleDateTimePatternGenerator.DisplayWidthDisplayContextDisplayContext.TypeIDNA.ErrorListFormatter.TypeListFormatter.WidthLocaleDisplayNames.DialectHandlingMeasureFormat.FormatWidthMessagePattern.ApostropheModeMessagePattern.ArgTypeMessagePattern.Part.TypeNormalizer2.ModePluralRules.PluralTypeRelativeDateTimeFormatter.AbsoluteUnitRelativeDateTimeFormatter.DirectionRelativeDateTimeFormatter.RelativeDateTimeUnitRelativeDateTimeFormatter.RelativeUnitRelativeDateTimeFormatter.StyleSearchIterator.ElementComparisonTypeTimeZoneFormat.GMTOffsetPatternTypeTimeZoneFormat.ParseOptionTimeZoneFormat.StyleTimeZoneFormat.TimeTypeTimeZoneNames.NameTypeUnicodeSet.ComparisonStyleUnicodeSet.SpanConditionUnicodeSetSpanner.CountMethodUnicodeSetSpanner.TrimOption Exceptions StringPrepParseException android.icu.util Overview Interfaces FreezableRangeValueIteratorValueIterator Classes BuddhistCalendarCalendarCalendar.WeekDataChineseCalendarCopticCalendarCurrencyCurrencyAmountDateIntervalEthiopicCalendarGregorianCalendarHebrewCalendarIndianCalendarIslamicCalendarJapaneseCalendarLocaleDataLocaleData.MeasurementSystemLocaleData.PaperSizeMeasureMeasureUnitOutputRangeValueIterator.ElementTaiwanCalendarTimeUnitTimeZoneULocaleULocale.BuilderUniversalTimeScaleValueIterator.ElementVersionInfo Enums Currency.CurrencyUsageIslamicCalendar.CalculationTypeMeasureUnit.ComplexityTimeZone.SystemTimeZoneTypeULocale.AvailableTypeULocale.Category Exceptions ICUUncheckedIOExceptionIllformedLocaleException android.inputmethodservice Overview Interfaces KeyboardView.OnKeyboardActionListener Classes AbstractInputMethodServiceAbstractInputMethodService.AbstractInputMethodImplAbstractInputMethodService.AbstractInputMethodSessionImplExtractEditTextInputMethodServiceInputMethodService.InputMethodImplInputMethodService.InputMethodSessionImplInputMethodService.InsetsKeyboardKeyboard.KeyKeyboard.RowKeyboardView android.location Overview Interfaces Geocoder.GeocodeListenerGnssAntennaInfo.ListenerGpsStatus.ListenerGpsStatus.NmeaListenerLocationListenerOnNmeaMessageListener Classes AddressCriteriaGeocoderGnssAntennaInfoGnssAntennaInfo.BuilderGnssAntennaInfo.PhaseCenterOffsetGnssAntennaInfo.SphericalCorrectionsGnssAutomaticGainControlGnssAutomaticGainControl.BuilderGnssCapabilitiesGnssCapabilities.BuilderGnssClockGnssMeasurementGnssMeasurementRequestGnssMeasurementRequest.BuilderGnssMeasurementsEventGnssMeasurementsEvent.BuilderGnssMeasurementsEvent.CallbackGnssNavigationMessageGnssNavigationMessage.CallbackGnssStatusGnssStatus.BuilderGnssStatus.CallbackGpsSatelliteGpsStatusLocationLocationManagerLocationProviderLocationRequestLocationRequest.BuilderSettingInjectorService android.location.provider Overview Classes ProviderPropertiesProviderProperties.Builder android.media Overview Annotations MediaDrm.HdcpLevelMediaDrm.SecurityLevel Interfaces AudioManager.OnAudioFocusChangeListenerAudioManager.OnCommunicationDeviceChangedListenerAudioManager.OnModeChangedListenerAudioMetadata.KeyAudioMetadataMapAudioMetadataReadMapAudioRecord.OnRecordPositionUpdateListenerAudioRecord.OnRoutingChangedListenerAudioRecordingMonitorAudioRoutingAudioRouting.OnRoutingChangedListenerAudioTrack.OnCodecFormatChangedListenerAudioTrack.OnPlaybackPositionUpdateListenerAudioTrack.OnRoutingChangedListenerImageReader.OnImageAvailableListenerImageWriter.OnImageReleasedListenerJetPlayer.OnJetEventListenerMediaCas.EventListenerMediaCodec.OnFirstTunnelFrameReadyListenerMediaCodec.OnFrameRenderedListenerMediaDrm.OnEventListenerMediaDrm.OnExpirationUpdateListenerMediaDrm.OnKeyStatusChangeListenerMediaDrm.OnSessionLostStateListenerMediaParser.InputReaderMediaParser.OutputConsumerMediaParser.SeekableInputReaderMediaPlayer.OnBufferingUpdateListenerMediaPlayer.OnCompletionListenerMediaPlayer.OnDrmConfigHelperMediaPlayer.OnDrmInfoListenerMediaPlayer.OnDrmPreparedListenerMediaPlayer.OnErrorListenerMediaPlayer.OnInfoListenerMediaPlayer.OnMediaTimeDiscontinuityListenerMediaPlayer.OnPreparedListenerMediaPlayer.OnSeekCompleteListenerMediaPlayer.OnSubtitleDataListenerMediaPlayer.OnTimedMetaDataAvailableListenerMediaPlayer.OnTimedTextListenerMediaPlayer.OnVideoSizeChangedListenerMediaRecorder.OnErrorListenerMediaRecorder.OnInfoListenerMediaRouter2.OnGetControllerHintsListenerMediaScannerConnection.MediaScannerConnectionClientMediaScannerConnection.OnScanCompletedListenerMediaSync.OnErrorListenerMicrophoneDirectionRemoteControlClient.OnGetPlaybackPositionListenerRemoteControlClient.OnMetadataUpdateListenerRemoteControlClient.OnPlaybackPositionUpdateListenerRemoteController.OnClientUpdateListenerSoundPool.OnLoadCompleteListenerSpatializer.OnHeadTrackerAvailableListenerSpatializer.OnSpatializerStateChangedListenerVolumeAutomation Classes ApplicationMediaCapabilitiesApplicationMediaCapabilities.BuilderAsyncPlayerAudioAttributesAudioAttributes.BuilderAudioDescriptorAudioDeviceCallbackAudioDeviceInfoAudioFocusRequestAudioFocusRequest.BuilderAudioFormatAudioFormat.BuilderAudioManagerAudioManager.AudioPlaybackCallbackAudioManager.AudioRecordingCallbackAudioMetadataAudioMetadata.FormatAudioPlaybackCaptureConfigurationAudioPlaybackCaptureConfiguration.BuilderAudioPlaybackConfigurationAudioPresentationAudioPresentation.BuilderAudioProfileAudioRecordAudioRecord.BuilderAudioRecord.MetricsConstantsAudioRecordingConfigurationAudioTimestampAudioTrackAudioTrack.BuilderAudioTrack.MetricsConstantsAudioTrack.StreamEventCallbackCamcorderProfileCameraProfileDrmInitDataDrmInitData.SchemeInitDataEncoderProfilesEncoderProfiles.AudioProfileEncoderProfiles.VideoProfileExifInterfaceFaceDetectorFaceDetector.FaceImageImage.PlaneImageReaderImageReader.BuilderImageWriterImageWriter.BuilderJetPlayerMediaActionSoundMediaCasMediaCas.PluginDescriptorMediaCas.SessionMediaCodecMediaCodec.BufferInfoMediaCodec.CallbackMediaCodec.CryptoInfoMediaCodec.CryptoInfo.PatternMediaCodec.LinearBlockMediaCodec.MetricsConstantsMediaCodec.OutputFrameMediaCodec.ParameterDescriptorMediaCodec.QueueRequestMediaCodecInfoMediaCodecInfo.AudioCapabilitiesMediaCodecInfo.CodecCapabilitiesMediaCodecInfo.CodecProfileLevelMediaCodecInfo.EncoderCapabilitiesMediaCodecInfo.VideoCapabilitiesMediaCodecInfo.VideoCapabilities.PerformancePointMediaCodecListMediaCommunicationManagerMediaController2MediaController2.BuilderMediaController2.ControllerCallbackMediaCryptoMediaDataSourceMediaDescramblerMediaDescriptionMediaDescription.BuilderMediaDrmMediaDrm.CryptoSessionMediaDrm.ErrorCodesMediaDrm.KeyRequestMediaDrm.KeyStatusMediaDrm.LogMessageMediaDrm.MetricsConstantsMediaDrm.PlaybackComponentMediaDrm.ProvisionRequestMediaExtractorMediaExtractor.CasInfoMediaExtractor.MetricsConstantsMediaFeatureMediaFeature.HdrTypeMediaFormatMediaMetadataMediaMetadata.BuilderMediaMetadataEditorMediaMetadataRetrieverMediaMetadataRetriever.BitmapParamsMediaMuxerMediaMuxer.OutputFormatMediaParserMediaParser.SeekMapMediaParser.SeekPointMediaParser.TrackDataMediaPlayerMediaPlayer.DrmInfoMediaPlayer.MetricsConstantsMediaPlayer.TrackInfoMediaRecorderMediaRecorder.AudioEncoderMediaRecorder.AudioSourceMediaRecorder.MetricsConstantsMediaRecorder.OutputFormatMediaRecorder.VideoEncoderMediaRecorder.VideoSourceMediaRoute2InfoMediaRoute2Info.BuilderMediaRoute2ProviderServiceMediaRouterMediaRouter.CallbackMediaRouter.RouteCategoryMediaRouter.RouteGroupMediaRouter.RouteInfoMediaRouter.SimpleCallbackMediaRouter.UserRouteInfoMediaRouter.VolumeCallbackMediaRouter2MediaRouter2.ControllerCallbackMediaRouter2.RouteCallbackMediaRouter2.RoutingControllerMediaRouter2.TransferCallbackMediaScannerConnectionMediaSession2MediaSession2.BuilderMediaSession2.ControllerInfoMediaSession2.SessionCallbackMediaSession2ServiceMediaSession2Service.MediaNotificationMediaSyncMediaSync.CallbackMediaSyncEventMediaTimestampMicrophoneInfoMicrophoneInfo.Coordinate3FPlaybackParamsRatingRemoteControlClientRemoteControlClient.MetadataEditorRemoteControllerRemoteController.MetadataEditorRingtoneRingtoneManagerRouteDiscoveryPreferenceRouteDiscoveryPreference.BuilderRoutingSessionInfoRoutingSessionInfo.BuilderSession2CommandSession2Command.ResultSession2CommandGroupSession2CommandGroup.BuilderSession2TokenSoundPoolSoundPool.BuilderSpatializerSubtitleDataSyncParamsThumbnailUtilsTimedMetaDataTimedTextToneGeneratorVolumeProviderVolumeShaperVolumeShaper.ConfigurationVolumeShaper.Configuration.BuilderVolumeShaper.Operation Exceptions DeniedByServerExceptionMediaCasExceptionMediaCasException.DeniedByServerExceptionMediaCasException.InsufficientResourceExceptionMediaCasException.NotProvisionedExceptionMediaCasException.ResourceBusyExceptionMediaCasException.UnsupportedCasExceptionMediaCasStateExceptionMediaCodec.CodecExceptionMediaCodec.CryptoExceptionMediaCodec.IncompatibleWithBlockModelExceptionMediaCryptoExceptionMediaDrm.MediaDrmStateExceptionMediaDrm.SessionExceptionMediaDrmExceptionMediaDrmResetExceptionMediaParser.ParsingExceptionMediaParser.UnrecognizedInputFormatExceptionMediaPlayer.NoDrmSchemeExceptionMediaPlayer.ProvisioningNetworkErrorExceptionMediaPlayer.ProvisioningServerErrorExceptionNotProvisionedExceptionResourceBusyExceptionUnsupportedSchemeException android.media.audiofx Overview Interfaces AudioEffect.OnControlStatusChangeListenerAudioEffect.OnEnableStatusChangeListenerBassBoost.OnParameterChangeListenerEnvironmentalReverb.OnParameterChangeListenerEqualizer.OnParameterChangeListenerPresetReverb.OnParameterChangeListenerVirtualizer.OnParameterChangeListenerVisualizer.OnDataCaptureListener Classes AcousticEchoCancelerAudioEffectAudioEffect.DescriptorAutomaticGainControlBassBoostBassBoost.SettingsDynamicsProcessingDynamicsProcessing.BandBaseDynamicsProcessing.BandStageDynamicsProcessing.ChannelDynamicsProcessing.ConfigDynamicsProcessing.Config.BuilderDynamicsProcessing.EqDynamicsProcessing.EqBandDynamicsProcessing.LimiterDynamicsProcessing.MbcDynamicsProcessing.MbcBandDynamicsProcessing.StageEnvironmentalReverbEnvironmentalReverb.SettingsEqualizerEqualizer.SettingsHapticGeneratorLoudnessEnhancerNoiseSuppressorPresetReverbPresetReverb.SettingsVirtualizerVirtualizer.SettingsVisualizerVisualizer.MeasurementPeakRms android.media.browse Overview Classes MediaBrowserMediaBrowser.ConnectionCallbackMediaBrowser.ItemCallbackMediaBrowser.MediaItemMediaBrowser.SubscriptionCallback android.media.effect Overview Interfaces EffectUpdateListener Classes EffectEffectContextEffectFactory android.media.metrics Overview Classes BundleSessionEditingSessionEventLogSessionIdMediaMetricsManagerNetworkEventNetworkEvent.BuilderPlaybackErrorEventPlaybackErrorEvent.BuilderPlaybackMetricsPlaybackMetrics.BuilderPlaybackSessionPlaybackStateEventPlaybackStateEvent.BuilderRecordingSessionTrackChangeEventTrackChangeEvent.BuilderTranscodingSession android.media.midi Overview Interfaces MidiManager.OnDeviceOpenedListener Classes MidiDeviceMidiDevice.MidiConnectionMidiDeviceInfoMidiDeviceInfo.PortInfoMidiDeviceServiceMidiDeviceStatusMidiInputPortMidiManagerMidiManager.DeviceCallbackMidiOutputPortMidiReceiverMidiSender android.media.projection Overview Classes MediaProjectionMediaProjection.CallbackMediaProjectionManager android.media.session Overview Interfaces MediaSessionManager.OnActiveSessionsChangedListenerMediaSessionManager.OnMediaKeyEventSessionChangedListenerMediaSessionManager.OnSession2TokensChangedListener Classes MediaControllerMediaController.CallbackMediaController.PlaybackInfoMediaController.TransportControlsMediaSessionMediaSession.CallbackMediaSession.QueueItemMediaSession.TokenMediaSessionManagerMediaSessionManager.RemoteUserInfoPlaybackStatePlaybackState.BuilderPlaybackState.CustomActionPlaybackState.CustomAction.Builder android.media.tv Overview Interfaces TvContract.BaseTvColumnsTvView.OnUnhandledInputEventListener Classes AdRequestAdResponseAitInfoBroadcastInfoRequestBroadcastInfoResponseCommandRequestCommandResponseDsmccRequestDsmccResponsePesRequestPesResponseSectionRequestSectionResponseStreamEventRequestStreamEventResponseTableRequestTableResponseTimelineRequestTimelineResponseTsRequestTsResponseTvContentRatingTvContractTvContract.ChannelsTvContract.Channels.LogoTvContract.PreviewProgramsTvContract.ProgramsTvContract.Programs.GenresTvContract.RecordedProgramsTvContract.WatchNextProgramsTvInputInfoTvInputInfo.BuilderTvInputManagerTvInputManager.TvInputCallbackTvInputServiceTvInputService.HardwareSessionTvInputService.RecordingSessionTvInputService.SessionTvRecordingClientTvRecordingClient.RecordingCallbackTvTrackInfoTvTrackInfo.BuilderTvViewTvView.TimeShiftPositionCallbackTvView.TvInputCallback android.media.tv.interactive Overview Interfaces TvInteractiveAppView.OnUnhandledInputEventListener Classes AppLinkInfoTvInteractiveAppManagerTvInteractiveAppManager.TvInteractiveAppCallbackTvInteractiveAppServiceTvInteractiveAppService.SessionTvInteractiveAppServiceInfoTvInteractiveAppViewTvInteractiveAppView.TvInteractiveAppCallback android.mtp Overview Classes MtpConstantsMtpDeviceMtpDeviceInfoMtpEventMtpObjectInfoMtpObjectInfo.BuilderMtpStorageInfo android.net Overview Interfaces ConnectivityManager.OnNetworkActiveListenerDnsResolver.CallbackTransportInfoUrlQuerySanitizer.ValueSanitizer Classes CaptivePortalConnectivityDiagnosticsManagerConnectivityDiagnosticsManager.ConnectivityDiagnosticsCallbackConnectivityDiagnosticsManager.ConnectivityReportConnectivityDiagnosticsManager.DataStallReportConnectivityManagerConnectivityManager.NetworkCallbackCredentialsDhcpInfoDnsResolverEthernetNetworkSpecifierIkev2VpnProfileIkev2VpnProfile.BuilderInetAddressesIpConfigurationIpConfiguration.BuilderIpPrefixIpSecAlgorithmIpSecManagerIpSecManager.SecurityParameterIndexIpSecManager.UdpEncapsulationSocketIpSecTransformIpSecTransform.BuilderLinkAddressLinkPropertiesLocalServerSocketLocalSocketLocalSocketAddressMacAddressMailToNetworkNetworkCapabilitiesNetworkInfoNetworkRequestNetworkRequest.BuilderNetworkSpecifierPlatformVpnProfileProxyProxyInfoRouteInfoSocketKeepaliveSocketKeepalive.CallbackSSLCertificateSocketFactorySSLSessionCacheStaticIpConfigurationStaticIpConfiguration.BuilderTelephonyNetworkSpecifierTelephonyNetworkSpecifier.BuilderTrafficStatsUriUri.BuilderUrlQuerySanitizerUrlQuerySanitizer.IllegalCharacterValueSanitizerUrlQuerySanitizer.ParameterValuePairVpnManagerVpnProfileStateVpnServiceVpnService.Builder Enums LocalSocketAddress.NamespaceNetworkInfo.DetailedStateNetworkInfo.State Exceptions DnsResolver.DnsExceptionIpSecManager.ResourceUnavailableExceptionIpSecManager.SpiUnavailableExceptionParseException android.net.eap Overview Classes EapAkaInfoEapAkaInfo.BuilderEapInfoEapSessionConfigEapSessionConfig.BuilderEapSessionConfig.EapAkaConfigEapSessionConfig.EapAkaOptionEapSessionConfig.EapAkaOption.BuilderEapSessionConfig.EapAkaPrimeConfigEapSessionConfig.EapMethodConfigEapSessionConfig.EapMsChapV2ConfigEapSessionConfig.EapSimConfigEapSessionConfig.EapTtlsConfig android.net.http Overview Classes HttpResponseCacheSslCertificateSslCertificate.DNameSslErrorX509TrustManagerExtensions android.net.ipsec.ike Overview Interfaces ChildSessionCallbackIkeSessionCallbackTunnelModeChildSessionParams.ConfigRequestIpv4AddressTunnelModeChildSessionParams.ConfigRequestIpv4DhcpServerTunnelModeChildSessionParams.ConfigRequestIpv4DnsServerTunnelModeChildSessionParams.ConfigRequestIpv4NetmaskTunnelModeChildSessionParams.ConfigRequestIpv6AddressTunnelModeChildSessionParams.ConfigRequestIpv6DnsServerTunnelModeChildSessionParams.TunnelModeChildConfigRequest Classes ChildSaProposalChildSaProposal.BuilderChildSessionConfigurationChildSessionConfiguration.BuilderChildSessionParamsIkeDerAsn1DnIdentificationIkeFqdnIdentificationIkeIdentificationIkeIpv4AddrIdentificationIkeIpv6AddrIdentificationIkeKeyIdIdentificationIkeRfc822AddrIdentificationIkeSaProposalIkeSaProposal.BuilderIkeSessionIkeSessionConfigurationIkeSessionConfiguration.BuilderIkeSessionConnectionInfoIkeSessionParamsIkeSessionParams.BuilderIkeSessionParams.IkeAuthConfigIkeSessionParams.IkeAuthDigitalSignLocalConfigIkeSessionParams.IkeAuthDigitalSignRemoteConfigIkeSessionParams.IkeAuthEapConfigIkeSessionParams.IkeAuthPskConfigIkeTrafficSelectorIkeTunnelConnectionParamsSaProposalTransportModeChildSessionParamsTransportModeChildSessionParams.BuilderTunnelModeChildSessionParamsTunnelModeChildSessionParams.Builder android.net.ipsec.ike.exceptions Overview Exceptions IkeExceptionIkeInternalExceptionIkeIOExceptionIkeNetworkLostExceptionIkeNonProtocolExceptionIkeProtocolExceptionIkeTimeoutExceptionInvalidKeExceptionInvalidMajorVersionExceptionInvalidSelectorsException android.net.nsd Overview Interfaces NsdManager.DiscoveryListenerNsdManager.RegistrationListenerNsdManager.ResolveListener Classes NsdManagerNsdServiceInfo android.net.rtp Overview Classes AudioCodecAudioGroupAudioStreamRtpStream android.net.sip Overview Interfaces SipRegistrationListener Classes SipAudioCallSipAudioCall.ListenerSipErrorCodeSipManagerSipProfileSipProfile.BuilderSipSessionSipSession.ListenerSipSession.State Exceptions SipException android.net.ssl Overview Classes SSLEnginesSSLSockets android.net.vcn Overview Classes VcnCellUnderlyingNetworkTemplateVcnCellUnderlyingNetworkTemplate.BuilderVcnConfigVcnConfig.BuilderVcnGatewayConnectionConfigVcnGatewayConnectionConfig.BuilderVcnManagerVcnManager.VcnStatusCallbackVcnUnderlyingNetworkTemplateVcnWifiUnderlyingNetworkTemplateVcnWifiUnderlyingNetworkTemplate.Builder android.net.wifi Overview Interfaces WifiManager.SuggestionConnectionStatusListenerWifiManager.SuggestionUserApprovalStatusListener Classes EasyConnectStatusCallbackMloLinkScanResultScanResult.InformationElementSoftApConfigurationWifiConfigurationWifiConfiguration.AuthAlgorithmWifiConfiguration.GroupCipherWifiConfiguration.GroupMgmtCipherWifiConfiguration.KeyMgmtWifiConfiguration.PairwiseCipherWifiConfiguration.ProtocolWifiConfiguration.StatusWifiEnterpriseConfigWifiEnterpriseConfig.EapWifiEnterpriseConfig.Phase2WifiInfoWifiInfo.BuilderWifiManagerWifiManager.AddNetworkResultWifiManager.InterfaceCreationImpactWifiManager.LocalOnlyHotspotCallbackWifiManager.LocalOnlyHotspotReservationWifiManager.MulticastLockWifiManager.ScanResultsCallbackWifiManager.SubsystemRestartTrackingCallbackWifiManager.WifiLockWifiManager.WpsCallbackWifiNetworkSpecifierWifiNetworkSpecifier.BuilderWifiNetworkSuggestionWifiNetworkSuggestion.BuilderWifiSsidWpsInfo Enums SupplicantState android.net.wifi.aware Overview Classes AttachCallbackAwareResourcesCharacteristicsDiscoverySessionDiscoverySessionCallbackIdentityChangedListenerParcelablePeerHandlePeerHandlePublishConfigPublishConfig.BuilderPublishDiscoverySessionServiceDiscoveryInfoSubscribeConfigSubscribeConfig.BuilderSubscribeDiscoverySessionWifiAwareChannelInfoWifiAwareDataPathSecurityConfigWifiAwareDataPathSecurityConfig.BuilderWifiAwareManagerWifiAwareNetworkInfoWifiAwareNetworkSpecifierWifiAwareNetworkSpecifier.BuilderWifiAwareSession android.net.wifi.hotspot2 Overview Classes ConfigParserPasspointConfiguration android.net.wifi.hotspot2.omadm Overview Classes PpsMoParser android.net.wifi.hotspot2.pps Overview Classes CredentialCredential.CertificateCredentialCredential.SimCredentialCredential.UserCredentialHomeSp android.net.wifi.p2p Overview Interfaces WifiP2pManager.ActionListenerWifiP2pManager.ChannelListenerWifiP2pManager.ConnectionInfoListenerWifiP2pManager.DeviceInfoListenerWifiP2pManager.DiscoveryStateListenerWifiP2pManager.DnsSdServiceResponseListenerWifiP2pManager.DnsSdTxtRecordListenerWifiP2pManager.ExternalApproverRequestListenerWifiP2pManager.GroupInfoListenerWifiP2pManager.NetworkInfoListenerWifiP2pManager.P2pStateListenerWifiP2pManager.PeerListListenerWifiP2pManager.ServiceResponseListenerWifiP2pManager.UpnpServiceResponseListener Classes WifiP2pConfigWifiP2pConfig.BuilderWifiP2pDeviceWifiP2pDeviceListWifiP2pGroupWifiP2pInfoWifiP2pManagerWifiP2pManager.ChannelWifiP2pWfdInfo android.net.wifi.p2p.nsd Overview Classes WifiP2pDnsSdServiceInfoWifiP2pDnsSdServiceRequestWifiP2pServiceInfoWifiP2pServiceRequestWifiP2pUpnpServiceInfoWifiP2pUpnpServiceRequest android.net.wifi.rtt Overview Classes CivicLocationKeysRangingRequestRangingRequest.BuilderRangingResultRangingResultCallbackResponderConfigResponderConfig.BuilderResponderLocationWifiRttManager android.nfc Overview Interfaces NfcAdapter.CreateBeamUrisCallbackNfcAdapter.CreateNdefMessageCallbackNfcAdapter.OnNdefPushCompleteCallbackNfcAdapter.OnTagRemovedListenerNfcAdapter.ReaderCallback Classes NdefMessageNdefRecordNfcAdapterNfcEventNfcManagerTag Exceptions FormatExceptionTagLostException android.nfc.cardemulation Overview Classes CardEmulationHostApduServiceHostNfcFServiceNfcFCardEmulationOffHostApduService android.nfc.tech Overview Interfaces TagTechnology Classes IsoDepMifareClassicMifareUltralightNdefNdefFormatableNfcANfcBNfcBarcodeNfcFNfcV android.opengl Overview Interfaces GLES31Ext.DebugProcKHRGLES32.DebugProcGLSurfaceView.EGLConfigChooserGLSurfaceView.EGLContextFactoryGLSurfaceView.EGLWindowSurfaceFactoryGLSurfaceView.GLWrapperGLSurfaceView.Renderer Classes EGL14EGL15EGLConfigEGLContextEGLDisplayEGLExtEGLImageEGLObjectHandleEGLSurfaceEGLSyncETC1ETC1UtilETC1Util.ETC1TextureGLDebugHelperGLES10GLES10ExtGLES11GLES11ExtGLES20GLES30GLES31GLES31ExtGLES32GLSurfaceViewGLUGLUtilsMatrixVisibility Exceptions GLException android.os Overview Interfaces CancellationSignal.OnCancelListenerFileUtils.ProgressListenerHandler.CallbackIBinderIBinder.DeathRecipientIInterfaceMessageQueue.IdleHandlerMessageQueue.OnFileDescriptorEventListenerOutcomeReceiverParcelableParcelable.ClassLoaderCreatorParcelable.CreatorParcelFileDescriptor.OnCloseListenerPowerManager.OnThermalStatusChangedListenerPowerManager.WakeLockStateListenerRecoverySystem.ProgressListenerStrictMode.OnThreadViolationListenerStrictMode.OnVmViolationListener Classes AsyncTaskBaseBundleBatteryManagerBinderBugreportManagerBugreportManager.BugreportCallbackBuildBuild.PartitionBuild.VERSIONBuild.VERSION_CODESBundleCancellationSignalCombinedVibrationCombinedVibration.ParallelCombinationConditionVariableCountDownTimerCpuUsageInfoDebugDebug.InstructionCountDebug.MemoryInfoDropBoxManagerDropBoxManager.EntryEnvironmentFileObserverFileUtilsHandlerHandlerThreadHardwarePropertiesManagerLocaleListLooperMemoryFileMessageMessageQueueMessengerParcelParcelFileDescriptorParcelFileDescriptor.AutoCloseInputStreamParcelFileDescriptor.AutoCloseOutputStreamParcelUuidPatternMatcherPerformanceHintManagerPerformanceHintManager.SessionPersistableBundlePowerManagerPowerManager.WakeLockProcessProxyFileDescriptorCallbackRecoverySystemRemoteCallbackListResultReceiverSharedMemoryStatFsStrictModeStrictMode.ThreadPolicyStrictMode.ThreadPolicy.BuilderStrictMode.VmPolicyStrictMode.VmPolicy.BuilderSystemClockTestLooperManagerTokenWatcherTraceUserHandleUserManagerVibrationAttributesVibrationAttributes.BuilderVibrationEffectVibrationEffect.CompositionVibratorVibratorManagerWorkSource Enums AsyncTask.Status Exceptions BadParcelableExceptionDeadObjectExceptionDeadSystemExceptionFileUriExposedExceptionLimitExceededExceptionNetworkOnMainThreadExceptionOperationCanceledExceptionParcelFileDescriptor.FileDescriptorDetachedExceptionParcelFormatExceptionRemoteExceptionTransactionTooLargeExceptionUserManager.UserOperationException android.os.ext Overview Classes SdkExtensions android.os.health Overview Classes HealthStatsPackageHealthStatsPidHealthStatsProcessHealthStatsServiceHealthStatsSystemHealthManagerTimerStatUidHealthStats android.os.storage Overview Classes OnObbStateChangeListenerStorageManagerStorageManager.StorageVolumeCallbackStorageVolume android.os.strictmode Overview Classes CleartextNetworkViolationContentUriWithoutPermissionViolationCredentialProtectedWhileLockedViolationCustomViolationDiskReadViolationDiskWriteViolationFileUriExposedViolationImplicitDirectBootViolationIncorrectContextUseViolationInstanceCountViolationIntentReceiverLeakedViolationLeakedClosableViolationNetworkViolationNonSdkApiUsedViolationResourceMismatchViolationServiceConnectionLeakedViolationSqliteObjectLeakedViolationUnbufferedIoViolationUnsafeIntentLaunchViolationUntaggedSocketViolationViolationWebViewMethodCalledOnWrongThreadViolation android.preference Overview Interfaces Preference.OnPreferenceChangeListenerPreference.OnPreferenceClickListenerPreferenceDataStorePreferenceFragment.OnPreferenceStartFragmentCallbackPreferenceManager.OnActivityDestroyListenerPreferenceManager.OnActivityResultListenerPreferenceManager.OnActivityStopListener Classes CheckBoxPreferenceDialogPreferenceEditTextPreferenceListPreferenceMultiSelectListPreferencePreferencePreference.BaseSavedStatePreferenceActivityPreferenceActivity.HeaderPreferenceCategoryPreferenceFragmentPreferenceGroupPreferenceManagerPreferenceScreenRingtonePreferenceSwitchPreferenceTwoStatePreference android.print Overview Classes PageRangePrintAttributesPrintAttributes.BuilderPrintAttributes.MarginsPrintAttributes.MediaSizePrintAttributes.ResolutionPrintDocumentAdapterPrintDocumentAdapter.LayoutResultCallbackPrintDocumentAdapter.WriteResultCallbackPrintDocumentInfoPrintDocumentInfo.BuilderPrinterCapabilitiesInfoPrinterCapabilitiesInfo.BuilderPrinterIdPrinterInfoPrinterInfo.BuilderPrintJobPrintJobIdPrintJobInfoPrintJobInfo.BuilderPrintManager android.print.pdf Overview Classes PrintedPdfDocument android.printservice Overview Classes CustomPrinterIconCallbackPrintDocumentPrinterDiscoverySessionPrintJobPrintService android.provider Overview Interfaces BaseColumnsCalendarContract.AttendeesColumnsCalendarContract.CalendarAlertsColumnsCalendarContract.CalendarCacheColumnsCalendarContract.CalendarColumnsCalendarContract.CalendarSyncColumnsCalendarContract.ColorsColumnsCalendarContract.EventDaysColumnsCalendarContract.EventsColumnsCalendarContract.ExtendedPropertiesColumnsCalendarContract.RemindersColumnsCalendarContract.SyncColumnsContacts.ContactMethodsColumnsContacts.ExtensionsColumnsContacts.GroupsColumnsContacts.OrganizationColumnsContacts.PeopleColumnsContacts.PhonesColumnsContacts.PhotosColumnsContacts.PresenceColumnsContacts.SettingsColumnsContactsContract.BaseSyncColumnsContactsContract.CommonDataKinds.BaseTypesContactsContract.CommonDataKinds.CommonColumnsContactsContract.ContactNameColumnsContactsContract.ContactOptionsColumnsContactsContract.ContactsColumnsContactsContract.ContactStatusColumnsContactsContract.DataColumnsContactsContract.DataColumnsWithJoinsContactsContract.DataUsageStatColumnsContactsContract.DeletedContactsColumnsContactsContract.DisplayNameSourcesContactsContract.FullNameStyleContactsContract.GroupsColumnsContactsContract.PhoneLookupColumnsContactsContract.PhoneticNameStyleContactsContract.PresenceColumnsContactsContract.RawContactsColumnsContactsContract.SettingsColumnsContactsContract.StatusColumnsContactsContract.SyncColumnsMediaStore.Audio.AlbumColumnsMediaStore.Audio.ArtistColumnsMediaStore.Audio.AudioColumnsMediaStore.Audio.GenresColumnsMediaStore.Audio.PlaylistsColumnsMediaStore.DownloadColumnsMediaStore.Files.FileColumnsMediaStore.Images.ImageColumnsMediaStore.MediaColumnsMediaStore.Video.VideoColumnsOpenableColumnsSyncStateContract.ColumnsTelephony.BaseMmsColumnsTelephony.CanonicalAddressesColumnsTelephony.TextBasedSmsColumnsTelephony.ThreadsColumns Classes AlarmClockBlockedNumberContractBlockedNumberContract.BlockedNumbersBrowserCalendarContractCalendarContract.AttendeesCalendarContract.CalendarAlertsCalendarContract.CalendarCacheCalendarContract.CalendarEntityCalendarContract.CalendarsCalendarContract.ColorsCalendarContract.EventDaysCalendarContract.EventsCalendarContract.EventsEntityCalendarContract.ExtendedPropertiesCalendarContract.InstancesCalendarContract.RemindersCalendarContract.SyncStateCallLogCallLog.CallsCallLog.LocationsCloudMediaProviderCloudMediaProvider.CloudMediaSurfaceControllerCloudMediaProvider.CloudMediaSurfaceStateChangedCallbackCloudMediaProviderContractCloudMediaProviderContract.AlbumColumnsCloudMediaProviderContract.MediaCollectionInfoCloudMediaProviderContract.MediaColumnsContactsContacts.ContactMethodsContacts.ExtensionsContacts.GroupMembershipContacts.GroupsContacts.IntentsContacts.Intents.InsertContacts.Intents.UIContacts.OrganizationsContacts.PeopleContacts.People.ContactMethodsContacts.People.ExtensionsContacts.People.PhonesContacts.PhonesContacts.PhotosContacts.SettingsContactsContractContactsContract.AggregationExceptionsContactsContract.CommonDataKindsContactsContract.CommonDataKinds.CallableContactsContract.CommonDataKinds.ContactablesContactsContract.CommonDataKinds.EmailContactsContract.CommonDataKinds.EventContactsContract.CommonDataKinds.GroupMembershipContactsContract.CommonDataKinds.IdentityContactsContract.CommonDataKinds.ImContactsContract.CommonDataKinds.NicknameContactsContract.CommonDataKinds.NoteContactsContract.CommonDataKinds.OrganizationContactsContract.CommonDataKinds.PhoneContactsContract.CommonDataKinds.PhotoContactsContract.CommonDataKinds.RelationContactsContract.CommonDataKinds.SipAddressContactsContract.CommonDataKinds.StructuredNameContactsContract.CommonDataKinds.StructuredPostalContactsContract.CommonDataKinds.WebsiteContactsContract.ContactsContactsContract.Contacts.AggregationSuggestionsContactsContract.Contacts.AggregationSuggestions.BuilderContactsContract.Contacts.DataContactsContract.Contacts.EntityContactsContract.Contacts.PhotoContactsContract.DataContactsContract.DataUsageFeedbackContactsContract.DeletedContactsContactsContract.DirectoryContactsContract.DisplayPhotoContactsContract.GroupsContactsContract.IntentsContactsContract.Intents.InsertContactsContract.PhoneLookupContactsContract.PinnedPositionsContactsContract.PresenceContactsContract.ProfileContactsContract.ProfileSyncStateContactsContract.ProviderStatusContactsContract.QuickContactContactsContract.RawContactsContactsContract.RawContacts.DataContactsContract.RawContacts.DisplayPhotoContactsContract.RawContacts.EntityContactsContract.RawContactsEntityContactsContract.SearchSnippetsContactsContract.SettingsContactsContract.SimAccountContactsContract.SimContactsContactsContract.StatusUpdatesContactsContract.SyncStateDocumentsContractDocumentsContract.DocumentDocumentsContract.PathDocumentsContract.RootDocumentsProviderFontRequestFontsContractFontsContract.ColumnsFontsContract.FontFamilyResultFontsContract.FontInfoFontsContract.FontRequestCallbackLiveFoldersMediaStoreMediaStore.AudioMediaStore.Audio.AlbumsMediaStore.Audio.ArtistsMediaStore.Audio.Artists.AlbumsMediaStore.Audio.GenresMediaStore.Audio.Genres.MembersMediaStore.Audio.MediaMediaStore.Audio.PlaylistsMediaStore.Audio.Playlists.MembersMediaStore.Audio.RadioMediaStore.DownloadsMediaStore.FilesMediaStore.ImagesMediaStore.Images.MediaMediaStore.Images.ThumbnailsMediaStore.PickerMediaColumnsMediaStore.VideoMediaStore.Video.MediaMediaStore.Video.ThumbnailsSearchRecentSuggestionsSettingsSettings.GlobalSettings.NameValueTableSettings.PanelSettings.SecureSettings.SystemSettingsSlicesContractSimPhonebookContractSimPhonebookContract.ElementaryFilesSimPhonebookContract.SimRecordsSyncStateContractSyncStateContract.ConstantsSyncStateContract.HelpersTelephonyTelephony.CarrierIdTelephony.CarriersTelephony.MmsTelephony.Mms.AddrTelephony.Mms.DraftTelephony.Mms.InboxTelephony.Mms.IntentsTelephony.Mms.OutboxTelephony.Mms.PartTelephony.Mms.RateTelephony.Mms.SentTelephony.MmsSmsTelephony.MmsSms.PendingMessagesTelephony.ServiceStateTableTelephony.SmsTelephony.Sms.ConversationsTelephony.Sms.DraftTelephony.Sms.InboxTelephony.Sms.IntentsTelephony.Sms.OutboxTelephony.Sms.SentTelephony.ThreadsUserDictionaryUserDictionary.WordsVoicemailContractVoicemailContract.StatusVoicemailContract.Voicemails Exceptions Settings.SettingNotFoundException android.renderscript Overview Interfaces Allocation.OnBufferAvailableListener Classes AllocationAllocationAdapterBaseObjByte2Byte3Byte4Double2Double3Double4ElementElement.BuilderFieldPackerFloat2Float3Float4Int2Int3Int4Long2Long3Long4Matrix2fMatrix3fMatrix4fRenderScriptRenderScript.RSErrorHandlerRenderScript.RSMessageHandlerSamplerSampler.BuilderScriptScript.BuilderScript.FieldBaseScript.FieldIDScript.InvokeIDScript.KernelIDScript.LaunchOptionsScriptCScriptGroupScriptGroup.BindingScriptGroup.BuilderScriptGroup.Builder2ScriptGroup.ClosureScriptGroup.FutureScriptGroup.InputScriptIntrinsicScriptIntrinsic3DLUTScriptIntrinsicBLASScriptIntrinsicBlendScriptIntrinsicBlurScriptIntrinsicColorMatrixScriptIntrinsicConvolve3x3ScriptIntrinsicConvolve5x5ScriptIntrinsicHistogramScriptIntrinsicLUTScriptIntrinsicResizeScriptIntrinsicYuvToRGBShort2Short3Short4TypeType.Builder Enums Allocation.MipmapControlElement.DataKindElement.DataTypeRenderScript.ContextTypeRenderScript.PrioritySampler.ValueType.CubemapFace Exceptions RSDriverExceptionRSIllegalArgumentExceptionRSInvalidStateExceptionRSRuntimeException android.sax Overview Interfaces ElementListenerEndElementListenerEndTextElementListenerStartElementListenerTextElementListener Classes ElementRootElement android.se.omapi Overview Interfaces SEService.OnConnectedListener Classes ChannelReaderSEServiceSession android.security Overview Interfaces KeyChainAliasCallback Classes AppUriAuthenticationPolicyAppUriAuthenticationPolicy.BuilderAttestedKeyPairConfirmationCallbackConfirmationPromptConfirmationPrompt.BuilderFileIntegrityManagerKeyChainKeyPairGeneratorSpecKeyPairGeneratorSpec.BuilderKeyStoreParameterKeyStoreParameter.BuilderNetworkSecurityPolicy Exceptions ConfirmationAlreadyPresentingExceptionConfirmationNotAvailableExceptionKeyChainExceptionKeyStoreException android.security.identity Overview Interfaces CredentialDataResult.Entries Classes AccessControlProfileAccessControlProfile.BuilderAccessControlProfileIdCredentialDataRequestCredentialDataRequest.BuilderCredentialDataResultIdentityCredentialIdentityCredentialStorePersonalizationDataPersonalizationData.BuilderPresentationSessionResultDataWritableIdentityCredential Exceptions AlreadyPersonalizedExceptionCipherSuiteNotSupportedExceptionDocTypeNotSupportedExceptionEphemeralPublicKeyNotFoundExceptionIdentityCredentialExceptionInvalidReaderSignatureExceptionInvalidRequestMessageExceptionMessageDecryptionExceptionNoAuthenticationKeyAvailableExceptionSessionTranscriptMismatchExceptionUnknownAuthenticationKeyException android.security.keystore Overview Classes KeyGenParameterSpecKeyGenParameterSpec.BuilderKeyInfoKeyPropertiesKeyProtectionKeyProtection.BuilderWrappedKeyEntry Exceptions BackendBusyExceptionKeyExpiredExceptionKeyNotYetValidExceptionKeyPermanentlyInvalidatedExceptionSecureKeyImportUnavailableExceptionStrongBoxUnavailableExceptionUserNotAuthenticatedExceptionUserPresenceUnavailableException android.service.autofill Overview Interfaces OnClickActionSanitizerSavedDatasetsInfoCallbackTransformationValidator Classes AutofillServiceBatchUpdatesBatchUpdates.BuilderCharSequenceTransformationCharSequenceTransformation.BuilderCustomDescriptionCustomDescription.BuilderDatasetDataset.BuilderDateTransformationDateValueSanitizerFieldField.BuilderFieldClassificationFieldClassification.MatchFillCallbackFillContextFillEventHistoryFillEventHistory.EventFillRequestFillResponseFillResponse.BuilderImageTransformationImageTransformation.BuilderInlinePresentationLuhnChecksumValidatorPresentationsPresentations.BuilderRegexValidatorSaveCallbackSavedDatasetsInfoSaveInfoSaveInfo.BuilderSaveRequestTextValueSanitizerUserDataUserData.BuilderValidatorsVisibilitySetterActionVisibilitySetterAction.Builder android.service.carrier Overview Interfaces CarrierMessagingService.ResultCallback Classes CarrierIdentifierCarrierMessagingClientServiceCarrierMessagingServiceCarrierMessagingService.SendMmsResultCarrierMessagingService.SendMultipartSmsResultCarrierMessagingService.SendSmsResultCarrierServiceMessagePdu android.service.chooser Overview Classes ChooserTargetChooserTargetService android.service.controls Overview Classes ControlControl.StatefulBuilderControl.StatelessBuilderControlsProviderServiceDeviceTypes android.service.controls.actions Overview Classes BooleanActionCommandActionControlActionFloatActionModeAction android.service.controls.templates Overview Classes ControlButtonControlTemplateRangeTemplateStatelessTemplateTemperatureControlTemplateThumbnailTemplateToggleRangeTemplateToggleTemplate android.service.dreams Overview Classes DreamService android.service.media Overview Classes CameraPrewarmServiceMediaBrowserServiceMediaBrowserService.BrowserRootMediaBrowserService.Result android.service.notification Overview Classes ConditionConditionProviderServiceNotificationListenerServiceNotificationListenerService.RankingNotificationListenerService.RankingMapStatusBarNotificationZenPolicyZenPolicy.Builder android.service.quickaccesswallet Overview Interfaces GetWalletCardsCallback Classes GetWalletCardsErrorGetWalletCardsRequestGetWalletCardsResponseQuickAccessWalletServiceSelectWalletCardRequestWalletCardWalletCard.BuilderWalletServiceEvent android.service.quicksettings Overview Classes TileTileService android.service.restrictions Overview Classes RestrictionsReceiver android.service.textservice Overview Classes SpellCheckerServiceSpellCheckerService.Session android.service.voice Overview Interfaces VoiceInteractionSession.VisibleActivityCallback Classes VisibleActivityInfoVoiceInteractionServiceVoiceInteractionSessionVoiceInteractionSession.AbortVoiceRequestVoiceInteractionSession.ActivityIdVoiceInteractionSession.AssistStateVoiceInteractionSession.CommandRequestVoiceInteractionSession.CompleteVoiceRequestVoiceInteractionSession.ConfirmationRequestVoiceInteractionSession.InsetsVoiceInteractionSession.PickOptionRequestVoiceInteractionSession.RequestVoiceInteractionSessionService android.service.vr Overview Classes VrListenerService android.service.wallpaper Overview Classes WallpaperServiceWallpaperService.Engine android.speech Overview Interfaces RecognitionListenerRecognitionSupportCallback Classes RecognitionServiceRecognitionService.CallbackRecognitionService.SupportCallbackRecognitionSupportRecognitionSupport.BuilderRecognizerIntentRecognizerResultsIntentSpeechRecognizer android.speech.tts Overview Interfaces SynthesisCallbackTextToSpeech.OnInitListenerTextToSpeech.OnUtteranceCompletedListener Classes SynthesisRequestTextToSpeechTextToSpeech.EngineTextToSpeech.EngineInfoTextToSpeechServiceUtteranceProgressListenerVoice android.system Overview Classes Int64RefOsOsConstantsStructCmsghdrStructMsghdrStructPollfdStructStatStructStatVfsStructTimespecStructTimevalStructUtsnameSystemCleanerVmSocketAddress Exceptions ErrnoException android.telecom Overview Classes CallCall.CallbackCall.DetailsCall.RttCallCallAudioStateCallRedirectionServiceCallScreeningServiceCallScreeningService.CallResponseCallScreeningService.CallResponse.BuilderConferenceConferenceableConnectionConnection.RttModifyStatusConnection.RttTextStreamConnection.VideoProviderConnectionRequestConnectionServiceDisconnectCauseGatewayInfoInCallServiceInCallService.VideoCallInCallService.VideoCall.CallbackPhoneAccountPhoneAccount.BuilderPhoneAccountHandlePhoneAccountSuggestionRemoteConferenceRemoteConference.CallbackRemoteConnectionRemoteConnection.CallbackRemoteConnection.VideoProviderRemoteConnection.VideoProvider.CallbackStatusHintsTelecomManagerVideoProfileVideoProfile.CameraCapabilities android.telephony Overview Interfaces TelephonyCallback.ActiveDataSubscriptionIdListenerTelephonyCallback.BarringInfoListenerTelephonyCallback.CallDisconnectCauseListenerTelephonyCallback.CallForwardingIndicatorListenerTelephonyCallback.CallStateListenerTelephonyCallback.CarrierNetworkListenerTelephonyCallback.CellInfoListenerTelephonyCallback.CellLocationListenerTelephonyCallback.DataActivationStateListenerTelephonyCallback.DataActivityListenerTelephonyCallback.DataConnectionStateListenerTelephonyCallback.DisplayInfoListenerTelephonyCallback.EmergencyNumberListListenerTelephonyCallback.ImsCallDisconnectCauseListenerTelephonyCallback.MessageWaitingIndicatorListenerTelephonyCallback.PhysicalChannelConfigListenerTelephonyCallback.PreciseDataConnectionStateListenerTelephonyCallback.RegistrationFailedListenerTelephonyCallback.ServiceStateListenerTelephonyCallback.SignalStrengthsListenerTelephonyCallback.UserMobileDataStateListener Classes AccessNetworkConstantsAccessNetworkConstants.AccessNetworkTypeAccessNetworkConstants.EutranBandAccessNetworkConstants.GeranBandAccessNetworkConstants.NgranBandsAccessNetworkConstants.UtranBandAvailableNetworkInfoAvailableNetworkInfo.BuilderBarringInfoBarringInfo.BarringServiceInfoCarrierConfigManagerCarrierConfigManager.ApnCarrierConfigManager.BsfCarrierConfigManager.GpsCarrierConfigManager.ImsCarrierConfigManager.ImsEmergencyCarrierConfigManager.ImsRttCarrierConfigManager.ImsServiceEntitlementCarrierConfigManager.ImsSmsCarrierConfigManager.ImsSsCarrierConfigManager.ImsVoiceCarrierConfigManager.ImsVtCarrierConfigManager.ImsWfcCarrierConfigManager.IwlanCellIdentityCellIdentityCdmaCellIdentityGsmCellIdentityLteCellIdentityNrCellIdentityTdscdmaCellIdentityWcdmaCellInfoCellInfoCdmaCellInfoGsmCellInfoLteCellInfoNrCellInfoTdscdmaCellInfoWcdmaCellLocationCellSignalStrengthCellSignalStrengthCdmaCellSignalStrengthGsmCellSignalStrengthLteCellSignalStrengthNrCellSignalStrengthTdscdmaCellSignalStrengthWcdmaClosedSubscriberGroupInfoDataFailCauseDisconnectCauseIccOpenLogicalChannelResponseMbmsDownloadSessionMbmsGroupCallSessionMbmsStreamingSessionNeighboringCellInfoNetworkRegistrationInfoNetworkScanNetworkScanRequestPhoneNumberFormattingTextWatcherPhoneNumberUtilsPhoneStateListenerPhysicalChannelConfigPreciseDataConnectionStateRadioAccessSpecifierServiceStateSignalStrengthSignalStrengthUpdateRequestSignalStrengthUpdateRequest.BuilderSignalThresholdInfoSignalThresholdInfo.BuilderSmsManagerSmsManager.FinancialSmsCallbackSmsMessageSmsMessage.SubmitPduSubscriptionInfoSubscriptionManagerSubscriptionManager.OnOpportunisticSubscriptionsChangedListenerSubscriptionManager.OnSubscriptionsChangedListenerSubscriptionPlanSubscriptionPlan.BuilderTelephonyCallbackTelephonyDisplayInfoTelephonyManagerTelephonyManager.CellInfoCallbackTelephonyManager.UssdResponseCallbackTelephonyScanManagerTelephonyScanManager.NetworkScanCallbackUiccCardInfoUiccPortInfoVisualVoicemailServiceVisualVoicemailService.VisualVoicemailTaskVisualVoicemailSmsVisualVoicemailSmsFilterSettingsVisualVoicemailSmsFilterSettings.Builder Enums SmsMessage.MessageClass Exceptions TelephonyManager.CallComposerExceptionTelephonyManager.ModemErrorExceptionTelephonyManager.NetworkSlicingExceptionTelephonyManager.TimeoutException android.telephony.cdma Overview Classes CdmaCellLocation android.telephony.data Overview Classes ApnSettingApnSetting.BuilderNetworkSliceInfoNetworkSliceInfo.BuilderNetworkSlicingConfigRouteSelectionDescriptorTrafficDescriptorTrafficDescriptor.BuilderUrspRule android.telephony.emergency Overview Classes EmergencyNumber android.telephony.euicc Overview Classes DownloadableSubscriptionDownloadableSubscription.BuilderEuiccInfoEuiccManager android.telephony.gsm Overview Classes GsmCellLocationSmsManagerSmsMessageSmsMessage.SubmitPdu Enums SmsMessage.MessageClass android.telephony.ims Overview Interfaces RegistrationManager Classes ImsManagerImsMmTelManagerImsMmTelManager.CapabilityCallbackImsRcsManagerImsReasonInfoImsRegistrationAttributesImsStateCallbackProvisioningManagerProvisioningManager.FeatureProvisioningCallbackRcsUceAdapterRegistrationManager.RegistrationCallback Exceptions ImsException android.telephony.ims.feature Overview Classes MmTelFeatureMmTelFeature.MmTelCapabilities android.telephony.ims.stub Overview Classes ImsRegistrationImplBase android.telephony.mbms Overview Interfaces GroupCallCallbackMbmsGroupCallSessionCallback Classes DownloadProgressListenerDownloadRequestDownloadRequest.BuilderDownloadStatusListenerFileInfoFileServiceInfoGroupCallMbmsDownloadReceiverMbmsDownloadSessionCallbackMbmsErrorsMbmsErrors.DownloadErrorsMbmsErrors.GeneralErrorsMbmsErrors.GroupCallErrorsMbmsErrors.InitializationErrorsMbmsErrors.StreamingErrorsMbmsStreamingSessionCallbackServiceInfoStreamingServiceStreamingServiceCallbackStreamingServiceInfo android.test Overview Annotations FlakyTestRepetitiveTestUiThreadTest Interfaces PerformanceTestCasePerformanceTestCase.IntermediatesTestSuiteProvider Classes ActivityInstrumentationTestCaseActivityInstrumentationTestCase2ActivityTestCaseActivityUnitTestCaseAndroidTestCaseAndroidTestRunnerApplicationTestCaseInstrumentationTestCaseInstrumentationTestRunnerInstrumentationTestSuiteIsolatedContextLaunchPerformanceBaseLoaderTestCaseMoreAssertsProviderTestCaseProviderTestCase2RenamingDelegatingContextServiceTestCaseSingleLaunchActivityTestCaseSyncBaseInstrumentationTouchUtilsViewAsserts Errors AssertionFailedErrorComparisonFailure android.test.mock Overview Classes MockAccountManagerMockApplicationMockContentProviderMockContentResolverMockContextMockCursorMockDialogInterfaceMockPackageManagerMockResourcesMockService android.test.suitebuilder Overview Classes TestMethodTestSuiteBuilderTestSuiteBuilder.FailedToCreateTestsUnitTestSuiteBuilder android.test.suitebuilder.annotation Overview Annotations LargeTestMediumTestSmallTestSmokeSuppress android.text Overview Interfaces EditableGetCharsHtml.ImageGetterHtml.TagHandlerInputFilterInputTypeNoCopySpanParcelableSpanSpannableSpannedSpanWatcherTextDirectionHeuristicTextShaper.GlyphsConsumerTextUtils.EllipsizeCallbackTextUtils.StringSplitterTextWatcher Classes AlteredCharSequenceAndroidCharacterAnnotationAutoTextBidiFormatterBidiFormatter.BuilderBoringLayoutBoringLayout.MetricsClipboardManagerDynamicLayoutDynamicLayout.BuilderEditable.FactoryHtmlInputFilter.AllCapsInputFilter.LengthFilterLayoutLayout.DirectionsLoginFilterLoginFilter.PasswordFilterGMailLoginFilter.UsernameFilterGenericLoginFilter.UsernameFilterGMailNoCopySpan.ConcretePrecomputedTextPrecomputedText.ParamsPrecomputedText.Params.BuilderSelectionSpannable.FactorySpannableStringSpannableStringBuilderSpannedStringStaticLayoutStaticLayout.BuilderTextDirectionHeuristicsTextPaintTextShaperTextUtilsTextUtils.SimpleStringSplitter Enums Layout.AlignmentTextUtils.TruncateAt android.text.format Overview Classes DateFormatDateUtilsFormatterTime android.text.method Overview Interfaces KeyListenerMovementMethodTransformationMethod Classes ArrowKeyMovementMethodBaseKeyListenerBaseMovementMethodCharacterPickerDialogDateKeyListenerDateTimeKeyListenerDialerKeyListenerDigitsKeyListenerHideReturnsTransformationMethodLinkMovementMethodMetaKeyKeyListenerMultiTapKeyListenerNumberKeyListenerPasswordTransformationMethodQwertyKeyListenerReplacementTransformationMethodScrollingMovementMethodSingleLineTransformationMethodTextKeyListenerTimeKeyListenerTouch Enums TextKeyListener.Capitalize android.text.style Overview Interfaces AlignmentSpanLeadingMarginSpanLeadingMarginSpan.LeadingMarginSpan2LineBackgroundSpanLineHeightSpanLineHeightSpan.WithDensityParagraphStyleTabStopSpanUpdateAppearanceUpdateLayoutWrapTogetherSpan Classes AbsoluteSizeSpanAlignmentSpan.StandardBackgroundColorSpanBulletSpanCharacterStyleClickableSpanDrawableMarginSpanDynamicDrawableSpanEasyEditSpanForegroundColorSpanIconMarginSpanImageSpanLeadingMarginSpan.StandardLineBackgroundSpan.StandardLineHeightSpan.StandardLocaleSpanMaskFilterSpanMetricAffectingSpanQuoteSpanRelativeSizeSpanReplacementSpanScaleXSpanStrikethroughSpanStyleSpanSubscriptSpanSuggestionRangeSpanSuggestionSpanSuperscriptSpanTabStopSpan.StandardTextAppearanceSpanTtsSpanTtsSpan.BuilderTtsSpan.CardinalBuilderTtsSpan.DateBuilderTtsSpan.DecimalBuilderTtsSpan.DigitsBuilderTtsSpan.ElectronicBuilderTtsSpan.FractionBuilderTtsSpan.MeasureBuilderTtsSpan.MoneyBuilderTtsSpan.OrdinalBuilderTtsSpan.SemioticClassBuilderTtsSpan.TelephoneBuilderTtsSpan.TextBuilderTtsSpan.TimeBuilderTtsSpan.VerbatimBuilderTypefaceSpanUnderlineSpanURLSpan android.text.util Overview Interfaces Linkify.MatchFilterLinkify.TransformFilter Classes LinkifyRfc822TokenRfc822Tokenizer android.transition Overview Interfaces Transition.TransitionListener Classes ArcMotionAutoTransitionChangeBoundsChangeClipBoundsChangeImageTransformChangeScrollChangeTransformCircularPropagationExplodeFadePathMotionPatternPathMotionSceneSidePropagationSlideTransitionTransition.EpicenterCallbackTransitionInflaterTransitionListenerAdapterTransitionManagerTransitionPropagationTransitionSetTransitionValuesVisibilityVisibilityPropagation android.util Overview Interfaces AttributeSetDumpableDumpableContainerPrinter Classes ArrayMapArraySetAtomicFileBase64Base64InputStreamBase64OutputStreamCloseGuardConfigDebugUtilsDisplayMetricsEventLogEventLog.EventEventLogTagsEventLogTags.DescriptionFloatMathFloatPropertyHalfIntPropertyJsonReaderJsonWriterLayoutDirectionLogLogPrinterLongSparseArrayLruCacheMonthDisplayHelperMutableBooleanMutableByteMutableCharMutableDoubleMutableFloatMutableIntMutableLongMutableShortPairPatternsPrintStreamPrinterPrintWriterPrinterPropertyRangeRationalSizeSizeFSparseArraySparseBooleanArraySparseIntArraySparseLongArrayStateSetStatsLogStringBuilderPrinterTimeUtilsTimingLoggerTypedValueXml Enums JsonTokenXml.Encoding Exceptions AndroidExceptionAndroidRuntimeExceptionBase64DataExceptionMalformedJsonExceptionNoSuchPropertyExceptionTimeFormatException android.util.proto Overview Classes ProtoOutputStream android.view Overview Annotations ViewDebug.CapturedViewPropertyViewDebug.ExportedPropertyViewDebug.FlagToStringViewDebug.IntToString Interfaces ActionMode.CallbackActionProvider.VisibilityListenerAttachedSurfaceControlAttachedSurfaceControl.OnBufferTransformHintChangedListenerChoreographer.FrameCallbackChoreographer.VsyncCallbackCollapsibleActionViewContextMenuContextMenu.ContextMenuInfoGestureDetector.OnContextClickListenerGestureDetector.OnDoubleTapListenerGestureDetector.OnGestureListenerInputQueue.CallbackKeyEvent.CallbackLayoutInflater.FactoryLayoutInflater.Factory2LayoutInflater.FilterMenuMenuItemMenuItem.OnActionExpandListenerMenuItem.OnMenuItemClickListenerOnReceiveContentListenerPixelCopy.OnPixelCopyFinishedListenerScaleGestureDetector.OnScaleGestureListenerScrollCaptureCallbackSubMenuSurfaceControl.TransactionCommittedListenerSurfaceHolderSurfaceHolder.CallbackSurfaceHolder.Callback2TextureView.SurfaceTextureListenerView.OnApplyWindowInsetsListenerView.OnAttachStateChangeListenerView.OnCapturedPointerListenerView.OnClickListenerView.OnContextClickListenerView.OnCreateContextMenuListenerView.OnDragListenerView.OnFocusChangeListenerView.OnGenericMotionListenerView.OnHoverListenerView.OnKeyListenerView.OnLayoutChangeListenerView.OnLongClickListenerView.OnScrollChangeListenerView.OnSystemUiVisibilityChangeListenerView.OnTouchListenerView.OnUnhandledKeyEventListenerViewGroup.OnHierarchyChangeListenerViewManagerViewParentViewStub.OnInflateListenerViewTreeObserver.OnDrawListenerViewTreeObserver.OnGlobalFocusChangeListenerViewTreeObserver.OnGlobalLayoutListenerViewTreeObserver.OnPreDrawListenerViewTreeObserver.OnScrollChangedListenerViewTreeObserver.OnTouchModeChangeListenerViewTreeObserver.OnWindowAttachListenerViewTreeObserver.OnWindowFocusChangeListenerWindow.CallbackWindow.OnFrameMetricsAvailableListenerWindow.OnRestrictedCaptionAreaChangedListenerWindowInsetsAnimationControllerWindowInsetsAnimationControlListenerWindowInsetsControllerWindowInsetsController.OnControllableInsetsChangedListenerWindowManager Classes AbsSavedStateActionModeActionMode.Callback2ActionProviderChoreographerChoreographer.FrameDataChoreographer.FrameTimelineContentInfoContentInfo.BuilderContextThemeWrapperDisplayDisplay.HdrCapabilitiesDisplay.ModeDisplayCutoutDisplayCutout.BuilderDragAndDropPermissionsDragEventFocusFinderFrameMetricsFrameStatsGestureDetectorGestureDetector.SimpleOnGestureListenerGravityHapticFeedbackConstantsInputDeviceInputDevice.MotionRangeInputEventInputQueueKeyboardShortcutGroupKeyboardShortcutInfoKeyCharacterMapKeyCharacterMap.KeyDataKeyEventKeyEvent.DispatcherStateLayoutInflaterMenuInflaterMotionEventMotionEvent.PointerCoordsMotionEvent.PointerPropertiesOrientationEventListenerOrientationListenerPixelCopyPointerIconRoundedCornerScaleGestureDetectorScaleGestureDetector.SimpleOnScaleGestureListenerScrollCaptureSessionScrollCaptureTargetSearchEventSoundEffectConstantsSurfaceSurfaceControlSurfaceControl.BuilderSurfaceControl.TransactionSurfaceControlViewHostSurfaceControlViewHost.SurfacePackageSurfaceViewTextureViewTouchDelegateVelocityTrackerVerifiedInputEventVerifiedKeyEventVerifiedMotionEventViewView.AccessibilityDelegateView.BaseSavedStateView.DragShadowBuilderView.MeasureSpecViewAnimationUtilsViewConfigurationViewDebugViewGroupViewGroup.LayoutParamsViewGroup.MarginLayoutParamsViewGroupOverlayViewOutlineProviderViewOverlayViewPropertyAnimatorViewStructureViewStructure.HtmlInfoViewStructure.HtmlInfo.BuilderViewStubViewTreeObserverWindowWindowAnimationFrameStatsWindowContentFrameStatsWindowIdWindowId.FocusObserverWindowInsetsWindowInsets.BuilderWindowInsets.SideWindowInsets.TypeWindowInsetsAnimationWindowInsetsAnimation.BoundsWindowInsetsAnimation.CallbackWindowManager.LayoutParamsWindowMetrics Enums ViewDebug.HierarchyTraceTypeViewDebug.RecyclerTraceType Exceptions InflateExceptionKeyCharacterMap.UnavailableExceptionSurface.OutOfResourcesExceptionSurfaceHolder.BadSurfaceTypeExceptionWindowManager.BadTokenExceptionWindowManager.InvalidDisplayException android.view.accessibility Overview Interfaces AccessibilityEventSourceAccessibilityManager.AccessibilityServicesStateChangeListenerAccessibilityManager.AccessibilityStateChangeListenerAccessibilityManager.AudioDescriptionRequestedChangeListenerAccessibilityManager.TouchExplorationStateChangeListener Classes AccessibilityEventAccessibilityManagerAccessibilityNodeInfoAccessibilityNodeInfo.AccessibilityActionAccessibilityNodeInfo.CollectionInfoAccessibilityNodeInfo.CollectionItemInfoAccessibilityNodeInfo.CollectionItemInfo.BuilderAccessibilityNodeInfo.ExtraRenderingInfoAccessibilityNodeInfo.RangeInfoAccessibilityNodeInfo.TouchDelegateInfoAccessibilityNodeProviderAccessibilityRecordAccessibilityRequestPreparerAccessibilityWindowInfoCaptioningManagerCaptioningManager.CaptioningChangeListenerCaptioningManager.CaptionStyle android.view.animation Overview Interfaces Animation.AnimationListenerInterpolator Classes AccelerateDecelerateInterpolatorAccelerateInterpolatorAlphaAnimationAnimationAnimation.DescriptionAnimationSetAnimationUtilsAnticipateInterpolatorAnticipateOvershootInterpolatorBaseInterpolatorBounceInterpolatorCycleInterpolatorDecelerateInterpolatorGridLayoutAnimationControllerGridLayoutAnimationController.AnimationParametersLayoutAnimationControllerLayoutAnimationController.AnimationParametersLinearInterpolatorOvershootInterpolatorPathInterpolatorRotateAnimationScaleAnimationTransformationTranslateAnimation android.view.autofill Overview Classes AutofillIdAutofillManagerAutofillManager.AutofillCallbackAutofillValue android.view.contentcapture Overview Interfaces DataShareWriteAdapter Classes ContentCaptureConditionContentCaptureContextContentCaptureContext.BuilderContentCaptureManagerContentCaptureSessionContentCaptureSessionIdDataRemovalRequestDataRemovalRequest.BuilderDataRemovalRequest.LocusIdRequestDataShareRequest android.view.displayhash Overview Interfaces DisplayHashResultCallback Classes DisplayHashDisplayHashManagerVerifiedDisplayHash android.view.inputmethod Overview Interfaces InputConnectionInputMethodInputMethod.SessionCallbackInputMethodSessionInputMethodSession.EventCallback Classes BaseInputConnectionCompletionInfoCorrectionInfoCursorAnchorInfoCursorAnchorInfo.BuilderEditorBoundsInfoEditorBoundsInfo.BuilderEditorInfoExtractedTextExtractedTextRequestInlineSuggestionInlineSuggestionInfoInlineSuggestionsRequestInlineSuggestionsRequest.BuilderInlineSuggestionsResponseInputBindingInputConnectionWrapperInputContentInfoInputMethodInfoInputMethodManagerInputMethodSubtypeInputMethodSubtype.InputMethodSubtypeBuilderSurroundingTextTextAttributeTextAttribute.BuilderTextSnapshot android.view.inspector Overview Interfaces InspectionCompanionInspectionCompanionProviderPropertyMapperPropertyReader Classes IntFlagMappingStaticInspectionCompanionProviderWindowInspector Exceptions InspectionCompanion.UninitializedPropertyMapExceptionPropertyMapper.PropertyConflictExceptionPropertyReader.PropertyTypeMismatchException android.view.textclassifier Overview Interfaces TextClassificationSessionFactoryTextClassifier Classes ConversationActionConversationAction.BuilderConversationActionsConversationActions.MessageConversationActions.Message.BuilderConversationActions.RequestConversationActions.Request.BuilderSelectionEventTextClassificationTextClassification.BuilderTextClassification.RequestTextClassification.Request.BuilderTextClassificationContextTextClassificationContext.BuilderTextClassificationManagerTextClassificationSessionIdTextClassifier.EntityConfigTextClassifier.EntityConfig.BuilderTextClassifierEventTextClassifierEvent.BuilderTextClassifierEvent.ConversationActionsEventTextClassifierEvent.ConversationActionsEvent.BuilderTextClassifierEvent.LanguageDetectionEventTextClassifierEvent.LanguageDetectionEvent.BuilderTextClassifierEvent.TextLinkifyEventTextClassifierEvent.TextLinkifyEvent.BuilderTextClassifierEvent.TextSelectionEventTextClassifierEvent.TextSelectionEvent.BuilderTextLanguageTextLanguage.BuilderTextLanguage.RequestTextLanguage.Request.BuilderTextLinksTextLinks.BuilderTextLinks.RequestTextLinks.Request.BuilderTextLinks.TextLinkTextLinks.TextLinkSpanTextSelectionTextSelection.BuilderTextSelection.RequestTextSelection.Request.Builder android.view.textservice Overview Interfaces SpellCheckerSession.SpellCheckerSessionListener Classes SentenceSuggestionsInfoSpellCheckerInfoSpellCheckerSessionSpellCheckerSession.SpellCheckerSessionParamsSpellCheckerSession.SpellCheckerSessionParams.BuilderSpellCheckerSubtypeSuggestionsInfoTextInfoTextServicesManager android.view.translation Overview Interfaces UiTranslationStateCallbackViewTranslationCallback Classes TranslationCapabilityTranslationContextTranslationContext.BuilderTranslationManagerTranslationRequestTranslationRequest.BuilderTranslationRequestValueTranslationResponseTranslationResponse.BuilderTranslationResponseValueTranslationResponseValue.BuilderTranslationSpecTranslatorUiTranslationManagerViewTranslationRequestViewTranslationRequest.BuilderViewTranslationResponseViewTranslationResponse.Builder android.webkit Overview Annotations JavascriptInterface Interfaces DownloadListenerGeolocationPermissions.CallbackPluginStubValueCallbackWebChromeClient.CustomViewCallbackWebIconDatabase.IconListenerWebResourceRequestWebStorage.QuotaUpdaterWebView.FindListenerWebView.PictureListener Classes ClientCertRequestConsoleMessageCookieManagerCookieSyncManagerDateSorterGeolocationPermissionsHttpAuthHandlerJsPromptResultJsResultMimeTypeMapPermissionRequestRenderProcessGoneDetailSafeBrowsingResponseServiceWorkerClientServiceWorkerControllerServiceWorkerWebSettingsSslErrorHandlerTracingConfigTracingConfig.BuilderTracingControllerURLUtilWebBackForwardListWebChromeClientWebChromeClient.FileChooserParamsWebHistoryItemWebIconDatabaseWebMessageWebMessagePortWebMessagePort.WebMessageCallbackWebResourceErrorWebResourceResponseWebSettingsWebStorageWebStorage.OriginWebViewWebView.HitTestResultWebView.VisualStateCallbackWebView.WebViewTransportWebViewClientWebViewDatabaseWebViewFragmentWebViewRenderProcessWebViewRenderProcessClient Enums ConsoleMessage.MessageLevelWebSettings.LayoutAlgorithmWebSettings.PluginStateWebSettings.RenderPriorityWebSettings.TextSizeWebSettings.ZoomDensity android.widget Overview Annotations RemoteViews.RemoteView Interfaces AbsListView.MultiChoiceModeListenerAbsListView.OnScrollListenerAbsListView.RecyclerListenerAbsListView.SelectionBoundsAdjusterActionMenuView.OnMenuItemClickListenerAdapterAdapterView.OnItemClickListenerAdapterView.OnItemLongClickListenerAdapterView.OnItemSelectedListenerAdvanceableAutoCompleteTextView.OnDismissListenerAutoCompleteTextView.ValidatorCalendarView.OnDateChangeListenerCheckableChronometer.OnChronometerTickListenerCompoundButton.OnCheckedChangeListenerDatePicker.OnDateChangedListenerExpandableListAdapterExpandableListView.OnChildClickListenerExpandableListView.OnGroupClickListenerExpandableListView.OnGroupCollapseListenerExpandableListView.OnGroupExpandListenerFilter.FilterListenerFilterableFilterQueryProviderHeterogeneousExpandableListListAdapterMediaController.MediaPlayerControlMultiAutoCompleteTextView.TokenizerNumberPicker.FormatterNumberPicker.OnScrollListenerNumberPicker.OnValueChangeListenerPopupMenu.OnDismissListenerPopupMenu.OnMenuItemClickListenerPopupWindow.OnDismissListenerRadioGroup.OnCheckedChangeListenerRatingBar.OnRatingBarChangeListenerRemoteViewsService.RemoteViewsFactorySearchView.OnCloseListenerSearchView.OnQueryTextListenerSearchView.OnSuggestionListenerSectionIndexerSeekBar.OnSeekBarChangeListenerShareActionProvider.OnShareTargetSelectedListenerSimpleAdapter.ViewBinderSimpleCursorAdapter.CursorToStringConverterSimpleCursorAdapter.ViewBinderSimpleCursorTreeAdapter.ViewBinderSlidingDrawer.OnDrawerCloseListenerSlidingDrawer.OnDrawerOpenListenerSlidingDrawer.OnDrawerScrollListenerSpinnerAdapterTabHost.OnTabChangeListenerTabHost.TabContentFactoryTextView.OnEditorActionListenerThemedSpinnerAdapterTimePicker.OnTimeChangedListenerToolbar.OnMenuItemClickListenerViewSwitcher.ViewFactoryWrapperListAdapterZoomButtonsController.OnZoomListener Classes AbsListViewAbsListView.LayoutParamsAbsoluteLayoutAbsoluteLayout.LayoutParamsAbsSeekBarAbsSpinnerActionMenuViewActionMenuView.LayoutParamsAdapterViewAdapterView.AdapterContextMenuInfoAdapterViewAnimatorAdapterViewFlipperAlphabetIndexerAnalogClockArrayAdapterAutoCompleteTextViewBaseAdapterBaseExpandableListAdapterButtonCalendarViewCheckBoxCheckedTextViewChronometerCompoundButtonCursorAdapterCursorTreeAdapterDatePickerDialerFilterDigitalClockEdgeEffectEditTextExpandableListViewExpandableListView.ExpandableListContextMenuInfoFilterFilter.FilterResultsFrameLayoutFrameLayout.LayoutParamsGalleryGallery.LayoutParamsGridLayoutGridLayout.AlignmentGridLayout.LayoutParamsGridLayout.SpecGridViewHeaderViewListAdapterHorizontalScrollViewImageButtonImageSwitcherImageViewLinearLayoutLinearLayout.LayoutParamsListPopupWindowListViewListView.FixedViewInfoMagnifierMagnifier.BuilderMediaControllerMultiAutoCompleteTextViewMultiAutoCompleteTextView.CommaTokenizerNumberPickerOverScrollerPopupMenuPopupWindowProgressBarQuickContactBadgeRadioButtonRadioGroupRadioGroup.LayoutParamsRatingBarRelativeLayoutRelativeLayout.LayoutParamsRemoteViewsRemoteViews.RemoteCollectionItemsRemoteViews.RemoteCollectionItems.BuilderRemoteViews.RemoteResponseRemoteViews.RemoteViewOutlineProviderRemoteViewsServiceResourceCursorAdapterResourceCursorTreeAdapterScrollerScrollViewSearchViewSeekBarShareActionProviderSimpleAdapterSimpleCursorAdapterSimpleCursorTreeAdapterSimpleExpandableListAdapterSlidingDrawerSpaceSpinnerStackViewSwitchTabHostTabHost.TabSpecTableLayoutTableLayout.LayoutParamsTableRowTableRow.LayoutParamsTabWidgetTextClockTextSwitcherTextViewTextView.SavedStateTimePickerToastToast.CallbackToggleButtonToolbarToolbar.LayoutParamsTwoLineListItemVideoViewViewAnimatorViewFlipperViewSwitcherZoomButtonZoomButtonsControllerZoomControls Enums ImageView.ScaleTypeTextView.BufferType Exceptions RemoteViews.ActionException android.widget.inline Overview Interfaces InlineContentView.SurfaceControlCallback Classes InlineContentViewInlinePresentationSpecInlinePresentationSpec.Builder android.window Overview Interfaces OnBackInvokedCallbackOnBackInvokedDispatcherSplashScreenSplashScreen.OnExitAnimationListener Classes SplashScreenView dalvik.annotation Overview Annotations TestTargetTestTargetClass dalvik.bytecode Overview Interfaces Opcodes Classes OpcodeInfo dalvik.system Overview Classes BaseDexClassLoaderDelegateLastClassLoaderDexClassLoaderDexFileInMemoryDexClassLoaderPathClassLoader java.awt.font Overview Classes NumericShaperTextAttribute Enums NumericShaper.Range java.beans Overview Interfaces PropertyChangeListener Classes IndexedPropertyChangeEventPropertyChangeEventPropertyChangeListenerProxyPropertyChangeSupport java.io Overview Interfaces CloseableDataInputDataOutputExternalizableFileFilterFilenameFilterFlushableObjectInputObjectInputValidationObjectOutputObjectStreamConstantsSerializable Classes BufferedInputStreamBufferedOutputStreamBufferedReaderBufferedWriterByteArrayInputStreamByteArrayOutputStreamCharArrayReaderCharArrayWriterConsoleDataInputStreamDataOutputStreamFileFileDescriptorFileInputStreamFileOutputStreamFilePermissionFileReaderFileWriterFilterInputStreamFilterOutputStreamFilterReaderFilterWriterInputStreamInputStreamReaderLineNumberInputStreamLineNumberReaderObjectInputStreamObjectInputStream.GetFieldObjectOutputStreamObjectOutputStream.PutFieldObjectStreamClassObjectStreamFieldOutputStreamOutputStreamWriterPipedInputStreamPipedOutputStreamPipedReaderPipedWriterPrintStreamPrintWriterPushbackInputStreamPushbackReaderRandomAccessFileReaderSequenceInputStreamSerializablePermissionStreamTokenizerStringBufferInputStreamStringReaderStringWriterWriter Exceptions CharConversionExceptionEOFExceptionFileNotFoundExceptionInterruptedIOExceptionInvalidClassExceptionInvalidObjectExceptionIOExceptionNotActiveExceptionNotSerializableExceptionObjectStreamExceptionOptionalDataExceptionStreamCorruptedExceptionSyncFailedExceptionUncheckedIOExceptionUnsupportedEncodingExceptionUTFDataFormatExceptionWriteAbortedException Errors IOError java.lang Overview Annotations DeprecatedFunctionalInterfaceOverrideSafeVarargsSuppressWarnings Interfaces AppendableAutoCloseableCharSequenceCloneableComparableIterableReadableRunnableThread.UncaughtExceptionHandler Classes BooleanByteCharacterCharacter.SubsetCharacter.UnicodeBlockClassClassLoaderCompilerDoubleEnumFloatInheritableThreadLocalIntegerLongMathNumberObjectPackageProcessProcessBuilderProcessBuilder.RedirectRuntimeRuntimePermissionSecurityManagerShortStackTraceElementStrictMathStringStringBufferStringBuilderSystemThreadThreadGroupThreadLocalThrowableVoid Enums Character.UnicodeScriptProcessBuilder.Redirect.TypeThread.State Exceptions ArithmeticExceptionArrayIndexOutOfBoundsExceptionArrayStoreExceptionClassCastExceptionClassNotFoundExceptionCloneNotSupportedExceptionEnumConstantNotPresentExceptionExceptionIllegalAccessExceptionIllegalArgumentExceptionIllegalMonitorStateExceptionIllegalStateExceptionIllegalThreadStateExceptionIndexOutOfBoundsExceptionInstantiationExceptionInterruptedExceptionNegativeArraySizeExceptionNoSuchFieldExceptionNoSuchMethodExceptionNullPointerExceptionNumberFormatExceptionReflectiveOperationExceptionRuntimeExceptionSecurityExceptionStringIndexOutOfBoundsExceptionTypeNotPresentExceptionUnsupportedOperationException Errors AbstractMethodErrorAssertionErrorBootstrapMethodErrorClassCircularityErrorClassFormatErrorErrorExceptionInInitializerErrorIllegalAccessErrorIncompatibleClassChangeErrorInstantiationErrorInternalErrorLinkageErrorNoClassDefFoundErrorNoSuchFieldErrorNoSuchMethodErrorOutOfMemoryErrorStackOverflowErrorThreadDeathUnknownErrorUnsatisfiedLinkErrorUnsupportedClassVersionErrorVerifyErrorVirtualMachineError java.lang.annotation Overview Annotations DocumentedInheritedNativeRepeatableRetentionTarget Interfaces Annotation Enums ElementTypeRetentionPolicy Exceptions AnnotationTypeMismatchExceptionIncompleteAnnotationException Errors AnnotationFormatError java.lang.invoke Overview Interfaces MethodHandleInfo Classes CallSiteConstantCallSiteMethodHandleMethodHandlesMethodHandles.LookupMethodTypeMutableCallSiteVarHandleVolatileCallSite Enums VarHandle.AccessMode Exceptions LambdaConversionExceptionWrongMethodTypeException java.lang.ref Overview Interfaces Cleaner.Cleanable Classes CleanerPhantomReferenceReferenceReferenceQueueSoftReferenceWeakReference java.lang.reflect Overview Interfaces AnnotatedElementGenericArrayTypeGenericDeclarationInvocationHandlerMemberParameterizedTypeTypeTypeVariableWildcardType Classes AccessibleObjectArrayConstructorExecutableFieldMethodModifierParameterProxyReflectPermission Exceptions InvocationTargetExceptionMalformedParameterizedTypeExceptionMalformedParametersExceptionUndeclaredThrowableException Errors GenericSignatureFormatError java.math Overview Classes BigDecimalBigIntegerMathContext Enums RoundingMode java.net Overview Interfaces ContentHandlerFactoryCookiePolicyCookieStoreDatagramSocketImplFactoryFileNameMapProtocolFamilySocketImplFactorySocketOptionSocketOptionsURLStreamHandlerFactory Classes AuthenticatorCacheRequestCacheResponseContentHandlerCookieHandlerCookieManagerDatagramPacketDatagramSocketDatagramSocketImplHttpCookieHttpURLConnectionIDNInet4AddressInet6AddressInetAddressInetSocketAddressInterfaceAddressJarURLConnectionMulticastSocketNetPermissionNetworkInterfacePasswordAuthenticationProxyProxySelectorResponseCacheSecureCacheResponseServerSocketSocketSocketAddressSocketImplSocketPermissionStandardSocketOptionsURIURLURLClassLoaderURLConnectionURLDecoderURLEncoderURLStreamHandler Enums Authenticator.RequestorTypeProxy.TypeStandardProtocolFamily Exceptions BindExceptionConnectExceptionHttpRetryExceptionMalformedURLExceptionNoRouteToHostExceptionPortUnreachableExceptionProtocolExceptionSocketExceptionSocketTimeoutExceptionUnknownHostExceptionUnknownServiceExceptionURISyntaxException java.nio Overview Classes BufferByteBufferByteOrderCharBufferDoubleBufferFloatBufferIntBufferLongBufferMappedByteBufferShortBuffer Exceptions BufferOverflowExceptionBufferUnderflowExceptionInvalidMarkExceptionReadOnlyBufferException java.nio.channels Overview Interfaces AsynchronousByteChannelAsynchronousChannelByteChannelChannelCompletionHandlerGatheringByteChannelInterruptibleChannelMulticastChannelNetworkChannelReadableByteChannelScatteringByteChannelSeekableByteChannelWritableByteChannel Classes AsynchronousChannelGroupAsynchronousFileChannelAsynchronousServerSocketChannelAsynchronousSocketChannelChannelsDatagramChannelFileChannelFileChannel.MapModeFileLockMembershipKeyPipePipe.SinkChannelPipe.SourceChannelSelectableChannelSelectionKeySelectorServerSocketChannelSocketChannel Exceptions AcceptPendingExceptionAlreadyBoundExceptionAlreadyConnectedExceptionAsynchronousCloseExceptionCancelledKeyExceptionClosedByInterruptExceptionClosedChannelExceptionClosedSelectorExceptionConnectionPendingExceptionFileLockInterruptionExceptionIllegalBlockingModeExceptionIllegalChannelGroupExceptionIllegalSelectorExceptionInterruptedByTimeoutExceptionNoConnectionPendingExceptionNonReadableChannelExceptionNonWritableChannelExceptionNotYetBoundExceptionNotYetConnectedExceptionOverlappingFileLockExceptionReadPendingExceptionShutdownChannelGroupExceptionUnresolvedAddressExceptionUnsupportedAddressTypeExceptionWritePendingException java.nio.channels.spi Overview Classes AbstractInterruptibleChannelAbstractSelectableChannelAbstractSelectionKeyAbstractSelectorAsynchronousChannelProviderSelectorProvider java.nio.charset Overview Classes CharsetCharsetDecoderCharsetEncoderCoderResultCodingErrorActionStandardCharsets Exceptions CharacterCodingExceptionIllegalCharsetNameExceptionMalformedInputExceptionUnmappableCharacterExceptionUnsupportedCharsetException Errors CoderMalfunctionError java.nio.charset.spi Overview Classes CharsetProvider java.nio.file Overview Interfaces CopyOptionDirectoryStreamDirectoryStream.FilterFileVisitorOpenOptionPathPathMatcherSecureDirectoryStreamWatchableWatchEventWatchEvent.KindWatchEvent.ModifierWatchKeyWatchService Classes FilesFileStoreFileSystemFileSystemsLinkPermissionPathsSimpleFileVisitorStandardWatchEventKinds Enums AccessModeFileVisitOptionFileVisitResultLinkOptionStandardCopyOptionStandardOpenOption Exceptions AccessDeniedExceptionAtomicMoveNotSupportedExceptionClosedDirectoryStreamExceptionClosedFileSystemExceptionClosedWatchServiceExceptionDirectoryIteratorExceptionDirectoryNotEmptyExceptionFileAlreadyExistsExceptionFileSystemAlreadyExistsExceptionFileSystemExceptionFileSystemLoopExceptionFileSystemNotFoundExceptionInvalidPathExceptionNoSuchFileExceptionNotDirectoryExceptionNotLinkExceptionProviderMismatchExceptionProviderNotFoundExceptionReadOnlyFileSystemException java.nio.file.attribute Overview Interfaces AclFileAttributeViewAttributeViewBasicFileAttributesBasicFileAttributeViewDosFileAttributesDosFileAttributeViewFileAttributeFileAttributeViewFileOwnerAttributeViewFileStoreAttributeViewGroupPrincipalPosixFileAttributesPosixFileAttributeViewUserDefinedFileAttributeViewUserPrincipal Classes AclEntryAclEntry.BuilderFileTimePosixFilePermissionsUserPrincipalLookupService Enums AclEntryFlagAclEntryPermissionAclEntryTypePosixFilePermission Exceptions UserPrincipalNotFoundException java.nio.file.spi Overview Classes FileSystemProviderFileTypeDetector java.security Overview Interfaces AlgorithmConstraintsCertificateDomainCombinerGuardKeyKeyStore.EntryKeyStore.Entry.AttributeKeyStore.LoadStoreParameterKeyStore.ProtectionParameterPolicy.ParametersPrincipalPrivateKeyPrivilegedActionPrivilegedExceptionActionPublicKey Classes AccessControlContextAccessControllerAlgorithmParameterGeneratorAlgorithmParameterGeneratorSpiAlgorithmParametersAlgorithmParametersSpiAllPermissionAuthProviderBasicPermissionCodeSignerCodeSourceDigestInputStreamDigestOutputStreamDomainLoadStoreParameterGuardedObjectIdentityIdentityScopeKeyFactoryKeyFactorySpiKeyPairKeyPairGeneratorKeyPairGeneratorSpiKeyRepKeyStoreKeyStore.BuilderKeyStore.CallbackHandlerProtectionKeyStore.PasswordProtectionKeyStore.PrivateKeyEntryKeyStore.SecretKeyEntryKeyStore.TrustedCertificateEntryKeyStoreSpiMessageDigestMessageDigestSpiPermissionPermissionCollectionPermissionsPKCS12AttributePolicyPolicySpiProtectionDomainProviderProvider.ServiceSecureClassLoaderSecureRandomSecureRandomSpiSecuritySecurityPermissionSignatureSignatureSpiSignedObjectSignerTimestampUnresolvedPermission Enums CryptoPrimitiveKeyRep.Type Exceptions AccessControlExceptionDigestExceptionGeneralSecurityExceptionInvalidAlgorithmParameterExceptionInvalidKeyExceptionInvalidParameterExceptionKeyExceptionKeyManagementExceptionKeyStoreExceptionNoSuchAlgorithmExceptionNoSuchProviderExceptionPrivilegedActionExceptionProviderExceptionSignatureExceptionUnrecoverableEntryExceptionUnrecoverableKeyException java.security.acl Overview Interfaces AclAclEntryGroupOwnerPermission Exceptions AclNotFoundExceptionLastOwnerExceptionNotOwnerException java.security.cert Overview Interfaces CertPathBuilderResultCertPathCheckerCertPathParametersCertPathValidatorException.ReasonCertPathValidatorResultCertSelectorCertStoreParametersCRLSelectorExtensionPolicyNodeX509Extension Classes CertificateCertificate.CertificateRepCertificateFactoryCertificateFactorySpiCertPathCertPath.CertPathRepCertPathBuilderCertPathBuilderSpiCertPathValidatorCertPathValidatorSpiCertStoreCertStoreSpiCollectionCertStoreParametersCRLLDAPCertStoreParametersPKIXBuilderParametersPKIXCertPathBuilderResultPKIXCertPathCheckerPKIXCertPathValidatorResultPKIXParametersPKIXRevocationCheckerPolicyQualifierInfoTrustAnchorURICertStoreParametersX509CertificateX509CertSelectorX509CRLX509CRLEntryX509CRLSelector Enums CertPathValidatorException.BasicReasonCRLReasonPKIXReasonPKIXRevocationChecker.Option Exceptions CertificateEncodingExceptionCertificateExceptionCertificateExpiredExceptionCertificateNotYetValidExceptionCertificateParsingExceptionCertificateRevokedExceptionCertPathBuilderExceptionCertPathValidatorExceptionCertStoreExceptionCRLException java.security.interfaces Overview Interfaces DSAKeyDSAKeyPairGeneratorDSAParamsDSAPrivateKeyDSAPublicKeyECKeyECPrivateKeyECPublicKeyEdECKeyEdECPrivateKeyEdECPublicKeyRSAKeyRSAMultiPrimePrivateCrtKeyRSAPrivateCrtKeyRSAPrivateKeyRSAPublicKeyXECKeyXECPrivateKeyXECPublicKey java.security.spec Overview Interfaces AlgorithmParameterSpecECFieldKeySpec Classes DSAParameterSpecDSAPrivateKeySpecDSAPublicKeySpecECFieldF2mECFieldFpECGenParameterSpecECParameterSpecECPointECPrivateKeySpecECPublicKeySpecEdECPointEdECPrivateKeySpecEdECPublicKeySpecEllipticCurveEncodedKeySpecMGF1ParameterSpecNamedParameterSpecPKCS8EncodedKeySpecPSSParameterSpecRSAKeyGenParameterSpecRSAMultiPrimePrivateCrtKeySpecRSAOtherPrimeInfoRSAPrivateCrtKeySpecRSAPrivateKeySpecRSAPublicKeySpecX509EncodedKeySpecXECPrivateKeySpecXECPublicKeySpec Exceptions InvalidKeySpecExceptionInvalidParameterSpecException java.sql Overview Interfaces ArrayBlobCallableStatementClobConnectionDatabaseMetaDataDriverNClobParameterMetaDataPreparedStatementRefResultSetResultSetMetaDataRowIdSavepointSQLDataSQLInputSQLOutputSQLXMLStatementStructWrapper Classes DateDriverManagerDriverPropertyInfoSQLPermissionTimeTimestampTypes Enums ClientInfoStatusRowIdLifetime Exceptions BatchUpdateExceptionDataTruncationSQLClientInfoExceptionSQLDataExceptionSQLExceptionSQLFeatureNotSupportedExceptionSQLIntegrityConstraintViolationExceptionSQLInvalidAuthorizationSpecExceptionSQLNonTransientConnectionExceptionSQLNonTransientExceptionSQLRecoverableExceptionSQLSyntaxErrorExceptionSQLTimeoutExceptionSQLTransactionRollbackExceptionSQLTransientConnectionExceptionSQLTransientExceptionSQLWarning java.text Overview Interfaces AttributedCharacterIteratorCharacterIterator Classes AnnotationAttributedCharacterIterator.AttributeAttributedStringBidiBreakIteratorChoiceFormatCollationElementIteratorCollationKeyCollatorDateFormatDateFormat.FieldDateFormatSymbolsDecimalFormatDecimalFormatSymbolsFieldPositionFormatFormat.FieldMessageFormatMessageFormat.FieldNormalizerNumberFormatNumberFormat.FieldParsePositionRuleBasedCollatorSimpleDateFormatStringCharacterIterator Enums Normalizer.Form Exceptions ParseException java.time Overview Classes ClockDurationInstantLocalDateLocalDateTimeLocalTimeMonthDayOffsetDateTimeOffsetTimePeriodYearYearMonthZonedDateTimeZoneIdZoneOffset Enums DayOfWeekMonth Exceptions DateTimeException java.time.chrono Overview Interfaces ChronoLocalDateChronoLocalDateTimeChronologyChronoPeriodChronoZonedDateTimeEra Classes AbstractChronologyHijrahChronologyHijrahDateIsoChronologyJapaneseChronologyJapaneseDateJapaneseEraMinguoChronologyMinguoDateThaiBuddhistChronologyThaiBuddhistDate Enums HijrahEraIsoEraMinguoEraThaiBuddhistEra java.time.format Overview Classes DateTimeFormatterDateTimeFormatterBuilderDecimalStyle Enums FormatStyleResolverStyleSignStyleTextStyle Exceptions DateTimeParseException java.time.temporal Overview Interfaces TemporalTemporalAccessorTemporalAdjusterTemporalAmountTemporalFieldTemporalQueryTemporalUnit Classes IsoFieldsJulianFieldsTemporalAdjustersTemporalQueriesValueRangeWeekFields Enums ChronoFieldChronoUnit Exceptions UnsupportedTemporalTypeException java.time.zone Overview Classes ZoneOffsetTransitionZoneOffsetTransitionRuleZoneRules Enums ZoneOffsetTransitionRule.TimeDefinition Exceptions ZoneRulesException java.util Overview Interfaces CollectionComparatorDequeEnumerationEventListenerFormattableIteratorListListIteratorMapMap.EntryNavigableMapNavigableSetObserverPrimitiveIteratorPrimitiveIterator.OfDoublePrimitiveIterator.OfIntPrimitiveIterator.OfLongQueueRandomAccessSetSortedMapSortedSetSpliteratorSpliterator.OfDoubleSpliterator.OfIntSpliterator.OfLongSpliterator.OfPrimitive Classes AbstractCollectionAbstractListAbstractMapAbstractMap.SimpleEntryAbstractMap.SimpleImmutableEntryAbstractQueueAbstractSequentialListAbstractSetArrayDequeArrayListArraysBase64Base64.DecoderBase64.EncoderBitSetCalendarCalendar.BuilderCollectionsCurrencyDateDictionaryDoubleSummaryStatisticsEnumMapEnumSetEventListenerProxyEventObjectFormattableFlagsFormatterGregorianCalendarHashMapHashSetHashtableIdentityHashMapIntSummaryStatisticsLinkedHashMapLinkedHashSetLinkedListListResourceBundleLocaleLocale.BuilderLocale.LanguageRangeLongSummaryStatisticsObjectsObservableOptionalOptionalDoubleOptionalIntOptionalLongPriorityQueuePropertiesPropertyPermissionPropertyResourceBundleRandomResourceBundleResourceBundle.ControlScannerServiceLoaderSimpleTimeZoneSpliteratorsSpliterators.AbstractDoubleSpliteratorSpliterators.AbstractIntSpliteratorSpliterators.AbstractLongSpliteratorSpliterators.AbstractSpliteratorSplittableRandomStackStringJoinerStringTokenizerTimerTimerTaskTimeZoneTreeMapTreeSetUUIDVectorWeakHashMap Enums Formatter.BigDecimalLayoutFormLocale.CategoryLocale.FilteringMode Exceptions ConcurrentModificationExceptionDuplicateFormatFlagsExceptionEmptyStackExceptionFormatFlagsConversionMismatchExceptionFormatterClosedExceptionIllegalFormatCodePointExceptionIllegalFormatConversionExceptionIllegalFormatExceptionIllegalFormatFlagsExceptionIllegalFormatPrecisionExceptionIllegalFormatWidthExceptionIllformedLocaleExceptionInputMismatchExceptionInvalidPropertiesFormatExceptionMissingFormatArgumentExceptionMissingFormatWidthExceptionMissingResourceExceptionNoSuchElementExceptionTooManyListenersExceptionUnknownFormatConversionExceptionUnknownFormatFlagsException Errors ServiceConfigurationError java.util.concurrent Overview Interfaces BlockingDequeBlockingQueueCallableCompletableFuture.AsynchronousCompletionTaskCompletionServiceCompletionStageConcurrentMapConcurrentNavigableMapDelayedExecutorExecutorServiceFlow.ProcessorFlow.PublisherFlow.SubscriberFlow.SubscriptionForkJoinPool.ForkJoinWorkerThreadFactoryForkJoinPool.ManagedBlockerFutureRejectedExecutionHandlerRunnableFutureRunnableScheduledFutureScheduledExecutorServiceScheduledFutureThreadFactoryTransferQueue Classes AbstractExecutorServiceArrayBlockingQueueCompletableFutureConcurrentHashMapConcurrentHashMap.KeySetViewConcurrentLinkedDequeConcurrentLinkedQueueConcurrentSkipListMapConcurrentSkipListSetCopyOnWriteArrayListCopyOnWriteArraySetCountDownLatchCountedCompleterCyclicBarrierDelayQueueExchangerExecutorCompletionServiceExecutorsFlowForkJoinPoolForkJoinTaskForkJoinWorkerThreadFutureTaskLinkedBlockingDequeLinkedBlockingQueueLinkedTransferQueuePhaserPriorityBlockingQueueRecursiveActionRecursiveTaskScheduledThreadPoolExecutorSemaphoreSubmissionPublisherSynchronousQueueThreadLocalRandomThreadPoolExecutorThreadPoolExecutor.AbortPolicyThreadPoolExecutor.CallerRunsPolicyThreadPoolExecutor.DiscardOldestPolicyThreadPoolExecutor.DiscardPolicy Enums TimeUnit Exceptions BrokenBarrierExceptionCancellationExceptionCompletionExceptionExecutionExceptionRejectedExecutionExceptionTimeoutException java.util.concurrent.atomic Overview Classes AtomicBooleanAtomicIntegerAtomicIntegerArrayAtomicIntegerFieldUpdaterAtomicLongAtomicLongArrayAtomicLongFieldUpdaterAtomicMarkableReferenceAtomicReferenceAtomicReferenceArrayAtomicReferenceFieldUpdaterAtomicStampedReferenceDoubleAccumulatorDoubleAdderLongAccumulatorLongAdder java.util.concurrent.locks Overview Interfaces ConditionLockReadWriteLock Classes AbstractOwnableSynchronizerAbstractQueuedLongSynchronizerAbstractQueuedLongSynchronizer.ConditionObjectAbstractQueuedSynchronizerAbstractQueuedSynchronizer.ConditionObjectLockSupportReentrantLockReentrantReadWriteLockReentrantReadWriteLock.ReadLockReentrantReadWriteLock.WriteLockStampedLock java.util.function Overview Interfaces BiConsumerBiFunctionBinaryOperatorBiPredicateBooleanSupplierConsumerDoubleBinaryOperatorDoubleConsumerDoubleFunctionDoublePredicateDoubleSupplierDoubleToIntFunctionDoubleToLongFunctionDoubleUnaryOperatorFunctionIntBinaryOperatorIntConsumerIntFunctionIntPredicateIntSupplierIntToDoubleFunctionIntToLongFunctionIntUnaryOperatorLongBinaryOperatorLongConsumerLongFunctionLongPredicateLongSupplierLongToDoubleFunctionLongToIntFunctionLongUnaryOperatorObjDoubleConsumerObjIntConsumerObjLongConsumerPredicateSupplierToDoubleBiFunctionToDoubleFunctionToIntBiFunctionToIntFunctionToLongBiFunctionToLongFunctionUnaryOperator java.util.jar Overview Interfaces Pack200.PackerPack200.Unpacker Classes AttributesAttributes.NameJarEntryJarFileJarInputStreamJarOutputStreamManifestPack200 Exceptions JarException java.util.logging Overview Interfaces FilterLoggingMXBean Classes ConsoleHandlerErrorManagerFileHandlerFormatterHandlerLevelLoggerLoggingPermissionLogManagerLogRecordMemoryHandlerSimpleFormatterSocketHandlerStreamHandlerXMLFormatter java.util.prefs Overview Interfaces NodeChangeListenerPreferenceChangeListenerPreferencesFactory Classes AbstractPreferencesNodeChangeEventPreferenceChangeEventPreferences Exceptions BackingStoreExceptionInvalidPreferencesFormatException java.util.regex Overview Interfaces MatchResult Classes MatcherPattern Exceptions PatternSyntaxException java.util.stream Overview Interfaces BaseStreamCollectorDoubleStreamDoubleStream.BuilderIntStreamIntStream.BuilderLongStreamLongStream.BuilderStreamStream.Builder Classes CollectorsStreamSupport Enums Collector.Characteristics java.util.zip Overview Interfaces Checksum Classes Adler32CheckedInputStreamCheckedOutputStreamCRC32DeflaterDeflaterInputStreamDeflaterOutputStreamGZIPInputStreamGZIPOutputStreamInflaterInflaterInputStreamInflaterOutputStreamZipEntryZipFileZipInputStreamZipOutputStream Exceptions DataFormatExceptionZipException Errors ZipError javax.crypto Overview Interfaces SecretKey Classes CipherCipherInputStreamCipherOutputStreamCipherSpiEncryptedPrivateKeyInfoExemptionMechanismExemptionMechanismSpiKeyAgreementKeyAgreementSpiKeyGeneratorKeyGeneratorSpiMacMacSpiNullCipherSealedObjectSecretKeyFactorySecretKeyFactorySpi Exceptions AEADBadTagExceptionBadPaddingExceptionExemptionMechanismExceptionIllegalBlockSizeExceptionNoSuchPaddingExceptionShortBufferException javax.crypto.interfaces Overview Interfaces DHKeyDHPrivateKeyDHPublicKeyPBEKey javax.crypto.spec Overview Classes DESedeKeySpecDESKeySpecDHGenParameterSpecDHParameterSpecDHPrivateKeySpecDHPublicKeySpecGCMParameterSpecIvParameterSpecOAEPParameterSpecPBEKeySpecPBEParameterSpecPSourcePSource.PSpecifiedRC2ParameterSpecRC5ParameterSpecSecretKeySpec javax.microedition.khronos.egl Overview Interfaces EGLEGL10EGL11 Classes EGLConfigEGLContextEGLDisplayEGLSurface javax.microedition.khronos.opengles Overview Interfaces GLGL10GL10ExtGL11GL11ExtGL11ExtensionPack javax.net Overview Classes ServerSocketFactorySocketFactory javax.net.ssl Overview Interfaces HandshakeCompletedListenerHostnameVerifierKeyManagerManagerFactoryParametersSSLSessionSSLSessionBindingListenerSSLSessionContextTrustManagerX509KeyManagerX509TrustManager Classes CertPathTrustManagerParametersExtendedSSLSessionHandshakeCompletedEventHttpsURLConnectionKeyManagerFactoryKeyManagerFactorySpiKeyStoreBuilderParametersSNIHostNameSNIMatcherSNIServerNameSSLContextSSLContextSpiSSLEngineSSLEngineResultSSLParametersSSLPermissionSSLServerSocketSSLServerSocketFactorySSLSessionBindingEventSSLSocketSSLSocketFactoryStandardConstantsTrustManagerFactoryTrustManagerFactorySpiX509ExtendedKeyManagerX509ExtendedTrustManager Enums SSLEngineResult.HandshakeStatusSSLEngineResult.Status Exceptions SSLExceptionSSLHandshakeExceptionSSLKeyExceptionSSLPeerUnverifiedExceptionSSLProtocolException javax.security.auth Overview Interfaces Destroyable Classes AuthPermissionPrivateCredentialPermissionSubjectSubjectDomainCombiner Exceptions DestroyFailedException javax.security.auth.callback Overview Interfaces CallbackCallbackHandler Classes PasswordCallback Exceptions UnsupportedCallbackException javax.security.auth.login Overview Exceptions LoginException javax.security.auth.x500 Overview Classes X500Principal javax.security.cert Overview Classes CertificateX509Certificate Exceptions CertificateEncodingExceptionCertificateExceptionCertificateExpiredExceptionCertificateNotYetValidExceptionCertificateParsingException javax.sql Overview Interfaces CommonDataSourceConnectionEventListenerConnectionPoolDataSourceDataSourcePooledConnectionRowSetRowSetInternalRowSetListenerRowSetMetaDataRowSetReaderRowSetWriterStatementEventListener Classes ConnectionEventRowSetEventStatementEvent javax.xml Overview Classes XMLConstants javax.xml.datatype Overview Classes DatatypeConstantsDatatypeConstants.FieldDatatypeFactoryDurationXMLGregorianCalendar Exceptions DatatypeConfigurationException javax.xml.namespace Overview Interfaces NamespaceContext Classes QName javax.xml.parsers Overview Classes DocumentBuilderDocumentBuilderFactorySAXParserSAXParserFactory Exceptions ParserConfigurationException Errors FactoryConfigurationError javax.xml.transform Overview Interfaces ErrorListenerResultSourceSourceLocatorTemplatesURIResolver Classes OutputKeysTransformerTransformerFactory Exceptions TransformerConfigurationExceptionTransformerException Errors TransformerFactoryConfigurationError javax.xml.transform.dom Overview Interfaces DOMLocator Classes DOMResultDOMSource javax.xml.transform.sax Overview Interfaces TemplatesHandlerTransformerHandler Classes SAXResultSAXSourceSAXTransformerFactory javax.xml.transform.stream Overview Classes StreamResultStreamSource javax.xml.validation Overview Classes SchemaSchemaFactorySchemaFactoryLoaderTypeInfoProviderValidatorValidatorHandler javax.xml.xpath Overview Interfaces XPathXPathExpressionXPathFunctionXPathFunctionResolverXPathVariableResolver Classes XPathConstantsXPathFactory Exceptions XPathExceptionXPathExpressionExceptionXPathFactoryConfigurationExceptionXPathFunctionException junit.framework Overview Interfaces ProtectableTestTestListener Classes AssertTestCaseTestFailureTestResultTestSuite Errors AssertionFailedErrorComparisonFailure junit.runner Overview Interfaces TestSuiteLoader Classes BaseTestRunnerVersion org.apache.http.conn Overview Exceptions ConnectTimeoutException org.apache.http.conn.scheme Overview Interfaces HostNameResolverLayeredSocketFactorySocketFactory org.apache.http.conn.ssl Overview Interfaces X509HostnameVerifier Classes AbstractVerifierAllowAllHostnameVerifierBrowserCompatHostnameVerifierSSLSocketFactoryStrictHostnameVerifier org.apache.http.params Overview Interfaces CoreConnectionPNamesHttpParams Classes HttpConnectionParams org.json Overview Classes JSONArrayJSONObjectJSONStringerJSONTokener Exceptions JSONException org.w3c.dom Overview Interfaces AttrCDATASectionCharacterDataCommentDocumentDocumentFragmentDocumentTypeDOMConfigurationDOMErrorDOMErrorHandlerDOMImplementationDOMImplementationListDOMImplementationSourceDOMLocatorDOMStringListElementEntityEntityReferenceNamedNodeMapNameListNodeNodeListNotationProcessingInstructionTextTypeInfoUserDataHandler Exceptions DOMException org.w3c.dom.ls Overview Interfaces DOMImplementationLSLSInputLSOutputLSParserLSParserFilterLSResourceResolverLSSerializer Exceptions LSException org.xml.sax Overview Interfaces AttributeListAttributesContentHandlerDocumentHandlerDTDHandlerEntityResolverErrorHandlerLocatorParserXMLFilterXMLReader Classes HandlerBaseInputSource Exceptions SAXExceptionSAXNotRecognizedExceptionSAXNotSupportedExceptionSAXParseException org.xml.sax.ext Overview Interfaces Attributes2DeclHandlerEntityResolver2LexicalHandlerLocator2 Classes Attributes2ImplDefaultHandler2Locator2Impl org.xml.sax.helpers Overview Classes AttributeListImplAttributesImplDefaultHandlerLocatorImplNamespaceSupportParserAdapterParserFactoryXMLFilterImplXMLReaderAdapterXMLReaderFactory org.xmlpull.v1 Overview Interfaces XmlPullParserXmlSerializer Classes XmlPullParserFactory Exceptions XmlPullParserException org.xmlpull.v1.sax2 Overview Classes Driver AndroidDevelopers Docs Reference AddedinAPIlevel1 Summary: Constants |ProtectedCtors |Methods |InheritedMethods Preferences public abstract class Preferences extendsObject java.lang.Object    ↳ java.util.prefs.Preferences Knowndirectsubclasses AbstractPreferences AbstractPreferences ThisclassprovidesaskeletalimplementationofthePreferences class,greatlyeasingthetaskofimplementingit.  Anodeinahierarchicalcollectionofpreferencedata.Thisclass allowsapplicationstostoreandretrieveuserandsystem preferenceandconfigurationdata.Thisdataisstored persistentlyinanimplementation-dependentbackingstore.Typical implementationsincludeflatfiles,OS-specificregistries, directoryserversandSQLdatabases.Theuserofthisclassneedn't beconcernedwithdetailsofthebackingstore. Therearetwoseparatetreesofpreferencenodes,oneforuser preferencesandoneforsystempreferences.Eachuserhasaseparateuser preferencetree,andallusersinagivensystemsharethesamesystem preferencetree.Theprecisedescriptionof"user"and"system"willvary fromimplementationtoimplementation.Typicalinformationstoredinthe userpreferencetreemightincludefontchoice,colorchoice,orpreferred windowlocationandsizeforaparticularapplication.Typicalinformation storedinthesystempreferencetreemightincludeinstallation configurationdataforanapplication. Nodesinapreferencetreearenamedinasimilarfashionto directoriesinahierarchicalfilesystem.Everynodeinapreference treehasanodename(whichisnotnecessarilyunique), auniqueabsolutepathname,andapathnamerelativetoeach ancestorincludingitself. Therootnodehasanodenameoftheemptystring("").Everyother nodehasanarbitrarynodename,specifiedatthetimeitiscreated.The onlyrestrictionsonthisnamearethatitcannotbetheemptystring,and itcannotcontaintheslashcharacter('/'). Therootnodehasanabsolutepathnameof"/".Childrenof therootnodehaveabsolutepathnamesof"/"+.Allothernodeshaveabsolutepathnamesof+"/"+. Notethatallabsolutepathnamesbeginwiththeslashcharacter. Anoden'spathnamerelativetoitsancestora issimplythestringthatmustbeappendedtoa'sabsolutepathname inordertoformn'sabsolutepathname,withtheinitialslash character(ifpresent)removed.Notethat: Norelativepathnamesbeginwiththeslashcharacter. Everynode'spathnamerelativetoitselfistheemptystring. Everynode'spathnamerelativetoitsparentisitsnodename(except fortherootnode,whichdoesnothaveaparent). Everynode'spathnamerelativetotherootisitsabsolutepathname withtheinitialslashcharacterremoved. Notefinallythat: Nopathnamecontainsmultipleconsecutiveslashcharacters. Nopathnamewiththeexceptionoftheroot'sabsolutepathname endsintheslashcharacter. Anystringthatconformstothesetworulesisavalidpathname. Allofthemethodsthatmodifypreferencesdataarepermittedtooperate asynchronously;theymayreturnimmediately,andchangeswilleventually propagatetothepersistentbackingstorewithanimplementation-dependent delay.Theflushmethodmaybeusedtosynchronouslyforce updatestothebackingstore.NormalterminationoftheJavaVirtual Machinewillnotresultinthelossofpendingupdates--anexplicit flushinvocationisnotrequireduponterminationtoensure thatpendingupdatesaremadepersistent. AllofthemethodsthatreadpreferencesfromaPreferences objectrequiretheinvokertoprovideadefaultvalue.Thedefaultvalueis returnedifnovaluehasbeenpreviouslysetorifthebackingstoreis unavailable.Theintentistoallowapplicationstooperate,albeit withslightlydegradedfunctionality,evenifthebackingstorebecomes unavailable.Severalmethods,likeflush,havesemanticsthat preventthemfromoperatingifthebackingstoreisunavailable.Ordinary applicationsshouldhavenoneedtoinvokeanyofthesemethods,whichcan beidentifiedbythefactthattheyaredeclaredtothrowBackingStoreException. Themethodsinthisclassmaybeinvokedconcurrentlybymultiplethreads inasingleJVMwithouttheneedforexternalsynchronization,andthe resultswillbeequivalenttosomeserialexecution.Ifthisclassisused concurrentlybymultipleJVMsthatstoretheirpreferencedatain thesamebackingstore,thedatastorewillnotbecorrupted,butno otherguaranteesaremadeconcerningtheconsistencyofthepreference data. Thisclasscontainsanexport/importfacility,allowingpreferences tobe"exported"toanXMLdocument,andXMLdocumentsrepresenting preferencestobe"imported"backintothesystem.Thisfacility maybeusedtobackupallorpartofapreferencetree,and subsequentlyrestorefromthebackup. TheXMLdocumenthasthefollowingDOCTYPEdeclaration: http://java.sun.com/dtd/preferences.dtd"> NotethatthesystemURI(http://java.sun.com/dtd/preferences.dtd)is notaccessedwhenexportingorimportingpreferences;itmerely servesasastringtouniquelyidentifytheDTD,whichis: EveryPreferencesimplementationmusthaveanassociatedPreferencesFactoryimplementation.EveryJava(TM)SEimplementationmustprovide somemeansofspecifyingwhichPreferencesFactoryimplementation isusedtogeneratetherootpreferencesnodes.Thisallowsthe administratortoreplacethedefaultpreferencesimplementationwithan alternativeimplementation. Implementationnote:InSun'sJRE,thePreferencesFactory implementationislocatedasfollows: Ifthesystemproperty java.util.prefs.PreferencesFactoryisdefined,thenitis takentobethefully-qualifiednameofaclassimplementingthe PreferencesFactoryinterface.Theclassisloadedand instantiated;ifthisprocessfailsthenanunspecifiederroris thrown. IfaPreferencesFactoryimplementationclassfile hasbeeninstalledinajarfilethatisvisibletothe systemclassloader, andthatjarfilecontainsaprovider-configurationfilenamed java.util.prefs.PreferencesFactoryintheresource directoryMETA-INF/services,thenthefirstclassname specifiedinthatfileistaken.Ifmorethanonesuchjarfileis provided,thefirstonefoundwillbeused.Theclassisloaded andinstantiated;ifthisprocessfailsthenanunspecifiederror isthrown. Finally,ifneithertheabove-mentionedsystempropertynor anextensionjarfileisprovided,thenthesystem-widedefault PreferencesFactoryimplementationfortheunderlying platformisloadedandinstantiated. Summary Constants int MAX_KEY_LENGTH Maximumlengthofstringallowedasakey(80characters). int MAX_NAME_LENGTH Maximumlengthofanodename(80characters). int MAX_VALUE_LENGTH Maximumlengthofstringallowedasavalue(8192characters). Protectedconstructors Preferences() Soleconstructor. Publicmethods abstract String absolutePath() Returnsthispreferencenode'sabsolutepathname. abstract void addNodeChangeListener(NodeChangeListenerncl) Registersthespecifiedlistenertoreceivenodechangeevents forthisnode. abstract void addPreferenceChangeListener(PreferenceChangeListenerpcl) Registersthespecifiedlistenertoreceivepreferencechange eventsforthispreferencenode. abstract String[] childrenNames() Returnsthenamesofthechildrenofthispreferencenode,relativeto thisnode. abstract void clear() Removesallofthepreferences(key-valueassociations)inthis preferencenode. abstract void exportNode(OutputStreamos) EmitsonthespecifiedoutputstreamanXMLdocumentrepresentingall ofthepreferencescontainedinthisnode(butnotitsdescendants). abstract void exportSubtree(OutputStreamos) EmitsanXMLdocumentrepresentingallofthepreferencescontained inthisnodeandallofitsdescendants. abstract void flush() Forcesanychangesinthecontentsofthispreferencenodeandits descendantstothepersistentstore. abstract String get(Stringkey,Stringdef) Returnsthevalueassociatedwiththespecifiedkeyinthispreference node. abstract boolean getBoolean(Stringkey,booleandef) Returnsthebooleanvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode. abstract byte[] getByteArray(Stringkey,byte[]def) Returnsthebytearrayvaluerepresentedbythestringassociatedwith thespecifiedkeyinthispreferencenode. abstract double getDouble(Stringkey,doubledef) Returnsthedoublevaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode. abstract float getFloat(Stringkey,floatdef) Returnsthefloatvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode. abstract int getInt(Stringkey,intdef) Returnstheintvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode. abstract long getLong(Stringkey,longdef) Returnsthelongvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode. static void importPreferences(InputStreamis) ImportsallofthepreferencesrepresentedbytheXMLdocumentonthe specifiedinputstream. abstract boolean isUserNode() Returnstrueifthispreferencenodeisintheuser preferencetree,falseifit'sinthesystempreferencetree. abstract String[] keys() Returnsallofthekeysthathaveanassociatedvalueinthis preferencenode. abstract String name() Returnsthispreferencenode'sname,relativetoitsparent. abstract Preferences node(StringpathName) Returnsthenamedpreferencenodeinthesametreeasthisnode, creatingitandanyofitsancestorsiftheydonotalreadyexist. abstract boolean nodeExists(StringpathName) Returnstrueifthenamedpreferencenodeexistsinthesametree asthisnode. abstract Preferences parent() Returnstheparentofthispreferencenode,ornullifthisis theroot. abstract void put(Stringkey,Stringvalue) Associatesthespecifiedvaluewiththespecifiedkeyinthis preferencenode. abstract void putBoolean(Stringkey,booleanvalue) Associatesastringrepresentingthespecifiedbooleanvaluewiththe specifiedkeyinthispreferencenode. abstract void putByteArray(Stringkey,byte[]value) Associatesastringrepresentingthespecifiedbytearraywiththe specifiedkeyinthispreferencenode. abstract void putDouble(Stringkey,doublevalue) Associatesastringrepresentingthespecifieddoublevaluewiththe specifiedkeyinthispreferencenode. abstract void putFloat(Stringkey,floatvalue) Associatesastringrepresentingthespecifiedfloatvaluewiththe specifiedkeyinthispreferencenode. abstract void putInt(Stringkey,intvalue) Associatesastringrepresentingthespecifiedintvaluewiththe specifiedkeyinthispreferencenode. abstract void putLong(Stringkey,longvalue) Associatesastringrepresentingthespecifiedlongvaluewiththe specifiedkeyinthispreferencenode. abstract void remove(Stringkey) Removesthevalueassociatedwiththespecifiedkeyinthispreference node,ifany. abstract void removeNode() Removesthispreferencenodeandallofitsdescendants,invalidating anypreferencescontainedintheremovednodes. abstract void removeNodeChangeListener(NodeChangeListenerncl) RemovesthespecifiedNodeChangeListener,soitnolonger receiveschangeevents. abstract void removePreferenceChangeListener(PreferenceChangeListenerpcl) Removesthespecifiedpreferencechangelistener,soitnolonger receivespreferencechangeevents. abstract void sync() Ensuresthatfuturereadsfromthispreferencenodeandits descendantsreflectanychangesthatwerecommittedtothepersistent store(fromanyVM)priortothesyncinvocation. static Preferences systemNodeForPackage(Class>c) WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps. static Preferences systemRoot() WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps. abstract String toString() Returnsastringrepresentationofthispreferencesnode, asifcomputedbytheexpression:(this.isUserNode()?"User": "System")+"PreferenceNode:"+this.absolutePath(). static Preferences userNodeForPackage(Class>c) WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps. static Preferences userRoot() WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps. Inheritedmethods Fromclass java.lang.Object Object clone() Createsandreturnsacopyofthisobject. boolean equals(Objectobj) Indicateswhethersomeotherobjectis"equalto"thisone. void finalize() Calledbythegarbagecollectoronanobjectwhengarbagecollection determinesthattherearenomorereferencestotheobject. final Class> getClass() ReturnstheruntimeclassofthisObject. int hashCode() Returnsahashcodevaluefortheobject. final void notify() Wakesupasinglethreadthatiswaitingonthisobject's monitor. final void notifyAll() Wakesupallthreadsthatarewaitingonthisobject'smonitor. String toString() Returnsastringrepresentationoftheobject. final void wait(longtimeout,intnanos) Causesthecurrentthreadtowaituntilanotherthreadinvokesthe notify()methodorthe notifyAll()methodforthisobject,or someotherthreadinterruptsthecurrentthread,oracertain amountofrealtimehaselapsed. final void wait(longtimeout) Causesthecurrentthreadtowaituntileitheranotherthreadinvokesthe notify()methodorthe notifyAll()methodforthisobject,ora specifiedamountoftimehaselapsed. final void wait() Causesthecurrentthreadtowaituntilanotherthreadinvokesthe notify()methodorthe notifyAll()methodforthisobject. Constants MAX_KEY_LENGTH AddedinAPIlevel1 publicstaticfinalintMAX_KEY_LENGTH Maximumlengthofstringallowedasakey(80characters). ConstantValue: 80 (0x00000050) MAX_NAME_LENGTH AddedinAPIlevel1 publicstaticfinalintMAX_NAME_LENGTH Maximumlengthofanodename(80characters). ConstantValue: 80 (0x00000050) MAX_VALUE_LENGTH AddedinAPIlevel1 publicstaticfinalintMAX_VALUE_LENGTH Maximumlengthofstringallowedasavalue(8192characters). ConstantValue: 8192 (0x00002000) Protectedconstructors Preferences AddedinAPIlevel1 protectedPreferences() Soleconstructor.(Forinvocationbysubclassconstructors,typically implicit.) Publicmethods absolutePath AddedinAPIlevel1 publicabstractStringabsolutePath() Returnsthispreferencenode'sabsolutepathname. Returns String thispreferencenode'sabsolutepathname. addNodeChangeListener AddedinAPIlevel1 publicabstractvoidaddNodeChangeListener(NodeChangeListenerncl) Registersthespecifiedlistenertoreceivenodechangeevents forthisnode.Anodechangeeventisgeneratedwhenachildnodeis addedtoorremovedfromthisnode.(AsingleremoveNode() invocationresultsinmultiplenodechangeevents,oneforevery nodeinthesubtreerootedattheremovednode.) EventsareonlyguaranteedforchangesmadewithinthesameJVM astheregisteredlistener,thoughsomeimplementationsmaygenerate eventsforchangesmadeoutsidethisJVM.Eventsmaybegenerated beforethechangeshavebecomepermanent.Eventsarenotgenerated whenindirectdescendantsofthisnodeareaddedorremoved;a callerdesiringsucheventsmustregisterwitheachdescendant. Fewguaranteescanbemaderegardingnodecreation.Becausenodes arecreatedimplicitlyuponaccess,itmaynotbefeasibleforan implementationtodeterminewhetherachildnodeexistedinthebacking storepriortoaccess(forexample,becausethebackingstoreis unreachableorcachedinformationisoutofdate).Underthese circumstances,implementationsareneitherrequiredtogeneratenode changeeventsnorprohibitedfromdoingso. Parameters ncl NodeChangeListener:TheNodeChangeListenertoadd. Throws NullPointerException ifnclisnull. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: removeNodeChangeListener(NodeChangeListener)addPreferenceChangeListener(PreferenceChangeListener) addPreferenceChangeListener AddedinAPIlevel1 publicabstractvoidaddPreferenceChangeListener(PreferenceChangeListenerpcl) Registersthespecifiedlistenertoreceivepreferencechange eventsforthispreferencenode.Apreferencechangeeventis generatedwhenapreferenceisaddedtothisnode,removedfromthis node,orwhenthevalueassociatedwithapreferenceischanged. (PreferencechangeeventsarenotgeneratedbytheremoveNode()method,whichgeneratesanodechangeevent. Preferencechangeeventsaregeneratedbytheclear method.) EventsareonlyguaranteedforchangesmadewithinthesameJVM astheregisteredlistener,thoughsomeimplementationsmaygenerate eventsforchangesmadeoutsidethisJVM.Eventsmaybegenerated beforethechangeshavebeenmadepersistent.Eventsarenotgenerated whenpreferencesaremodifiedindescendantsofthisnode;acaller desiringsucheventsmustregisterwitheachdescendant. Parameters pcl PreferenceChangeListener:Thepreferencechangelistenertoadd. Throws NullPointerException ifpclisnull. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: removePreferenceChangeListener(PreferenceChangeListener)addNodeChangeListener(NodeChangeListener) childrenNames AddedinAPIlevel1 publicabstractString[]childrenNames() Returnsthenamesofthechildrenofthispreferencenode,relativeto thisnode.(Thereturnedarraywillbeofsizezeroifthisnodehas nochildren.) Returns String[] thenamesofthechildrenofthispreferencenode. Throws BackingStoreException ifthisoperationcannotbecompleted duetoafailureinthebackingstore,orinabilityto communicatewithit. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. clear AddedinAPIlevel1 publicabstractvoidclear() Removesallofthepreferences(key-valueassociations)inthis preferencenode.Thiscallhasnoeffectonanydescendants ofthisnode. Ifthisimplementationsupportsstoreddefaults,andthis nodeinthepreferenceshierarchycontainsanysuchdefaults, thestoreddefaultswillbe"exposed"bythiscall,inthesensethat theywillbereturnedbysucceedingcallstoget. Throws BackingStoreException ifthisoperationcannotbecompleted duetoafailureinthebackingstore,orinabilityto communicatewithit. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: removeNode() exportNode AddedinAPIlevel1 publicabstractvoidexportNode(OutputStreamos) EmitsonthespecifiedoutputstreamanXMLdocumentrepresentingall ofthepreferencescontainedinthisnode(butnotitsdescendants). ThisXMLdocumentis,ineffect,anofflinebackupofthenode. TheXMLdocumentwillhavethefollowingDOCTYPEdeclaration: http://java.sun.com/dtd/preferences.dtd"> TheUTF-8characterencodingwillbeused. Thismethodisanexceptiontothegeneralrulethattheresultsof concurrentlyexecutingmultiplemethodsinthisclassyields resultsequivalenttosomeserialexecution.Ifthepreferences atthisnodearemodifiedconcurrentlywithaninvocationofthis method,theexportedpreferencescomprisea"fuzzysnapshot"ofthe preferencescontainedinthenode;someoftheconcurrentmodifications maybereflectedintheexporteddatawhileothersmaynot. Parameters os OutputStream:theoutputstreamonwhichtoemittheXMLdocument. Throws IOException ifwritingtothespecifiedoutputstream resultsinanIOException. BackingStoreException ifpreferencedatacannotbereadfrom backingstore. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: importPreferences(InputStream) exportSubtree AddedinAPIlevel1 publicabstractvoidexportSubtree(OutputStreamos) EmitsanXMLdocumentrepresentingallofthepreferencescontained inthisnodeandallofitsdescendants.ThisXMLdocumentis,in effect,anofflinebackupofthesubtreerootedatthenode. TheXMLdocumentwillhavethefollowingDOCTYPEdeclaration: http://java.sun.com/dtd/preferences.dtd"> TheUTF-8characterencodingwillbeused. Thismethodisanexceptiontothegeneralrulethattheresultsof concurrentlyexecutingmultiplemethodsinthisclassyields resultsequivalenttosomeserialexecution.Ifthepreferences ornodesinthesubtreerootedatthisnodearemodifiedconcurrently withaninvocationofthismethod,theexportedpreferencescomprisea "fuzzysnapshot"ofthesubtree;someoftheconcurrentmodifications maybereflectedintheexporteddatawhileothersmaynot. Parameters os OutputStream:theoutputstreamonwhichtoemittheXMLdocument. Throws IOException ifwritingtothespecifiedoutputstream resultsinanIOException. BackingStoreException ifpreferencedatacannotbereadfrom backingstore. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: importPreferences(InputStream)exportNode(OutputStream) flush AddedinAPIlevel1 publicabstractvoidflush() Forcesanychangesinthecontentsofthispreferencenodeandits descendantstothepersistentstore.Oncethismethodreturns successfully,itissafetoassumethatallchangesmadeinthe subtreerootedatthisnodepriortothemethodinvocationhavebecome permanent. Implementationsarefreetoflushchangesintothepersistentstore atanytime.Theydonotneedtowaitforthismethodtobecalled. Whenaflushoccursonanewlycreatednode,itismadepersistent, asareanyancestors(anddescendants)thathaveyettobemade persistent.Notehoweverthatanypreferencevaluechangesin ancestorsarenotguaranteedtobemadepersistent. Ifthismethodisinvokedonanodethathasbeenremovedwith theremoveNode()method,flushSpi()isinvokedonthisnode, butnotonothers. Throws BackingStoreException ifthisoperationcannotbecompleted duetoafailureinthebackingstore,orinabilityto communicatewithit. Seealso: sync() get AddedinAPIlevel1 publicabstractStringget(Stringkey, Stringdef) Returnsthevalueassociatedwiththespecifiedkeyinthispreference node.Returnsthespecifieddefaultifthereisnovalueassociated withthekey,orthebackingstoreisinaccessible. Someimplementationsmaystoredefaultvaluesintheirbacking stores.Ifthereisnovalueassociatedwiththespecifiedkey butthereissuchastoreddefault,itisreturnedin preferencetothespecifieddefault. Parameters key String:keywhoseassociatedvalueistobereturned. def String:thevaluetobereturnedintheeventthatthis preferencenodehasnovalueassociatedwithkey. Returns String thevalueassociatedwithkey,ordef ifnovalueisassociatedwithkey,orthebacking storeisinaccessible. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. NullPointerException ifkeyisnull.(A nullvaluefordefispermitted.) getBoolean AddedinAPIlevel1 publicabstractbooleangetBoolean(Stringkey, booleandef) Returnsthebooleanvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode.Validstrings are"true",whichrepresentstrue,and"false",which representsfalse.Caseisignored,so,forexample,"TRUE" and"False"arealsovalid.Thismethodisintendedforusein conjunctionwithputBoolean(String,boolean). Returnsthespecifieddefaultifthereisnovalue associatedwiththekey,thebackingstoreisinaccessible,orifthe associatedvalueissomethingotherthan"true"or "false",ignoringcase. Iftheimplementationsupportsstoreddefaultsandsucha defaultexistsandisaccessible,itisusedinpreferencetothe specifieddefault,unlessthestoreddefaultissomethingotherthan "true"or"false",ignoringcase,inwhichcasethe specifieddefaultisused. Parameters key String:keywhoseassociatedvalueistobereturnedasaboolean. def boolean:thevaluetobereturnedintheeventthatthis preferencenodehasnovalueassociatedwithkey ortheassociatedvaluecannotbeinterpretedasaboolean, orthebackingstoreisinaccessible. Returns boolean thebooleanvaluerepresentedbythestringassociatedwith keyinthispreferencenode,ordefifthe associatedvaluedoesnotexistorcannotbeinterpretedas aboolean. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. NullPointerException ifkeyisnull. Seealso: get(String,String)putBoolean(String,boolean) getByteArray AddedinAPIlevel1 publicabstractbyte[]getByteArray(Stringkey, byte[]def) Returnsthebytearrayvaluerepresentedbythestringassociatedwith thespecifiedkeyinthispreferencenode.Validstringsare Base64encodedbinarydata,asdefinedinRFC2045,Section6.8, withoneminorchange:thestringmustconsistsolelyofcharacters fromtheBase64Alphabet;nonewlinecharactersor extraneouscharactersarepermitted.Thismethodisintendedforuse inconjunctionwithputByteArray(String,byte[]). Returnsthespecifieddefaultifthereisnovalue associatedwiththekey,thebackingstoreisinaccessible,orifthe associatedvalueisnotavalidBase64encodedbytearray (asdefinedabove). Iftheimplementationsupportsstoreddefaultsandsucha defaultexistsandisaccessible,itisusedinpreferencetothe specifieddefault,unlessthestoreddefaultisnotavalidBase64 encodedbytearray(asdefinedabove),inwhichcasethe specifieddefaultisused. Parameters key String:keywhoseassociatedvalueistobereturnedasabytearray. def byte:thevaluetobereturnedintheeventthatthis preferencenodehasnovalueassociatedwithkey ortheassociatedvaluecannotbeinterpretedasabytearray, orthebackingstoreisinaccessible. Returns byte[] thebytearrayvaluerepresentedbythestringassociatedwith keyinthispreferencenode,ordefifthe associatedvaluedoesnotexistorcannotbeinterpretedas abytearray. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. NullPointerException ifkeyisnull.(A nullvaluefordefispermitted.) Seealso: get(String,String)putByteArray(String,byte[]) getDouble AddedinAPIlevel1 publicabstractdoublegetDouble(Stringkey, doubledef) Returnsthedoublevaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode.Thestringisconvertedtoan integerasbyDouble#parseDouble(String).Returnsthespecified defaultifthereisnovalueassociatedwiththekey,thebackingstore isinaccessible,orifDouble.parseDouble(String)wouldthrowa NumberFormatExceptioniftheassociatedvaluewerepassed. ThismethodisintendedforuseinconjunctionwithputDouble(String,double). Iftheimplementationsupportsstoreddefaultsandsucha defaultexists,isaccessible,andcouldbeconvertedtoadouble withDouble.parseDouble,thisdoubleisreturnedinpreference tothespecifieddefault. Parameters key String:keywhoseassociatedvalueistobereturnedasadouble. def double:thevaluetobereturnedintheeventthatthis preferencenodehasnovalueassociatedwithkey ortheassociatedvaluecannotbeinterpretedasadouble, orthebackingstoreisinaccessible. Returns double thedoublevaluerepresentedbythestringassociatedwith keyinthispreferencenode,ordefifthe associatedvaluedoesnotexistorcannotbeinterpretedas adouble. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. NullPointerException ifkeyisnull. Seealso: putDouble(String,double)get(String,String) getFloat AddedinAPIlevel1 publicabstractfloatgetFloat(Stringkey, floatdef) Returnsthefloatvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode.Thestringisconvertedtoan integerasbyFloat#parseFloat(String).Returnsthespecified defaultifthereisnovalueassociatedwiththekey,thebackingstore isinaccessible,orifFloat.parseFloat(String)wouldthrowa NumberFormatExceptioniftheassociatedvaluewerepassed. ThismethodisintendedforuseinconjunctionwithputFloat(String,float). Iftheimplementationsupportsstoreddefaultsandsucha defaultexists,isaccessible,andcouldbeconvertedtoafloat withFloat.parseFloat,thisfloatisreturnedinpreferenceto thespecifieddefault. Parameters key String:keywhoseassociatedvalueistobereturnedasafloat. def float:thevaluetobereturnedintheeventthatthis preferencenodehasnovalueassociatedwithkey ortheassociatedvaluecannotbeinterpretedasafloat, orthebackingstoreisinaccessible. Returns float thefloatvaluerepresentedbythestringassociatedwith keyinthispreferencenode,ordefifthe associatedvaluedoesnotexistorcannotbeinterpretedas afloat. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. NullPointerException ifkeyisnull. Seealso: putFloat(String,float)get(String,String) getInt AddedinAPIlevel1 publicabstractintgetInt(Stringkey, intdef) Returnstheintvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode.Thestringisconvertedto anintegerasbyInteger#parseInt(String).Returnsthe specifieddefaultifthereisnovalueassociatedwiththekey, thebackingstoreisinaccessible,orif Integer.parseInt(String)wouldthrowaNumberFormatExceptioniftheassociatedvaluewerepassed.This methodisintendedforuseinconjunctionwithputInt(String,int). Iftheimplementationsupportsstoreddefaultsandsucha defaultexists,isaccessible,andcouldbeconvertedtoanint withInteger.parseInt,thisintisreturnedinpreferenceto thespecifieddefault. Parameters key String:keywhoseassociatedvalueistobereturnedasanint. def int:thevaluetobereturnedintheeventthatthis preferencenodehasnovalueassociatedwithkey ortheassociatedvaluecannotbeinterpretedasanint, orthebackingstoreisinaccessible. Returns int theintvaluerepresentedbythestringassociatedwith keyinthispreferencenode,ordefifthe associatedvaluedoesnotexistorcannotbeinterpretedas anint. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. NullPointerException ifkeyisnull. Seealso: putInt(String,int)get(String,String) getLong AddedinAPIlevel1 publicabstractlonggetLong(Stringkey, longdef) Returnsthelongvaluerepresentedbythestringassociatedwiththe specifiedkeyinthispreferencenode.Thestringisconvertedto alongasbyLong#parseLong(String).Returnsthe specifieddefaultifthereisnovalueassociatedwiththekey, thebackingstoreisinaccessible,orif Long.parseLong(String)wouldthrowaNumberFormatExceptioniftheassociatedvaluewerepassed.This methodisintendedforuseinconjunctionwithputLong(String,long). Iftheimplementationsupportsstoreddefaultsandsucha defaultexists,isaccessible,andcouldbeconvertedtoalong withLong.parseLong,thislongisreturnedinpreferenceto thespecifieddefault. Parameters key String:keywhoseassociatedvalueistobereturnedasalong. def long:thevaluetobereturnedintheeventthatthis preferencenodehasnovalueassociatedwithkey ortheassociatedvaluecannotbeinterpretedasalong, orthebackingstoreisinaccessible. Returns long thelongvaluerepresentedbythestringassociatedwith keyinthispreferencenode,ordefifthe associatedvaluedoesnotexistorcannotbeinterpretedas along. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. NullPointerException ifkeyisnull. Seealso: putLong(String,long)get(String,String) importPreferences AddedinAPIlevel1 publicstaticvoidimportPreferences(InputStreamis) ImportsallofthepreferencesrepresentedbytheXMLdocumentonthe specifiedinputstream.Thedocumentmayrepresentuserpreferencesor systempreferences.Ifitrepresentsuserpreferences,thepreferences willbeimportedintothecallinguser'spreferencetree(evenifthey originallycamefromadifferentuser'spreferencetree).Ifanyof thepreferencesdescribedbythedocumentinhabitpreferencenodesthat donotexist,thenodeswillbecreated. TheXMLdocumentmusthavethefollowingDOCTYPEdeclaration: http://java.sun.com/dtd/preferences.dtd"> (Thismethodisdesignedforuseinconjunctionwith exportNode(java.io.OutputStream)and exportSubtree(java.io.OutputStream). Thismethodisanexceptiontothegeneralrulethattheresultsof concurrentlyexecutingmultiplemethodsinthisclassyields resultsequivalenttosomeserialexecution.Themethodbehaves asifimplementedontopoftheotherpublicmethodsinthisclass, notablynode(java.lang.String)andput(java.lang.String,java.lang.String). Parameters is InputStream:theinputstreamfromwhichtoreadtheXMLdocument. Throws IOException ifreadingfromthespecifiedinputstream resultsinanIOException. InvalidPreferencesFormatException Dataoninputstreamdoesnot constituteavalidXMLdocumentwiththemandateddocumenttype. SecurityException Ifasecuritymanagerispresentand itdeniesRuntimePermission("preferences"). Seealso: RuntimePermission isUserNode AddedinAPIlevel1 publicabstractbooleanisUserNode() Returnstrueifthispreferencenodeisintheuser preferencetree,falseifit'sinthesystempreferencetree. Returns boolean trueifthispreferencenodeisintheuser preferencetree,falseifit'sinthesystem preferencetree. keys AddedinAPIlevel1 publicabstractString[]keys() Returnsallofthekeysthathaveanassociatedvalueinthis preferencenode.(Thereturnedarraywillbeofsizezeroif thisnodehasnopreferences.) Iftheimplementationsupportsstoreddefaultsandthere areanysuchdefaultsatthisnodethathavenotbeenoverridden, byexplicitpreferences,thedefaultsarereturnedinthearrayin additiontoanyexplicitpreferences. Returns String[] anarrayofthekeysthathaveanassociatedvalueinthis preferencenode. Throws BackingStoreException ifthisoperationcannotbecompleted duetoafailureinthebackingstore,orinabilityto communicatewithit. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. name AddedinAPIlevel1 publicabstractStringname() Returnsthispreferencenode'sname,relativetoitsparent. Returns String thispreferencenode'sname,relativetoitsparent. node AddedinAPIlevel1 publicabstractPreferencesnode(StringpathName) Returnsthenamedpreferencenodeinthesametreeasthisnode, creatingitandanyofitsancestorsiftheydonotalreadyexist. Acceptsarelativeorabsolutepathname.Relativepathnames (whichdonotbeginwiththeslashcharacter('/'))are interpretedrelativetothispreferencenode. Ifthereturnednodedidnotexistpriortothiscall,thisnodeand anyancestorsthatwerecreatedbythiscallarenotguaranteed tobecomepermanentuntiltheflushmethodiscalledon thereturnednode(oroneofitsancestorsordescendants). Parameters pathName String:thepathnameofthepreferencenodetoreturn. Returns Preferences thespecifiedpreferencenode. Throws IllegalArgumentException ifthepathnameisinvalid(i.e., itcontainsmultipleconsecutiveslashcharacters,orends withaslashcharacterandismorethanonecharacterlong). NullPointerException ifpathnameisnull. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: flush() nodeExists AddedinAPIlevel1 publicabstractbooleannodeExists(StringpathName) Returnstrueifthenamedpreferencenodeexistsinthesametree asthisnode.Relativepathnames(whichdonotbeginwiththeslash character('/'))areinterpretedrelativetothispreference node. Ifthisnode(oranancestor)hasalreadybeenremovedwiththe removeNode()method,itislegaltoinvokethismethod, butonlywiththepathname"";theinvocationwillreturn false.Thus,theidiomp.nodeExists("")maybe usedtotestwhetherphasbeenremoved. Parameters pathName String:thepathnameofthenodewhoseexistence istobechecked. Returns boolean trueifthespecifiednodeexists. Throws BackingStoreException ifthisoperationcannotbecompleted duetoafailureinthebackingstore,orinabilityto communicatewithit. IllegalArgumentException ifthepathnameisinvalid(i.e., itcontainsmultipleconsecutiveslashcharacters,orends withaslashcharacterandismorethanonecharacterlong). NullPointerException ifpathnameisnull. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()methodand pathNameisnottheemptystring(""). parent AddedinAPIlevel1 publicabstractPreferencesparent() Returnstheparentofthispreferencenode,ornullifthisis theroot. Returns Preferences theparentofthispreferencenode. Throws IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. put AddedinAPIlevel1 publicabstractvoidput(Stringkey, Stringvalue) Associatesthespecifiedvaluewiththespecifiedkeyinthis preferencenode. Parameters key String:keywithwhichthespecifiedvalueistobeassociated. value String:valuetobeassociatedwiththespecifiedkey. Throws NullPointerException ifkeyorvalueisnull. IllegalArgumentException ifkey.length()exceeds MAX_KEY_LENGTHorifvalue.lengthexceeds MAX_VALUE_LENGTH. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. putBoolean AddedinAPIlevel1 publicabstractvoidputBoolean(Stringkey, booleanvalue) Associatesastringrepresentingthespecifiedbooleanvaluewiththe specifiedkeyinthispreferencenode.Theassociatedstringis "true"ifthevalueistrue,and"false"ifitis false.Thismethodisintendedforuseinconjunctionwith getBoolean(String,boolean). Parameters key String:keywithwhichthestringformofvalueistobeassociated. value boolean:valuewhosestringformistobeassociatedwithkey. Throws NullPointerException ifkeyisnull. IllegalArgumentException ifkey.length()exceeds MAX_KEY_LENGTH. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: getBoolean(String,boolean)get(String,String) putByteArray AddedinAPIlevel1 publicabstractvoidputByteArray(Stringkey, byte[]value) Associatesastringrepresentingthespecifiedbytearraywiththe specifiedkeyinthispreferencenode.Theassociatedstringis theBase64encodingofthebytearray,asdefinedinRFC2045,Section6.8, withoneminorchange:thestringwillconsistsolelyofcharacters fromtheBase64Alphabet;itwillnotcontainanynewline characters.Notethatthemaximumlengthofthebytearrayislimited tothreequartersofMAX_VALUE_LENGTHsothatthelength oftheBase64encodedStringdoesnotexceedMAX_VALUE_LENGTH. Thismethodisintendedforuseinconjunctionwith getByteArray(String,byte[]). Parameters key String:keywithwhichthestringformofvalueistobeassociated. value byte:valuewhosestringformistobeassociatedwithkey. Throws NullPointerException ifkeyorvalueisnull. IllegalArgumentException ifkey.length()exceedsMAX_KEY_LENGTH orifvalue.lengthexceedsMAX_VALUE_LENGTH*3/4. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: getByteArray(String,byte[])get(String,String) putDouble AddedinAPIlevel1 publicabstractvoidputDouble(Stringkey, doublevalue) Associatesastringrepresentingthespecifieddoublevaluewiththe specifiedkeyinthispreferencenode.Theassociatedstringisthe onethatwouldbereturnedifthedoublevaluewerepassedto Double#toString(double).Thismethodisintendedforusein conjunctionwithgetDouble(String,double). Parameters key String:keywithwhichthestringformofvalueistobeassociated. value double:valuewhosestringformistobeassociatedwithkey. Throws NullPointerException ifkeyisnull. IllegalArgumentException ifkey.length()exceeds MAX_KEY_LENGTH. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: getDouble(String,double) putFloat AddedinAPIlevel1 publicabstractvoidputFloat(Stringkey, floatvalue) Associatesastringrepresentingthespecifiedfloatvaluewiththe specifiedkeyinthispreferencenode.Theassociatedstringisthe onethatwouldbereturnedifthefloatvaluewerepassedto Float#toString(float).Thismethodisintendedforusein conjunctionwithgetFloat(String,float). Parameters key String:keywithwhichthestringformofvalueistobeassociated. value float:valuewhosestringformistobeassociatedwithkey. Throws NullPointerException ifkeyisnull. IllegalArgumentException ifkey.length()exceeds MAX_KEY_LENGTH. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: getFloat(String,float) putInt AddedinAPIlevel1 publicabstractvoidputInt(Stringkey, intvalue) Associatesastringrepresentingthespecifiedintvaluewiththe specifiedkeyinthispreferencenode.Theassociatedstringisthe onethatwouldbereturnediftheintvaluewerepassedto Integer#toString(int).Thismethodisintendedforusein conjunctionwithgetInt(String,int). Parameters key String:keywithwhichthestringformofvalueistobeassociated. value int:valuewhosestringformistobeassociatedwithkey. Throws NullPointerException ifkeyisnull. IllegalArgumentException ifkey.length()exceeds MAX_KEY_LENGTH. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: getInt(String,int) putLong AddedinAPIlevel1 publicabstractvoidputLong(Stringkey, longvalue) Associatesastringrepresentingthespecifiedlongvaluewiththe specifiedkeyinthispreferencenode.Theassociatedstringisthe onethatwouldbereturnedifthelongvaluewerepassedto Long#toString(long).Thismethodisintendedforusein conjunctionwithgetLong(String,long). Parameters key String:keywithwhichthestringformofvalueistobeassociated. value long:valuewhosestringformistobeassociatedwithkey. Throws NullPointerException ifkeyisnull. IllegalArgumentException ifkey.length()exceeds MAX_KEY_LENGTH. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: getLong(String,long) remove AddedinAPIlevel1 publicabstractvoidremove(Stringkey) Removesthevalueassociatedwiththespecifiedkeyinthispreference node,ifany. Ifthisimplementationsupportsstoreddefaults,andthereis suchadefaultforthespecifiedpreference,thestoreddefaultwillbe "exposed"bythiscall,inthesensethatitwillbereturned byasucceedingcalltoget. Parameters key String:keywhosemappingistoberemovedfromthepreferencenode. Throws NullPointerException ifkeyisnull. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. removeNode AddedinAPIlevel1 publicabstractvoidremoveNode() Removesthispreferencenodeandallofitsdescendants,invalidating anypreferencescontainedintheremovednodes.Onceanodehasbeen removed,attemptinganymethodotherthanname(), absolutePath(),isUserNode(),flush()or nodeExists("")onthecorresponding Preferencesinstancewillfailwithan IllegalStateException.(ThemethodsdefinedonObject canstillbeinvokedonanodeafterithasbeenremoved;theywillnot throwIllegalStateException.) Theremovalisnotguaranteedtobepersistentuntilthe flushmethodiscalledonthisnode(oranancestor). Ifthisimplementationsupportsstoreddefaults,removinga nodeexposesanystoreddefaultsatorbelowthisnode.Thus,a subsequentcalltonodeExistsonthisnode'spathnamemay returntrue,andasubsequentcalltonodeonthis pathnamemayreturna(different)Preferencesinstance representinganon-emptycollectionofpreferencesand/orchildren. Throws BackingStoreException ifthisoperationcannotbecompleted duetoafailureinthebackingstore,orinabilityto communicatewithit. IllegalStateException ifthisnode(oranancestor)hasalready beenremovedwiththeremoveNode()method. UnsupportedOperationException ifthismethodisinvokedon therootnode. Seealso: flush() removeNodeChangeListener AddedinAPIlevel1 publicabstractvoidremoveNodeChangeListener(NodeChangeListenerncl) RemovesthespecifiedNodeChangeListener,soitnolonger receiveschangeevents. Parameters ncl NodeChangeListener:TheNodeChangeListenertoremove. Throws IllegalArgumentException ifnclwasnotaregistered NodeChangeListeneronthisnode. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: addNodeChangeListener(NodeChangeListener) removePreferenceChangeListener AddedinAPIlevel1 publicabstractvoidremovePreferenceChangeListener(PreferenceChangeListenerpcl) Removesthespecifiedpreferencechangelistener,soitnolonger receivespreferencechangeevents. Parameters pcl PreferenceChangeListener:Thepreferencechangelistenertoremove. Throws IllegalArgumentException ifpclwasnotaregistered preferencechangelisteneronthisnode. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: addPreferenceChangeListener(PreferenceChangeListener) sync AddedinAPIlevel1 publicabstractvoidsync() Ensuresthatfuturereadsfromthispreferencenodeandits descendantsreflectanychangesthatwerecommittedtothepersistent store(fromanyVM)priortothesyncinvocation.Asa side-effect,forcesanychangesinthecontentsofthispreferencenode anditsdescendantstothepersistentstore,asiftheflush methodhadbeeninvokedonthisnode. Throws BackingStoreException ifthisoperationcannotbecompleted duetoafailureinthebackingstore,orinabilityto communicatewithit. IllegalStateException ifthisnode(oranancestor)hasbeen removedwiththeremoveNode()method. Seealso: flush() systemNodeForPackage AddedinAPIlevel1 publicstaticPreferencessystemNodeForPackage(Class>c) WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps.Further,allowingappstoset "systemwide"preferencesiscontrarytoandroid'ssecuritymodel. Returnsthepreferencenodefromthesystempreferencetreethatis associated(byconvention)withthespecifiedclass'spackage.The conventionisasfollows:theabsolutepathnameofthenodeisthe fullyqualifiedpackagename,precededbyaslash('/'),and witheachperiod('.')replacedbyaslash.Forexamplethe absolutepathnameofthenodeassociatedwiththeclass com.acme.widget.Foois/com/acme/widget. Thisconventiondoesnotapplytotheunnamedpackage,whose associatedpreferencenodeis.Thisnode isnotintendedforlongtermuse,butforconvenienceintheearly developmentofprogramsthatdonotyetbelongtoapackage,and for"throwaway"programs.Valuabledatashouldnotbestored atthisnodeasitissharedbyallprogramsthatuseit. AclassFoowishingtoaccesspreferencespertainingtoits packagecanobtainapreferencenodeasfollows: staticPreferencesprefs=Preferences.systemNodeForPackage(Foo.class); Thisidiomobviatestheneedforusingastringtodescribethe preferencesnodeanddecreasesthelikelihoodofarun-timefailure. (Iftheclassnameismisspelled,itwilltypicallyresultina compile-timeerror.) Invokingthismethodwillresultinthecreationofthereturned nodeanditsancestorsiftheydonotalreadyexist.Ifthereturned nodedidnotexistpriortothiscall,thisnodeandanyancestorsthat werecreatedbythiscallarenotguaranteedtobecomepermanentuntil theflushmethodiscalledonthereturnednode(oroneofits ancestorsordescendants). Parameters c Class:theclassforwhosepackageasystempreferencenodeisdesired. Returns Preferences thesystempreferencenodeassociatedwiththepackageofwhich cisamember. Throws NullPointerException ifcisnull. SecurityException ifasecuritymanagerispresentand itdeniesRuntimePermission("preferences"). Seealso: RuntimePermission systemRoot AddedinAPIlevel1 publicstaticPreferencessystemRoot() WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps.Further,allowingappstoset "systemwide"preferencesiscontrarytoandroid'ssecuritymodel. Returnstherootpreferencenodeforthesystem. Returns Preferences therootpreferencenodeforthesystem. Throws SecurityException Ifasecuritymanagerispresentand itdeniesRuntimePermission("preferences"). Seealso: RuntimePermission toString AddedinAPIlevel1 publicabstractStringtoString() Returnsastringrepresentationofthispreferencesnode, asifcomputedbytheexpression:(this.isUserNode()?"User": "System")+"PreferenceNode:"+this.absolutePath(). Returns String astringrepresentationoftheobject. userNodeForPackage AddedinAPIlevel1 publicstaticPreferencesuserNodeForPackage(Class>c) WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps.Further,allowingappstoset "systemwide"preferencesiscontrarytoandroid'ssecuritymodel. Returnsthepreferencenodefromthecallinguser'spreferencetree thatisassociated(byconvention)withthespecifiedclass'spackage. Theconventionisasfollows:theabsolutepathnameofthenodeisthe fullyqualifiedpackagename,precededbyaslash('/'),and witheachperiod('.')replacedbyaslash.Forexamplethe absolutepathnameofthenodeassociatedwiththeclass com.acme.widget.Foois/com/acme/widget. Thisconventiondoesnotapplytotheunnamedpackage,whose associatedpreferencenodeis.Thisnode isnotintendedforlongtermuse,butforconvenienceintheearly developmentofprogramsthatdonotyetbelongtoapackage,and for"throwaway"programs.Valuabledatashouldnotbestored atthisnodeasitissharedbyallprogramsthatuseit. AclassFoowishingtoaccesspreferencespertainingtoits packagecanobtainapreferencenodeasfollows: staticPreferencesprefs=Preferences.userNodeForPackage(Foo.class); Thisidiomobviatestheneedforusingastringtodescribethe preferencesnodeanddecreasesthelikelihoodofarun-timefailure. (Iftheclassnameismisspelled,itwilltypicallyresultina compile-timeerror.) Invokingthismethodwillresultinthecreationofthereturned nodeanditsancestorsiftheydonotalreadyexist.Ifthereturned nodedidnotexistpriortothiscall,thisnodeandanyancestorsthat werecreatedbythiscallarenotguaranteedtobecomepermanentuntil theflushmethodiscalledonthereturnednode(oroneofits ancestorsordescendants). Parameters c Class:theclassforwhosepackageauserpreferencenodeisdesired. Returns Preferences theuserpreferencenodeassociatedwiththepackageofwhich cisamember. Throws NullPointerException ifcisnull. SecurityException ifasecuritymanagerispresentand itdeniesRuntimePermission("preferences"). Seealso: RuntimePermission userRoot AddedinAPIlevel1 publicstaticPreferencesuserRoot() WARNING:OnAndroid,thePreferencenodes correspondingtothe"system"and"user"preferencesarestoredinsections ofthefilesystemthatareinaccessibletoapps.Further,allowingappstoset "systemwide"preferencesiscontrarytoandroid'ssecuritymodel. Returnstherootpreferencenodeforthecallinguser. Returns Preferences therootpreferencenodeforthecallinguser. Throws SecurityException Ifasecuritymanagerispresentand itdeniesRuntimePermission("preferences"). Seealso: RuntimePermission ContentandcodesamplesonthispagearesubjecttothelicensesdescribedintheContentLicense.JavaandOpenJDKaretrademarksorregisteredtrademarksofOracleand/oritsaffiliates. Lastupdated2019-12-27UTC. [{ "type":"thumb-down", "id":"missingTheInformationINeed", "label":"MissingtheinformationIneed" },{ "type":"thumb-down", "id":"tooComplicatedTooManySteps", "label":"Toocomplicated/toomanysteps" },{ "type":"thumb-down", "id":"outOfDate", "label":"Outofdate" },{ "type":"thumb-down", "id":"samplesCodeIssue", "label":"Samples/codeissue" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Twitter Follow@AndroidDevonTwitter YouTube CheckoutAndroidDevelopersonYouTube LinkedIn ConnectwiththeAndroidDeveloperscommunityonLinkedIn MoreAndroid Android AndroidforEnterprise Security Source News Blog Podcasts Discover Gaming MachineLearning Privacy 5G AndroidDevices Largescreens WearOS AndroidTV Androidforcars AndroidThings ChromeOSdevices Releases Android11 Android10 Pie Oreo Nougat Marshmallow Lollipop KitKat DocumentationandDownloads AndroidStudioguide Developersguides APIreference DownloadStudio AndroidNDK Support Reportplatformbug Reportdocumentationbug GooglePlaysupport Joinresearchstudies Android Chrome Firebase GoogleCloudPlatform Allproducts Privacy License Brandguidelines Getnewsandtipsbyemail Subscribe Language English BahasaIndonesia Español–AméricaLatina Português–Brasil 中文–简体 日本語 한국어



請為這篇文章評分?