String  |  API reference  |  Android Developers Skip to main content Essentials Build AI experiences Build AI-powered Android apps with Gemini APIs and more. Get started Get started Create your first app. Use Compose for UI and adaptive app development to support multiple device form factors. Hello, world! Developer Verification Adaptive apps Compose for UI AI-powered IDE Training Monetization with Play ↗️ Optimize by form factor Build apps that optimize the user experience on phones, tablets, foldables, cars, XR, and more. Phones, tablets, foldables Android for Cars Android TV Android XR Googlebook ChromeOS Wear OS Build by category Learn to build for your use case by following Google's prescriptive and opinionated guidance. Games Camera & media Social & messaging Health & fitness Productivity Enterprise apps Get the latest Stay in touch with the latest releases throughout the year, join our preview programs, and give us your feedback. Latest updates Experimental updates Android Studio preview Jetpack & Compose libraries Wear OS releases Privacy Sandbox ↗️ Design & Plan Excellent Experiences Build the best experiences for your best users. Learn more UI Design Design a beautiful user interface using Android best practices. Design for Android Mobile Desktop experiences XR Headsets & XR Glasses AI Glasses Widgets Wear OS Android TV Android for Cars Architecture Design robust, testable, and maintainable app logic and services. Introduction Libraries Navigation Modularization Testing Kotlin Multiplatform Quality Plan for app quality and align with Play store guidelines. Overview Core value User experience Accessibility Technical quality Excellent Experiences Security Safeguard users against threats and ensure a secure Android experience. Overview Privacy Permissions Identity Fraud prevention Develop Gemini in Android Studio Your AI development companion for Android development. Learn more Get Android Studio Core areas Get the samples and docs for the features you need. Samples Multidevice support User interfaces Background work Data and files Connectivity All core areas ⤵️ Tools and workflow Use the IDE to write and build your app, or create your own pipeline. Write and debug code Build projects Test your app Performance Command-line tools Gradle plugin API Android Bench Device tech Write code for form factors. Connect devices and share data. Phones, tablets, foldables ChromeOS Android for Cars Android TV Android XR Wear OS Android Health Better Together All devices ⤵️ Libraries Browse API reference documentation with all the details. Android platform Jetpack libraries Compose libraries Google Play services ↗️ Google Play SDK index ↗️ Google Play Play Console Publish your app or game and grow your business on Google Play. Go to Play Console Learn more ↗️ Fundamentals Learn how to engage users, monitize, and secure your app. Play Monetization Play Integrity Play Policies Play Programs ↗️ Games Dev Center Develop and deliver games. Get tools, downloads, and samples. Overview Play Asset Delivery Play Games Services Play Games on PC Level Up guidelines All Play guides ⤵️ Libraries Browse API reference documentation with all the details. Play Feature Delivery Play In-app Updates Play In-app Reviews Play Install Referrer Google Play services ↗️ Google Play SDK index ↗️ All Play libraries ⤵️ Tools & resources Tools for publishing, promoting, and managing your app. Android App Bundles Brand & marketing Play Console APIs ↗️ Blog the Android Developer's Blog Read the latest Explore the authors → Explore categories Case Studies Real-world results from real-world users. Explore how different teams use our tools to achieve their goals. Events & Programs Get the details on upcoming webinars, workshops, meetups, and special initiatives designed to help you grow. Product News Stay in the loop with the latest updates, feature releases, and behind-the-scenes looks at how we’re evolving. Community Discover stories from our users, spotlight features, and the collaborative projects that bring us all together. How-tos From quick tips to deep-dive tutorials, these step-by-step guides are designed to help you work smarter and faster. / English Deutsch Español – América Latina Français Indonesia Polski Português – Brasil Tiếng Việt 中文 – 简体 日本語 한국어 Android Studio Sign in API reference Essentials More Design & Plan More Develop More Google Play More Blog More Android Studio Android API Reference Overview Android Platform Packages API level REL3736.1363534333231302928272625242322212019181716151413121110987654321 Class Index Package Index android Overview Classes Manifest Manifest.permission Manifest.permission_group R R.anim R.animator R.array R.attr R.bool R.color R.dimen R.drawable R.fraction R.id R.integer R.interpolator R.layout R.menu R.mipmap R.plurals R.raw R.string R.style R.styleable R.transition R.xml android.accessibilityservice Overview Interfaces AccessibilityService.MagnificationController.OnMagnificationChangedListener AccessibilityService.SoftKeyboardController.OnShowModeChangedListener AccessibilityService.TakeScreenshotCallback BrailleDisplayController BrailleDisplayController.BrailleDisplayCallback TouchInteractionController.Callback Classes AccessibilityButtonController AccessibilityButtonController.AccessibilityButtonCallback AccessibilityGestureEvent AccessibilityService AccessibilityService.GestureResultCallback AccessibilityService.MagnificationController AccessibilityService.ScreenshotResult AccessibilityService.SoftKeyboardController AccessibilityServiceInfo FingerprintGestureController FingerprintGestureController.FingerprintGestureCallback GestureDescription GestureDescription.Builder GestureDescription.StrokeDescription InputMethod InputMethod.AccessibilityInputConnection MagnificationConfig MagnificationConfig.Builder TouchInteractionController android.accounts Overview Interfaces AccountManagerCallback AccountManagerFuture OnAccountsUpdateListener Classes AbstractAccountAuthenticator Account AccountAuthenticatorActivity AccountAuthenticatorResponse AccountManager AuthenticatorDescription Exceptions AccountsException AuthenticatorException NetworkErrorException OperationCanceledException android.adservices Overview Classes AdServicesState android.adservices.adid Overview Classes AdId AdIdManager android.adservices.adselection Overview Classes AddAdSelectionFromOutcomesOverrideRequest AddAdSelectionOverrideRequest AdSelectionConfig AdSelectionConfig.Builder AdSelectionFromOutcomesConfig AdSelectionFromOutcomesConfig.Builder AdSelectionManager AdSelectionOutcome AdSelectionOutcome.Builder AdWithBid DecisionLogic GetAdSelectionDataOutcome GetAdSelectionDataRequest GetAdSelectionDataRequest.Builder PerBuyerConfiguration PerBuyerConfiguration.Builder PerBuyerDecisionLogic PersistAdSelectionResultRequest PersistAdSelectionResultRequest.Builder RemoveAdSelectionFromOutcomesOverrideRequest RemoveAdSelectionOverrideRequest ReportEventRequest ReportEventRequest.Builder ReportImpressionRequest SellerConfiguration SellerConfiguration.Builder SetAppInstallAdvertisersRequest SetAppInstallAdvertisersRequest.Builder SignedContextualAds SignedContextualAds.Builder TestAdSelectionManager UpdateAdCounterHistogramRequest UpdateAdCounterHistogramRequest.Builder android.adservices.appsetid Overview Classes AppSetId AppSetIdManager android.adservices.common Overview Interfaces AdServicesOutcomeReceiver Classes AdData AdData.Builder AdFilters AdFilters.Builder AdSelectionSignals AdServicesPermissions AdTechIdentifier AppInstallFilters AppInstallFilters.Builder ComponentAdData FrequencyCapFilters FrequencyCapFilters.Builder KeyedFrequencyCap KeyedFrequencyCap.Builder android.adservices.customaudience Overview Classes AddCustomAudienceOverrideRequest AddCustomAudienceOverrideRequest.Builder CustomAudience CustomAudience.Builder CustomAudienceManager FetchAndJoinCustomAudienceRequest FetchAndJoinCustomAudienceRequest.Builder JoinCustomAudienceRequest JoinCustomAudienceRequest.Builder LeaveCustomAudienceRequest LeaveCustomAudienceRequest.Builder PartialCustomAudience PartialCustomAudience.Builder RemoveCustomAudienceOverrideRequest RemoveCustomAudienceOverrideRequest.Builder ScheduleCustomAudienceUpdateRequest ScheduleCustomAudienceUpdateRequest.Builder TestCustomAudienceManager TrustedBiddingData TrustedBiddingData.Builder android.adservices.exceptions Overview Exceptions AdServicesException android.adservices.measurement Overview Classes DeletionRequest DeletionRequest.Builder MeasurementManager SourceRegistrationRequest SourceRegistrationRequest.Builder WebSourceParams WebSourceParams.Builder WebSourceRegistrationRequest WebSourceRegistrationRequest.Builder WebTriggerParams WebTriggerParams.Builder WebTriggerRegistrationRequest WebTriggerRegistrationRequest.Builder android.adservices.ondevicepersonalization Overview Interfaces IsolatedWorker KeyValueStore MutableKeyValueStore Classes AppInfo DownloadCompletedInput DownloadCompletedOutput DownloadCompletedOutput.Builder EventInput EventLogRecord EventLogRecord.Builder EventOutput EventOutput.Builder EventUrlProvider ExecuteInIsolatedServiceRequest ExecuteInIsolatedServiceRequest.Builder ExecuteInIsolatedServiceRequest.OutputSpec ExecuteInIsolatedServiceResponse ExecuteInput ExecuteOutput ExecuteOutput.Builder FederatedComputeInput FederatedComputeInput.Builder FederatedComputeScheduler FederatedComputeScheduler.Params FederatedComputeScheduleRequest FederatedComputeScheduleResponse InferenceInput InferenceInput.Builder InferenceInput.Params InferenceInput.Params.Builder InferenceOutput InferenceOutput.Builder IsolatedService LogReader ModelManager OnDevicePersonalizationManager OnDevicePersonalizationManager.ExecuteResult RenderingConfig RenderingConfig.Builder RenderInput RenderOutput RenderOutput.Builder RequestLogRecord RequestLogRecord.Builder RequestToken SurfacePackageToken TrainingExampleRecord TrainingExampleRecord.Builder TrainingExamplesInput TrainingExamplesOutput TrainingExamplesOutput.Builder TrainingInterval TrainingInterval.Builder UserData WebTriggerInput WebTriggerOutput WebTriggerOutput.Builder Exceptions IsolatedServiceException OnDevicePersonalizationException android.adservices.signals Overview Classes ProtectedSignalsManager UpdateSignalsRequest UpdateSignalsRequest.Builder android.adservices.topics Overview Classes EncryptedTopic GetTopicsRequest GetTopicsRequest.Builder GetTopicsResponse GetTopicsResponse.Builder Topic TopicsManager android.animation Overview Interfaces Animator.AnimatorListener Animator.AnimatorPauseListener LayoutTransition.TransitionListener TimeAnimator.TimeListener TimeInterpolator TypeEvaluator ValueAnimator.AnimatorUpdateListener ValueAnimator.DurationScaleChangeListener Classes Animator AnimatorInflater AnimatorListenerAdapter AnimatorSet AnimatorSet.Builder ArgbEvaluator BidirectionalTypeConverter FloatArrayEvaluator FloatEvaluator IntArrayEvaluator IntEvaluator Keyframe LayoutTransition ObjectAnimator PointFEvaluator PropertyValuesHolder RectEvaluator StateListAnimator TimeAnimator TypeConverter ValueAnimator android.annotation Overview Annotations SuppressLint TargetApi android.app Overview Interfaces ActionBar.OnMenuVisibilityListener ActionBar.OnNavigationListener ActionBar.TabListener Activity.ScreenCaptureCallback AlarmManager.OnAlarmListener Application.ActivityLifecycleCallbacks Application.OnProvideAssistDataListener AppOpsManager.OnOpActiveChangedListener AppOpsManager.OnOpChangedListener DatePickerDialog.OnDateSetListener FragmentBreadCrumbs.OnBreadCrumbClickListener FragmentManager.BackStackEntry FragmentManager.OnBackStackChangedListener KeyguardManager.DeviceLockedStateListener KeyguardManager.KeyguardLockedStateListener KeyguardManager.OnKeyguardExitResult LoaderManager.LoaderCallbacks Notification.Action.Extender Notification.Extender PendingIntent.OnFinished SearchManager.OnCancelListener SearchManager.OnDismissListener SharedElementCallback.OnSharedElementsReadyListener TimePickerDialog.OnTimeSetListener UiAutomation.AccessibilityEventFilter UiAutomation.OnAccessibilityEventListener UiModeManager.ContrastChangeListener WallpaperManager.OnColorsChangedListener ZygotePreload Classes ActionBar ActionBar.LayoutParams ActionBar.Tab Activity ActivityGroup ActivityManager ActivityManager.AppTask ActivityManager.MemoryInfo ActivityManager.ProcessErrorStateInfo ActivityManager.RecentTaskInfo ActivityManager.RunningAppProcessInfo ActivityManager.RunningServiceInfo ActivityManager.RunningTaskInfo ActivityManager.TaskDescription ActivityManager.TaskDescription.Builder ActivityOptions AlarmManager AlarmManager.AlarmClockInfo AlertDialog AlertDialog.Builder AliasActivity AnrTypes AnrWarningResult AppComponentFactory AppInteractionAttribution AppInteractionAttribution.Builder AppInteractionContract Application ApplicationErrorReport ApplicationErrorReport.AnrInfo ApplicationErrorReport.BatteryInfo ApplicationErrorReport.CrashInfo ApplicationErrorReport.RunningServiceInfo ApplicationExitInfo ApplicationExitInfo.AnrInfo ApplicationStartInfo AppOpsManager AppOpsManager.OnOpNotedCallback AsyncNotedAppOp AutomaticZenRule AutomaticZenRule.Builder BroadcastOptions ComponentCaller DatePickerDialog Dialog DialogFragment DirectAction DirectAction.Builder DownloadManager DownloadManager.Query DownloadManager.Request ExpandableListActivity Fragment Fragment.SavedState FragmentBreadCrumbs FragmentContainer FragmentController FragmentHostCallback FragmentManager FragmentManager.FragmentLifecycleCallbacks FragmentManagerNonConfig FragmentTransaction GameManager GameState GrammaticalInflectionManager HandoffActivityData HandoffActivityData.Builder HandoffActivityDataRequestInfo HandoffActivityParams HandoffActivityParams.Builder Instrumentation Instrumentation.ActivityMonitor Instrumentation.ActivityResult IntentService KeyguardManager KeyguardManager.KeyguardDismissCallback KeyguardManager.KeyguardLock LauncherActivity LauncherActivity.IconResizer LauncherActivity.ListItem ListActivity ListFragment LoaderManager LocalActivityManager LocaleConfig LocaleManager MediaRouteActionProvider MediaRouteButton NativeActivity Notification Notification.Action Notification.Action.Builder Notification.Action.WearableExtender Notification.BigPictureStyle Notification.BigTextStyle Notification.BridgedNotificationMetadata Notification.BubbleMetadata Notification.BubbleMetadata.Builder Notification.Builder Notification.CallStyle Notification.CarExtender Notification.CarExtender.Builder Notification.CarExtender.UnreadConversation Notification.DecoratedCustomViewStyle Notification.DecoratedMediaCustomViewStyle Notification.InboxStyle Notification.MediaStyle Notification.MessagingStyle Notification.MessagingStyle.Message Notification.Metric Notification.Metric.FixedDate Notification.Metric.FixedFloat Notification.Metric.FixedInt Notification.Metric.FixedText Notification.Metric.FixedTime Notification.Metric.MetricValue Notification.Metric.TimeDifference Notification.MetricStyle Notification.ProgressStyle Notification.ProgressStyle.Point Notification.ProgressStyle.Segment Notification.ProjectedExtender Notification.Style Notification.TvExtender Notification.WearableExtender NotificationChannel NotificationChannelGroup NotificationManager NotificationManager.Policy PendingIntent Person Person.Builder PictureInPictureParams PictureInPictureParams.Builder PictureInPictureUiState Presentation ProgressDialog RemoteAction RemoteInput RemoteInput.Builder SearchableInfo SearchManager Service SharedElementCallback StatusBarManager SyncNotedAppOp TabActivity TaskInfo TaskLocation TaskStackBuilder TimePickerDialog UiAutomation UiModeManager VoiceInteractor VoiceInteractor.AbortVoiceRequest VoiceInteractor.CommandRequest VoiceInteractor.CompleteVoiceRequest VoiceInteractor.ConfirmationRequest VoiceInteractor.PickOptionRequest VoiceInteractor.PickOptionRequest.Option VoiceInteractor.Prompt VoiceInteractor.Request WallpaperColors WallpaperInfo WallpaperManager Exceptions AuthenticationRequiredException BackgroundServiceStartNotAllowedException ForegroundServiceStartNotAllowedException ForegroundServiceTypeException Fragment.InstantiationException InfeasibleActivityOptionsException InvalidForegroundServiceTypeException MissingForegroundServiceTypeException PendingIntent.CanceledException RecoverableSecurityException ServiceStartNotAllowedException StartForegroundCalledOnStoppedServiceException android.app.admin Overview Interfaces DevicePolicyManager.OnClearApplicationUserDataListener Classes ConnectEvent DelegatedAdminReceiver DeviceAdminInfo DeviceAdminReceiver DeviceAdminService DevicePolicyIdentifiers DevicePolicyManager DevicePolicyManager.InstallSystemUpdateCallback DevicePolicyResources DevicePolicyResourcesManager DnsEvent FactoryResetProtectionPolicy FactoryResetProtectionPolicy.Builder FreezePeriod ManagedSubscriptionsPolicy NetworkEvent PackagePolicy PolicyUpdateReceiver PolicyUpdateResult PreferentialNetworkServiceConfig PreferentialNetworkServiceConfig.Builder SecurityLog SecurityLog.SecurityEvent SystemUpdateInfo SystemUpdatePolicy TargetUser WifiSsidPolicy Exceptions SystemUpdatePolicy.ValidationFailedException UnsafeStateException android.app.appfunctions Overview Interfaces AppFunction AppFunctionObservation AppFunctionObserver AppFunctionRegistration Classes AppFunctionActivityId AppFunctionActivityState AppFunctionManager AppFunctionMetadata AppFunctionName AppFunctionPackageMetadata AppFunctionSchemaMetadata AppFunctionSearchSpec AppFunctionSearchSpec.Builder AppFunctionService AppFunctionState AppFunctionUriGrant ExecuteAppFunctionRequest ExecuteAppFunctionRequest.Builder ExecuteAppFunctionResponse RegisterAppFunctionRequest Exceptions AppFunctionException android.app.appsearch Overview Interfaces BatchResultCallback Classes AppSearchAccount AppSearchAccount.Builder AppSearchBatchResult AppSearchBatchResult.Builder AppSearchBlobHandle AppSearchManager AppSearchManager.SearchContext AppSearchManager.SearchContext.Builder AppSearchResult AppSearchSchema AppSearchSchema.BlobHandlePropertyConfig AppSearchSchema.BlobHandlePropertyConfig.Builder AppSearchSchema.BooleanPropertyConfig AppSearchSchema.BooleanPropertyConfig.Builder AppSearchSchema.Builder AppSearchSchema.BytesPropertyConfig AppSearchSchema.BytesPropertyConfig.Builder AppSearchSchema.DocumentPropertyConfig AppSearchSchema.DocumentPropertyConfig.Builder AppSearchSchema.DoublePropertyConfig AppSearchSchema.DoublePropertyConfig.Builder AppSearchSchema.EmbeddingPropertyConfig AppSearchSchema.EmbeddingPropertyConfig.Builder AppSearchSchema.LongPropertyConfig AppSearchSchema.LongPropertyConfig.Builder AppSearchSchema.PropertyConfig AppSearchSchema.StringPropertyConfig AppSearchSchema.StringPropertyConfig.Builder AppSearchSession CommitBlobResponse EmbeddingVector EnterpriseGlobalSearchSession GenericDocument GenericDocument.Builder GetByDocumentIdRequest GetByDocumentIdRequest.Builder GetSchemaResponse GetSchemaResponse.Builder GlobalSearchSession JoinSpec JoinSpec.Builder Migrator OpenBlobForReadResponse OpenBlobForWriteResponse PackageIdentifier PropertyPath PropertyPath.PathSegment PutDocumentsRequest PutDocumentsRequest.Builder RemoveBlobResponse RemoveByDocumentIdRequest RemoveByDocumentIdRequest.Builder ReportSystemUsageRequest ReportSystemUsageRequest.Builder ReportUsageRequest ReportUsageRequest.Builder SchemaVisibilityConfig SchemaVisibilityConfig.Builder SearchResult SearchResult.Builder SearchResult.EmbeddingMatchInfo SearchResult.MatchInfo SearchResult.MatchInfo.Builder SearchResult.MatchRange SearchResult.TextMatchInfo SearchResults SearchSpec SearchSpec.Builder SearchSuggestionResult SearchSuggestionResult.Builder SearchSuggestionSpec SearchSuggestionSpec.Builder SetBlobVisibilityRequest SetBlobVisibilityRequest.Builder SetSchemaRequest SetSchemaRequest.Builder SetSchemaResponse SetSchemaResponse.Builder SetSchemaResponse.MigrationFailure StorageInfo StorageInfo.Builder android.app.appsearch.exceptions Overview Exceptions AppSearchException android.app.appsearch.observer Overview Interfaces ObserverCallback Classes DocumentChangeInfo ObserverSpec ObserverSpec.Builder SchemaChangeInfo android.app.appsearch.util Overview Classes DocumentIdUtil android.app.assist Overview Classes AssistContent AssistStructure AssistStructure.ViewNode AssistStructure.WindowNode android.app.backup Overview Interfaces BackupHelper Classes BackupAgent BackupAgentHelper BackupDataInput BackupDataInputStream BackupDataOutput BackupManager FileBackupHelper FullBackupDataOutput FullRestoreDataInput RestoreObserver SharedPreferencesBackupHelper android.app.blob Overview Classes BlobHandle BlobStoreManager BlobStoreManager.Session android.app.jank Overview Classes AppJankStats RelativeFrameTimeHistogram android.app.job Overview Classes JobInfo JobInfo.Builder JobInfo.TriggerContentUri JobParameters JobScheduler JobService JobServiceEngine JobWorkItem JobWorkItem.Builder PendingJobReasonsInfo android.app.people Overview Classes ConversationStatus ConversationStatus.Builder PeopleManager android.app.permissionui Overview Interfaces LocationButtonClient LocationButtonProvider LocationButtonSession Classes LocationButtonProviderFactory LocationButtonRequest LocationButtonRequest.Builder android.app.privatecompute Overview Classes DataMigrationToPccService MigrationRequestResult PccClient PccSandboxManager PccService Exceptions MigrationException android.app.role Overview Classes RoleManager android.app.sdksandbox Overview Interfaces SdkSandboxManager.SdkSandboxProcessDeathCallback Classes AppOwnedSdkSandboxInterface SandboxedSdk SandboxedSdkProvider SdkSandboxManager Exceptions LoadSdkException RequestSurfacePackageException android.app.sdksandbox.sdkprovider Overview Interfaces SdkSandboxActivityHandler SdkSandboxClientImportanceListener Classes SdkSandboxController android.app.slice Overview Classes Slice Slice.Builder SliceItem SliceManager SliceMetrics SliceProvider SliceSpec android.app.usage Overview Classes ConfigurationStats EventStats ExternalStorageStats NetworkStats NetworkStats.Bucket NetworkStatsManager NetworkStatsManager.UsageCallback StorageStats StorageStatsManager UsageEvents UsageEvents.Event UsageEventsQuery UsageEventsQuery.Builder UsageStats UsageStatsManager android.app.voiceinteraction Overview Classes VoiceInteractionManager android.app.wallpaper Overview Classes WallpaperDescription WallpaperDescription.Builder WallpaperInstance android.appwidget Overview Classes AppWidgetEvent AppWidgetHost AppWidgetHostView AppWidgetManager AppWidgetProvider AppWidgetProviderInfo android.bluetooth Overview Interfaces BluetoothAdapter.LeScanCallback BluetoothProfile BluetoothProfile.ServiceListener Classes BluetoothA2dp BluetoothAdapter BluetoothAssignedNumbers BluetoothClass BluetoothClass.Device BluetoothClass.Device.Major BluetoothClass.Service BluetoothCodecConfig BluetoothCodecConfig.Builder BluetoothCodecStatus BluetoothCodecStatus.Builder BluetoothCodecType BluetoothCsipSetCoordinator BluetoothDevice BluetoothDevice.BluetoothAddress BluetoothGatt BluetoothGattCallback BluetoothGattCharacteristic BluetoothGattConnectionSettings BluetoothGattConnectionSettings.Builder BluetoothGattDescriptor BluetoothGattServer BluetoothGattServerCallback BluetoothGattService BluetoothHeadset BluetoothHealth BluetoothHealthAppConfiguration BluetoothHealthCallback BluetoothHearingAid BluetoothHidDevice BluetoothHidDevice.Callback BluetoothHidDeviceAppQosSettings BluetoothHidDeviceAppSdpSettings BluetoothLeAudio BluetoothLeAudioCodecConfig BluetoothLeAudioCodecConfig.Builder BluetoothLeAudioCodecStatus BluetoothManager BluetoothServerSocket BluetoothSocket BluetoothSocketSettings BluetoothSocketSettings.Builder BluetoothStatusCodes BondStatus EncryptionStatus Exceptions BluetoothSocketException android.bluetooth.le Overview Classes AdvertiseCallback AdvertiseData AdvertiseData.Builder AdvertiseSettings AdvertiseSettings.Builder AdvertisingSet AdvertisingSetCallback AdvertisingSetParameters AdvertisingSetParameters.Builder BluetoothLeAdvertiser BluetoothLeScanner PeriodicAdvertisingParameters PeriodicAdvertisingParameters.Builder ScanCallback ScanFilter ScanFilter.Builder ScanRecord ScanResult ScanSettings ScanSettings.Builder TransportBlock TransportDiscoveryData android.companion Overview Interfaces DeviceFilter Classes ActionRequest ActionRequest.Builder ActionResult ActionResult.Builder AssociatedDevice AssociationInfo AssociationRequest AssociationRequest.Builder BluetoothDeviceFilter BluetoothDeviceFilter.Builder BluetoothLeDeviceFilter BluetoothLeDeviceFilter.Builder CompanionDeviceManager CompanionDeviceManager.Callback CompanionDeviceService DeviceId DeviceId.Builder DevicePresenceEvent ObservingDevicePresenceRequest ObservingDevicePresenceRequest.Builder WifiDeviceFilter WifiDeviceFilter.Builder Exceptions CompanionException DeviceNotAssociatedException android.companion.virtual Overview Interfaces VirtualDeviceManager.VirtualDeviceListener Classes VirtualDevice VirtualDeviceManager android.content Overview Interfaces ClipboardManager.OnPrimaryClipChangedListener ComponentCallbacks ComponentCallbacks2 ContentProvider.PipeDataWriter DialogInterface DialogInterface.OnCancelListener DialogInterface.OnClickListener DialogInterface.OnDismissListener DialogInterface.OnKeyListener DialogInterface.OnMultiChoiceClickListener DialogInterface.OnShowListener EntityIterator IntentSender.OnFinished Loader.OnLoadCanceledListener Loader.OnLoadCompleteListener ServiceConnection SharedPreferences SharedPreferences.Editor SharedPreferences.OnSharedPreferenceChangeListener SyncStatusObserver Classes AbstractThreadedSyncAdapter AsyncQueryHandler AsyncQueryHandler.WorkerArgs AsyncQueryHandler.WorkerHandler AsyncTaskLoader AttributionSource AttributionSource.Builder BroadcastReceiver BroadcastReceiver.PendingResult ClipboardManager ClipData ClipData.Item ClipData.Item.Builder ClipDescription ComponentName ContentProvider ContentProvider.CallingIdentity ContentProviderClient ContentProviderOperation ContentProviderOperation.Builder ContentProviderResult ContentQueryMap ContentResolver ContentResolver.MimeTypeInfo ContentUris ContentValues Context Context.BindServiceFlags Context.UpdateBindingParams Context.UpdateBindingParams.Builder ContextParams ContextParams.Builder ContextWrapper CursorLoader Entity Entity.NamedContentValues Intent Intent.FilterComparison Intent.ShortcutIconResource IntentFilter IntentFilter.AuthorityEntry IntentSender Loader Loader.ForceLoadContentObserver LocusId MutableContextWrapper PeriodicSync QuickViewConstants RestrictionEntry RestrictionsManager SearchRecentSuggestionsProvider SyncAdapterType SyncContext SyncInfo SyncRequest SyncRequest.Builder SyncResult SyncStats UriMatcher UriPermission UriRelativeFilter UriRelativeFilterGroup Exceptions ActivityNotFoundException IntentFilter.MalformedMimeTypeException IntentSender.SendIntentException OperationApplicationException ReceiverCallNotAllowedException android.content.om Overview Classes FabricatedOverlay OverlayIdentifier OverlayInfo OverlayManager OverlayManagerTransaction android.content.pm Overview Interfaces PackageManager.OnChecksumsReadyListener Classes ActivityInfo ActivityInfo.WindowLayout ApkChecksum ApplicationInfo ApplicationInfo.DisplayNameComparator ArchivedActivityInfo ArchivedPackageInfo Attribution Capability Capability.Builder CapabilityParams CapabilityParams.Builder ChangedPackages Checksum ComponentInfo ConfigurationInfo CrossProfileApps FeatureGroupInfo FeatureInfo InstallSourceInfo InstrumentationInfo LabeledIntent LauncherActivityInfo LauncherApps LauncherApps.ArchiveCompatibilityParams LauncherApps.Callback LauncherApps.PinItemRequest LauncherApps.ShortcutQuery LauncherUserInfo ModuleInfo PackageInfo PackageInstaller PackageInstaller.InstallConstraints PackageInstaller.InstallConstraints.Builder PackageInstaller.InstallConstraintsResult PackageInstaller.PreapprovalDetails PackageInstaller.PreapprovalDetails.Builder PackageInstaller.Session PackageInstaller.SessionCallback PackageInstaller.SessionInfo PackageInstaller.SessionParams PackageInstaller.UnarchivalState PackageItemInfo PackageItemInfo.DisplayNameComparator PackageManager PackageManager.ApplicationInfoFlags PackageManager.ComponentEnabledSetting PackageManager.ComponentInfoFlags PackageManager.PackageInfoFlags PackageManager.Property PackageManager.ResolveInfoFlags PackageStats PathPermission PermissionGroupInfo PermissionInfo ProviderInfo ResolveInfo ResolveInfo.DisplayNameComparator ServiceInfo SharedLibraryInfo ShortcutInfo ShortcutInfo.Builder ShortcutManager Signature SigningInfo VersionedPackage Exceptions PackageManager.NameNotFoundException SigningInfoException android.content.pm.verify.domain Overview Classes DomainVerificationManager DomainVerificationUserState android.content.pm.webapp Overview Classes WebAppInstallRequest WebAppInstallRequest.Builder WebAppManager WebAppQueryRequest android.content.res Overview Interfaces FontScaleConverter XmlResourceParser Classes AssetFileDescriptor AssetFileDescriptor.AutoCloseInputStream AssetFileDescriptor.AutoCloseOutputStream AssetManager AssetManager.AssetInputStream ColorStateList Configuration ObbInfo ObbScanner Resources Resources.Theme TypedArray Exceptions Resources.NotFoundException android.content.res.loader Overview Interfaces AssetsProvider Classes ResourcesLoader ResourcesProvider android.credentials Overview Classes ClearCredentialStateRequest CreateCredentialRequest CreateCredentialRequest.Builder CreateCredentialResponse Credential CredentialDescription CredentialManager CredentialOption CredentialOption.Builder GetCredentialRequest GetCredentialRequest.Builder GetCredentialResponse PrepareGetCredentialResponse PrepareGetCredentialResponse.PendingGetCredentialHandle RegisterCredentialDescriptionRequest UnregisterCredentialDescriptionRequest Exceptions ClearCredentialStateException CreateCredentialException GetCredentialException android.crypto.hpke Overview Interfaces HpkeSpi Classes AeadParameterSpec Hpke KdfParameterSpec KemParameterSpec Message Recipient Recipient.Builder Sender Sender.Builder XdhKeySpec android.database Overview Interfaces CrossProcessCursor Cursor DatabaseErrorHandler Classes AbstractCursor AbstractCursor.SelfContentObserver AbstractWindowedCursor CharArrayBuffer ContentObservable ContentObserver CrossProcessCursorWrapper CursorJoiner CursorWindow CursorWrapper DatabaseUtils DatabaseUtils.InsertHelper DataSetObservable DataSetObserver DefaultDatabaseErrorHandler MatrixCursor MatrixCursor.RowBuilder MergeCursor Observable Enums CursorJoiner.Result Exceptions CursorIndexOutOfBoundsException CursorWindowAllocationException SQLException StaleDataException android.database.sqlite Overview Interfaces SQLiteCursorDriver SQLiteDatabase.CursorFactory SQLiteTransactionListener Classes SQLiteClosable SQLiteCursor SQLiteDatabase SQLiteDatabase.OpenParams SQLiteDatabase.OpenParams.Builder SQLiteOpenHelper SQLiteProgram SQLiteQuery SQLiteQueryBuilder SQLiteRawStatement SQLiteStatement Exceptions SQLiteAbortException SQLiteAccessPermException SQLiteBindOrColumnIndexOutOfRangeException SQLiteBlobTooBigException SQLiteCantOpenDatabaseException SQLiteConstraintException SQLiteDatabaseCorruptException SQLiteDatabaseLockedException SQLiteDatatypeMismatchException SQLiteDiskIOException SQLiteDoneException SQLiteException SQLiteFullException SQLiteMisuseException SQLiteOutOfMemoryException SQLiteReadOnlyDatabaseException SQLiteTableLockedException android.devicelock Overview Classes DeviceId DeviceLockManager android.drm Overview Interfaces DrmManagerClient.OnErrorListener DrmManagerClient.OnEventListener DrmManagerClient.OnInfoListener DrmStore.ConstraintsColumns Classes DrmConvertedStatus DrmErrorEvent DrmEvent DrmInfo DrmInfoEvent DrmInfoRequest DrmInfoStatus DrmManagerClient DrmRights DrmStore DrmStore.Action DrmStore.DrmObjectType DrmStore.Playback DrmStore.RightsStatus DrmSupportInfo DrmUtils DrmUtils.ExtendedMetadataParser ProcessedData android.gesture Overview Interfaces GestureOverlayView.OnGestureListener GestureOverlayView.OnGesturePerformedListener GestureOverlayView.OnGesturingListener Classes Gesture GestureLibraries GestureLibrary GestureOverlayView GesturePoint GestureStore GestureStroke GestureUtils OrientedBoundingBox Prediction android.graphics Overview Interfaces ImageDecoder.OnHeaderDecodedListener ImageDecoder.OnPartialImageListener PostProcessor SurfaceTexture.OnFrameAvailableListener Classes Bitmap BitmapFactory BitmapFactory.Options BitmapRegionDecoder BitmapShader BlendModeColorFilter BlurMaskFilter Camera Canvas Color ColorFilter ColorMatrix ColorMatrixColorFilter ColorSpace ColorSpace.Connector ColorSpace.Rgb ColorSpace.Rgb.TransferParameters ComposePathEffect ComposeShader CornerPathEffect DashPathEffect DiscretePathEffect DrawFilter EmbossMaskFilter Gainmap HardwareBufferRenderer HardwareBufferRenderer.RenderRequest HardwareBufferRenderer.RenderResult HardwareRenderer HardwareRenderer.FrameRenderRequest ImageDecoder ImageDecoder.ImageInfo ImageDecoder.Source ImageFormat Insets Interpolator LightingColorFilter LinearGradient MaskFilter Matrix Matrix44 Mesh MeshSpecification MeshSpecification.Attribute MeshSpecification.Varying Movie NinePatch Outline Paint Paint.FontMetrics Paint.FontMetricsInt PaintFlagsDrawFilter ParcelableColorSpace Path PathDashPathEffect PathEffect PathIterator PathIterator.Segment PathMeasure Picture PixelFormat Point PointF PorterDuff PorterDuffColorFilter PorterDuffXfermode RadialGradient RecordingCanvas Rect RectF Region RegionIterator RenderEffect RenderNode RuntimeColorFilter RuntimeShader RuntimeXfermode Shader SumPathEffect SurfaceTexture SweepGradient Typeface Typeface.Builder Typeface.CustomFallbackBuilder Xfermode YuvImage Enums Bitmap.CompressFormat Bitmap.Config BlendMode BlurMaskFilter.Blur Canvas.EdgeType Canvas.VertexMode ColorSpace.Adaptation ColorSpace.Model ColorSpace.Named ColorSpace.RenderIntent Interpolator.Result Matrix.ScaleToFit Paint.Align Paint.Cap Paint.Join Paint.Style Path.Direction Path.FillType Path.Op PathDashPathEffect.Style PorterDuff.Mode Region.Op Shader.TileMode Exceptions ImageDecoder.DecodeException SurfaceTexture.OutOfResourcesException android.graphics.drawable Overview Interfaces Animatable Animatable2 Drawable.Callback Icon.OnDrawableLoadedListener Classes AdaptiveIconDrawable Animatable2.AnimationCallback AnimatedImageDrawable AnimatedStateListDrawable AnimatedVectorDrawable AnimationDrawable BitmapDrawable ClipDrawable ColorDrawable ColorStateListDrawable Drawable Drawable.ConstantState DrawableContainer DrawableContainer.DrawableContainerState DrawableWrapper GradientDrawable Icon InsetDrawable LayerDrawable LevelListDrawable NinePatchDrawable PaintDrawable PictureDrawable RippleDrawable RotateDrawable ScaleDrawable ShapeDrawable ShapeDrawable.ShaderFactory StateListDrawable TransitionDrawable VectorDrawable Enums GradientDrawable.Orientation android.graphics.drawable.shapes Overview Classes ArcShape OvalShape PathShape RectShape RoundRectShape Shape android.graphics.fonts Overview Classes Font Font.Builder FontFamily FontFamily.Builder FontStyle FontVariationAxis SystemFonts android.graphics.pdf Overview Classes LoadParams LoadParams.Builder PdfDocument PdfDocument.Page PdfDocument.PageInfo PdfDocument.PageInfo.Builder PdfRenderer PdfRenderer.Page PdfRendererPreV PdfRendererPreV.Page RenderParams RenderParams.Builder android.graphics.pdf.component Overview Classes FreeTextAnnotation HighlightAnnotation PdfAnnotation PdfAnnotationType PdfPageImageObject PdfPageObject PdfPageObjectType PdfPagePathObject PdfPageTextObject PdfPageTextObjectFont StampAnnotation android.graphics.pdf.content Overview Classes PdfPageGotoLinkContent PdfPageGotoLinkContent.Destination PdfPageImageContent PdfPageLinkContent PdfPageTextContent android.graphics.pdf.models Overview Classes FormEditRecord FormEditRecord.Builder FormWidgetInfo FormWidgetInfo.Builder ListItem PageMatchBounds android.graphics.pdf.models.selection Overview Classes PageSelection SelectionBoundary android.graphics.text Overview Classes LineBreakConfig LineBreakConfig.Builder LineBreaker LineBreaker.Builder LineBreaker.ParagraphConstraints LineBreaker.Result MeasuredText MeasuredText.Builder PositionedGlyphs TextRunShaper android.hardware Overview Interfaces Camera.AutoFocusCallback Camera.AutoFocusMoveCallback Camera.ErrorCallback Camera.FaceDetectionListener Camera.OnZoomChangeListener Camera.PictureCallback Camera.PreviewCallback Camera.ShutterCallback SensorEventListener SensorEventListener2 SensorListener Classes BatteryState Camera Camera.Area Camera.CameraInfo Camera.Face Camera.Parameters Camera.Size ConsumerIrManager ConsumerIrManager.CarrierFrequencyRange DataSpace DisplayLuts DisplayLuts.Entry GeomagneticField HardwareBuffer LutProperties OverlayProperties Sensor SensorAdditionalInfo SensorDirectChannel SensorEvent SensorEventCallback SensorManager SensorManager.DynamicSensorCallback SensorPrivacyManager SensorPrivacyManager.Sensors SyncFence TriggerEvent TriggerEventListener android.hardware.biometrics Overview Interfaces BiometricManager.Authenticators PromptContentItem PromptContentView Classes BiometricManager BiometricManager.Strings BiometricPrompt BiometricPrompt.AuthenticationCallback BiometricPrompt.AuthenticationResult BiometricPrompt.Builder BiometricPrompt.CryptoObject FallbackOption PromptContentItemBulletedText PromptContentItemPlainText PromptContentViewWithMoreOptionsButton PromptContentViewWithMoreOptionsButton.Builder PromptVerticalListContentView PromptVerticalListContentView.Builder android.hardware.camera2 Overview Interfaces MultiResolutionImageReader.OnActiveOutputSurfacesListener Classes CameraCaptureSession CameraCaptureSession.CaptureCallback CameraCaptureSession.StateCallback CameraCharacteristics CameraCharacteristics.Key CameraConstrainedHighSpeedCaptureSession CameraDevice CameraDevice.CameraDeviceSetup CameraDevice.StateCallback CameraExtensionCharacteristics CameraExtensionSession CameraExtensionSession.ExtensionCaptureCallback CameraExtensionSession.StateCallback CameraExtensionSession.StillCaptureLatency CameraManager CameraManager.AvailabilityCallback CameraManager.TorchCallback CameraMetadata CameraOfflineSession CameraOfflineSession.CameraOfflineSessionCallback CaptureFailure CaptureRequest CaptureRequest.Builder CaptureRequest.Key CaptureResult CaptureResult.Key DngCreator MultiResolutionImageReader MultiResolutionImageReader.Builder TotalCaptureResult Exceptions CameraAccessException android.hardware.camera2.params Overview Classes BlackLevelPattern Capability ColorSpaceProfiles ColorSpaceTransform DeviceStateSensorOrientationMap DeviceStateSensorOrientationMap.Builder DynamicRangeProfiles ExtensionSessionConfiguration Face Face.Builder InputConfiguration LensIntrinsicsSample LensShadingMap MandatoryStreamCombination MandatoryStreamCombination.MandatoryStreamInformation MeteringRectangle MultiResolutionStreamConfigurationMap MultiResolutionStreamInfo OisSample OutputConfiguration RecommendedStreamConfigurationMap RggbChannelVector SessionConfiguration StreamConfigurationMap TonemapCurve android.hardware.display Overview Interfaces DisplayManager.DisplayListener VirtualDisplayConfig.BrightnessListener Classes DeviceProductInfo DeviceProductInfo.Builder DeviceProductInfo.EdidStructureMetadata DisplayManager DisplayTopology HdrConversionMode VirtualDisplay VirtualDisplay.Callback VirtualDisplayConfig VirtualDisplayConfig.Builder android.hardware.hid Overview Interfaces HidDeviceListener Classes HidDevice HidManager Report android.hardware.input Overview Interfaces InputManager.InputDeviceListener Classes AppCustomizationAction AppCustomizationAction.Builder ButtonCustomizationTrigger CustomizationAction CustomizationTrigger HostUsiVersion InputManager KeyCustomizationTrigger SimpleCustomizationAction UriCustomizationAction android.hardware.lights Overview Classes ColorSequence ColorSequence.Builder Light LightsManager LightsManager.LightsSession LightsRequest LightsRequest.Builder LightState LightState.Builder MultiLightEffect MultiLightEffect.Builder android.hardware.serial Overview Interfaces SerialPortListener Classes SerialManager SerialPort SerialPortResponse android.hardware.usb Overview Classes UsbAccessory UsbConfiguration UsbConstants UsbDevice UsbDeviceConnection UsbEndpoint UsbInterface UsbManager UsbRequest android.health.connect Overview Interfaces TimeRangeFilter Classes AggregateRecordsGroupedByDurationResponse AggregateRecordsGroupedByPeriodResponse AggregateRecordsRequest AggregateRecordsRequest.Builder AggregateRecordsResponse CreateMedicalDataSourceRequest CreateMedicalDataSourceRequest.Builder DeleteMedicalResourcesRequest DeleteMedicalResourcesRequest.Builder DeviceDataSource DeviceDataSourceCapabilities DeviceDataTypeSource GetDeviceDataSourcesResponse GetMedicalDataSourcesRequest GetMedicalDataSourcesRequest.Builder HealthConnectManager HealthPermissions InsertRecordsResponse LocalTimeRangeFilter LocalTimeRangeFilter.Builder MatchmakingRequest MatchmakingRequest.Builder MatchmakingResponse MatchmakingResponse.Builder MedicalResourceId ReadMedicalResourcesInitialRequest ReadMedicalResourcesInitialRequest.Builder ReadMedicalResourcesPageRequest ReadMedicalResourcesPageRequest.Builder ReadMedicalResourcesRequest ReadMedicalResourcesResponse ReadRecordsRequest ReadRecordsRequestUsingFilters ReadRecordsRequestUsingFilters.Builder ReadRecordsRequestUsingIds ReadRecordsRequestUsingIds.Builder ReadRecordsResponse RecordIdFilter TimeInstantRangeFilter TimeInstantRangeFilter.Builder UpsertMedicalResourceRequest UpsertMedicalResourceRequest.Builder Exceptions HealthConnectException android.health.connect.changelog Overview Classes ChangeLogsRequest ChangeLogsRequest.Builder ChangeLogsResponse ChangeLogsResponse.DeletedLog ChangeLogsResponse.DeletedMedicalResource ChangeLogTokenRequest ChangeLogTokenRequest.Builder ChangeLogTokenResponse android.health.connect.datatypes Overview Classes ActiveCaloriesBurnedRecord ActiveCaloriesBurnedRecord.Builder ActivityIntensityRecord ActivityIntensityRecord.Builder AggregationType AlcoholConsumptionRecord AlcoholConsumptionRecord.Builder AppInfo BasalBodyTemperatureRecord BasalBodyTemperatureRecord.Builder BasalMetabolicRateRecord BasalMetabolicRateRecord.Builder BloodGlucoseRecord BloodGlucoseRecord.Builder BloodGlucoseRecord.RelationToMealType BloodGlucoseRecord.SpecimenSource BloodPressureRecord BloodPressureRecord.BloodPressureMeasurementLocation BloodPressureRecord.BodyPosition BloodPressureRecord.Builder BodyFatRecord BodyFatRecord.Builder BodyTemperatureMeasurementLocation BodyTemperatureRecord BodyTemperatureRecord.Builder BodyWaterMassRecord BodyWaterMassRecord.Builder BoneMassRecord BoneMassRecord.Builder CervicalMucusRecord CervicalMucusRecord.Builder CervicalMucusRecord.CervicalMucusAppearance CervicalMucusRecord.CervicalMucusSensation CyclingPedalingCadenceRecord CyclingPedalingCadenceRecord.Builder CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample DataOrigin DataOrigin.Builder Device Device.Builder DistanceRecord DistanceRecord.Builder ElevationGainedRecord ElevationGainedRecord.Builder ExerciseCompletionGoal ExerciseCompletionGoal.ActiveCaloriesBurnedGoal ExerciseCompletionGoal.DistanceGoal ExerciseCompletionGoal.DistanceWithVariableRestGoal ExerciseCompletionGoal.DurationGoal ExerciseCompletionGoal.RepetitionsGoal ExerciseCompletionGoal.StepsGoal ExerciseCompletionGoal.TotalCaloriesBurnedGoal ExerciseCompletionGoal.UnknownGoal ExerciseCompletionGoal.UnspecifiedGoal ExerciseLap ExerciseLap.Builder ExercisePerformanceGoal ExercisePerformanceGoal.AmrapGoal ExercisePerformanceGoal.CadenceGoal ExercisePerformanceGoal.HeartRateGoal ExercisePerformanceGoal.PowerGoal ExercisePerformanceGoal.RateOfPerceivedExertionGoal ExercisePerformanceGoal.SpeedGoal ExercisePerformanceGoal.UnknownGoal ExercisePerformanceGoal.WeightGoal ExerciseRoute ExerciseRoute.Location ExerciseRoute.Location.Builder ExerciseSegment ExerciseSegment.Builder ExerciseSegmentType ExerciseSessionRecord ExerciseSessionRecord.Builder ExerciseSessionType FhirResource FhirResource.Builder FhirVersion FloorsClimbedRecord FloorsClimbedRecord.Builder HeartRateRecord HeartRateRecord.Builder HeartRateRecord.HeartRateSample HeartRateVariabilityRmssdRecord HeartRateVariabilityRmssdRecord.Builder HeightRecord HeightRecord.Builder HydrationRecord HydrationRecord.Builder InstantRecord IntermenstrualBleedingRecord IntermenstrualBleedingRecord.Builder IntervalRecord LeanBodyMassRecord LeanBodyMassRecord.Builder MealType MedicalDataSource MedicalDataSource.Builder MedicalResource MedicalResource.Builder MenstrualCyclePhaseRecord MenstrualCyclePhaseRecord.Builder MenstruationFlowRecord MenstruationFlowRecord.Builder MenstruationFlowRecord.MenstruationFlowType MenstruationPeriodRecord MenstruationPeriodRecord.Builder Metadata Metadata.Builder MindfulnessSessionRecord MindfulnessSessionRecord.Builder NutritionRecord NutritionRecord.Builder OvulationTestRecord OvulationTestRecord.Builder OvulationTestRecord.OvulationTestResult OxygenSaturationRecord OxygenSaturationRecord.Builder PlannedExerciseBlock PlannedExerciseBlock.Builder PlannedExerciseSessionRecord PlannedExerciseSessionRecord.Builder PlannedExerciseStep PlannedExerciseStep.Builder PowerRecord PowerRecord.Builder PowerRecord.PowerRecordSample Record RespiratoryRateRecord RespiratoryRateRecord.Builder RestingHeartRateRecord RestingHeartRateRecord.Builder SexualActivityRecord SexualActivityRecord.Builder SexualActivityRecord.SexualActivityProtectionUsed SkinTemperatureRecord SkinTemperatureRecord.Builder SkinTemperatureRecord.Delta SleepSessionRecord SleepSessionRecord.Builder SleepSessionRecord.Stage SleepSessionRecord.StageType SpeedRecord SpeedRecord.Builder SpeedRecord.SpeedRecordSample StepsCadenceRecord StepsCadenceRecord.Builder StepsCadenceRecord.StepsCadenceRecordSample StepsRecord StepsRecord.Builder SymptomRecord SymptomRecord.Builder TotalCaloriesBurnedRecord TotalCaloriesBurnedRecord.Builder Vo2MaxRecord Vo2MaxRecord.Builder Vo2MaxRecord.Vo2MaxMeasurementMethod WeightRecord WeightRecord.Builder WheelchairPushesRecord WheelchairPushesRecord.Builder android.health.connect.datatypes.units Overview Classes BloodGlucose Energy Length Mass Percentage Power Pressure Temperature TemperatureDelta Velocity Volume android.icu.lang Overview Interfaces UCharacter.BidiPairedBracketType UCharacter.DecompositionType UCharacter.EastAsianWidth UCharacter.GraphemeClusterBreak UCharacter.HangulSyllableType UCharacter.IndicPositionalCategory UCharacter.IndicSyllabicCategory UCharacter.JoiningGroup UCharacter.JoiningType UCharacter.LineBreak UCharacter.NumericType UCharacter.SentenceBreak UCharacter.VerticalOrientation UCharacter.WordBreak UCharacterEnums.ECharacterCategory UCharacterEnums.ECharacterDirection UProperty UProperty.NameChoice Classes UCharacter UCharacter.UnicodeBlock UCharacterCategory UCharacterDirection UCharacterEnums UScript Enums UCharacter.IdentifierType UScript.ScriptUsage android.icu.math Overview Classes BigDecimal MathContext android.icu.number Overview Classes CompactNotation CurrencyPrecision FormattedNumber FormattedNumberRange FractionPrecision IntegerWidth LocalizedNumberFormatter LocalizedNumberRangeFormatter Notation NumberFormatter NumberFormatterSettings NumberRangeFormatter NumberRangeFormatterSettings Precision Scale ScientificNotation SimpleNotation UnlocalizedNumberFormatter UnlocalizedNumberRangeFormatter Enums NumberFormatter.DecimalSeparatorDisplay NumberFormatter.GroupingStrategy NumberFormatter.RoundingPriority NumberFormatter.SignDisplay NumberFormatter.TrailingZeroDisplay NumberFormatter.UnitWidth NumberRangeFormatter.RangeCollapse NumberRangeFormatter.RangeIdentityFallback NumberRangeFormatter.RangeIdentityResult Exceptions SkeletonSyntaxException android.icu.text Overview Interfaces Collator.ReorderCodes FormattedValue Replaceable SymbolTable UnicodeMatcher Classes AlphabeticIndex AlphabeticIndex.Bucket AlphabeticIndex.ImmutableIndex AlphabeticIndex.Record Bidi BidiClassifier BidiRun BreakIterator CaseMap CaseMap.Fold CaseMap.Lower CaseMap.Title CaseMap.Upper CollationElementIterator CollationKey CollationKey.BoundMode Collator CompactDecimalFormat ConstrainedFieldPosition CurrencyPluralInfo DateFormat DateFormat.Field DateFormatSymbols DateIntervalFormat DateIntervalFormat.FormattedDateInterval DateIntervalInfo DateIntervalInfo.PatternInfo DateTimePatternGenerator DateTimePatternGenerator.PatternInfo DecimalFormat DecimalFormatSymbols DisplayOptions DisplayOptions.Builder Edits Edits.Iterator IDNA IDNA.Info ListFormatter ListFormatter.FormattedList LocaleDisplayNames LocaleDisplayNames.UiListItem MeasureFormat MessageFormat MessageFormat.Field MessagePattern MessagePattern.Part Normalizer Normalizer.QuickCheckResult Normalizer2 NumberFormat NumberFormat.Field NumberingSystem PluralFormat PluralRules RelativeDateTimeFormatter RelativeDateTimeFormatter.FormattedRelativeDateTime RuleBasedCollator ScientificNumberFormatter SearchIterator SelectFormat SimpleDateFormat StringSearch TimeZoneFormat TimeZoneNames Transliterator Transliterator.Position UCharacterIterator UFormat UnicodeFilter UnicodeSet UnicodeSet.EntryRange UnicodeSetIterator UnicodeSetSpanner Enums AlphabeticIndex.Bucket.LabelType CompactDecimalFormat.CompactStyle DateFormat.BooleanAttribute DateFormat.HourCycle DateTimePatternGenerator.DisplayWidth DisplayContext DisplayContext.Type DisplayOptions.Capitalization DisplayOptions.DisplayLength DisplayOptions.GrammaticalCase DisplayOptions.NameStyle DisplayOptions.NounClass DisplayOptions.PluralCategory DisplayOptions.SubstituteHandling IDNA.Error ListFormatter.Type ListFormatter.Width LocaleDisplayNames.DialectHandling MeasureFormat.FormatWidth MessagePattern.ApostropheMode MessagePattern.ArgType MessagePattern.Part.Type Normalizer2.Mode PluralRules.PluralType RelativeDateTimeFormatter.AbsoluteUnit RelativeDateTimeFormatter.Direction RelativeDateTimeFormatter.RelativeDateTimeUnit RelativeDateTimeFormatter.RelativeUnit RelativeDateTimeFormatter.Style SearchIterator.ElementComparisonType TimeZoneFormat.GMTOffsetPatternType TimeZoneFormat.ParseOption TimeZoneFormat.Style TimeZoneFormat.TimeType TimeZoneNames.NameType UnicodeSet.ComparisonStyle UnicodeSet.SpanCondition UnicodeSetSpanner.CountMethod UnicodeSetSpanner.TrimOption Exceptions StringPrepParseException android.icu.util Overview Interfaces Freezable RangeValueIterator ValueIterator Classes BuddhistCalendar Calendar Calendar.WeekData ChineseCalendar CopticCalendar Currency CurrencyAmount DateInterval EthiopicCalendar GregorianCalendar HebrewCalendar IndianCalendar IslamicCalendar JapaneseCalendar LocaleData LocaleData.MeasurementSystem LocaleData.PaperSize Measure MeasureUnit Output RangeValueIterator.Element TaiwanCalendar TimeUnit TimeZone ULocale ULocale.Builder UniversalTimeScale ValueIterator.Element VersionInfo Enums Currency.CurrencyUsage IslamicCalendar.CalculationType MeasureUnit.Complexity MeasureUnit.MeasurePrefix TimeZone.SystemTimeZoneType ULocale.AvailableType ULocale.Category Exceptions ICUUncheckedIOException IllformedLocaleException android.inputmethodservice Overview Interfaces KeyboardView.OnKeyboardActionListener Classes AbstractInputMethodService AbstractInputMethodService.AbstractInputMethodImpl AbstractInputMethodService.AbstractInputMethodSessionImpl ExtractEditText InputMethodService InputMethodService.InputMethodImpl InputMethodService.InputMethodSessionImpl InputMethodService.Insets Keyboard Keyboard.Key Keyboard.Row KeyboardView android.location Overview Interfaces Geocoder.GeocodeListener GnssAntennaInfo.Listener GpsStatus.Listener GpsStatus.NmeaListener LocationListener OnNmeaMessageListener Classes Address Criteria Geocoder GnssAntennaInfo GnssAntennaInfo.Builder GnssAntennaInfo.PhaseCenterOffset GnssAntennaInfo.SphericalCorrections GnssAutomaticGainControl GnssAutomaticGainControl.Builder GnssCapabilities GnssCapabilities.Builder GnssClock GnssMeasurement GnssMeasurementRequest GnssMeasurementRequest.Builder GnssMeasurementsEvent GnssMeasurementsEvent.Builder GnssMeasurementsEvent.Callback GnssNavigationMessage GnssNavigationMessage.Callback GnssSignalType GnssStatus GnssStatus.Builder GnssStatus.Callback GpsSatellite GpsStatus Location LocationManager LocationProvider LocationRequest LocationRequest.Builder SettingInjectorService android.location.altitude Overview Classes AltitudeConverter android.location.provider Overview Classes ProviderProperties ProviderProperties.Builder android.media Overview Interfaces AudioManager.OnAudioFocusChangeListener AudioManager.OnCommunicationDeviceChangedListener AudioManager.OnModeChangedListener AudioManager.OnPreferredMixerAttributesChangedListener AudioMetadata.Key AudioMetadataMap AudioMetadataReadMap AudioRecord.OnRecordPositionUpdateListener AudioRecord.OnRoutingChangedListener AudioRecordingMonitor AudioRouting AudioRouting.OnRoutingChangedListener AudioTrack.OnCodecFormatChangedListener AudioTrack.OnPlaybackPositionUpdateListener AudioTrack.OnRoutingChangedListener ImageReader.OnImageAvailableListener ImageWriter.OnImageReleasedListener JetPlayer.OnJetEventListener LoudnessCodecController.OnLoudnessCodecUpdateListener MediaCas.EventListener MediaCodec.OnFirstTunnelFrameReadyListener MediaCodec.OnFrameRenderedListener MediaDrm.OnEventListener MediaDrm.OnExpirationUpdateListener MediaDrm.OnKeyStatusChangeListener MediaDrm.OnSessionLostStateListener MediaDrmThrowable MediaParser.InputReader MediaParser.OutputConsumer MediaParser.SeekableInputReader MediaPlayer.OnBufferingUpdateListener MediaPlayer.OnCompletionListener MediaPlayer.OnDrmConfigHelper MediaPlayer.OnDrmInfoListener MediaPlayer.OnDrmPreparedListener MediaPlayer.OnErrorListener MediaPlayer.OnInfoListener MediaPlayer.OnMediaTimeDiscontinuityListener MediaPlayer.OnPreparedListener MediaPlayer.OnSeekCompleteListener MediaPlayer.OnSubtitleDataListener MediaPlayer.OnTimedMetaDataAvailableListener MediaPlayer.OnTimedTextListener MediaPlayer.OnVideoSizeChangedListener MediaRecorder.OnErrorListener MediaRecorder.OnInfoListener MediaRouter2.DeviceSuggestionsUpdatesCallback MediaRouter2.OnGetControllerHintsListener MediaScannerConnection.MediaScannerConnectionClient MediaScannerConnection.OnScanCompletedListener MediaSync.OnErrorListener MicrophoneDirection RemoteControlClient.OnGetPlaybackPositionListener RemoteControlClient.OnMetadataUpdateListener RemoteControlClient.OnPlaybackPositionUpdateListener RemoteController.OnClientUpdateListener SoundPool.OnLoadCompleteListener Spatializer.OnHeadTrackerAvailableListener Spatializer.OnSpatializerStateChangedListener VolumeAutomation Classes ApplicationMediaCapabilities ApplicationMediaCapabilities.Builder AsyncPlayer AudioAttributes AudioAttributes.Builder AudioDescriptor AudioDeviceCallback AudioDeviceInfo AudioFocusRequest AudioFocusRequest.Builder AudioFormat AudioFormat.Builder AudioManager AudioManager.AudioPlaybackCallback AudioManager.AudioRecordingCallback AudioMetadata AudioMetadata.Format AudioMixerAttributes AudioMixerAttributes.Builder AudioPlaybackCaptureConfiguration AudioPlaybackCaptureConfiguration.Builder AudioPlaybackConfiguration AudioPresentation AudioPresentation.Builder AudioProfile AudioRecord AudioRecord.Builder AudioRecord.MetricsConstants AudioRecordingConfiguration AudioTimestamp AudioTrack AudioTrack.Builder AudioTrack.MetricsConstants AudioTrack.StreamEventCallback CamcorderProfile CameraProfile DrmInitData DrmInitData.SchemeInitData EncoderProfiles EncoderProfiles.AudioProfile EncoderProfiles.VideoProfile ExifInterface FaceDetector FaceDetector.Face Image Image.Plane ImageReader ImageReader.Builder ImageWriter ImageWriter.Builder JetPlayer LoudnessCodecController MediaActionSound MediaCas MediaCas.PluginDescriptor MediaCas.Session MediaCodec MediaCodec.BufferInfo MediaCodec.Callback MediaCodec.CryptoInfo MediaCodec.CryptoInfo.Pattern MediaCodec.LinearBlock MediaCodec.MetricsConstants MediaCodec.OutputFrame MediaCodec.ParameterDescriptor MediaCodec.QueueRequest MediaCodecInfo MediaCodecInfo.AudioCapabilities MediaCodecInfo.CodecCapabilities MediaCodecInfo.CodecProfileLevel MediaCodecInfo.EncoderCapabilities MediaCodecInfo.VideoCapabilities MediaCodecInfo.VideoCapabilities.PerformancePoint MediaCodecList MediaCommunicationManager MediaController2 MediaController2.Builder MediaController2.ControllerCallback MediaCrypto MediaDataSource MediaDescrambler MediaDescription MediaDescription.Builder MediaDrm MediaDrm.CryptoSession MediaDrm.ErrorCodes MediaDrm.KeyRequest MediaDrm.KeyStatus MediaDrm.LogMessage MediaDrm.MetricsConstants MediaDrm.PlaybackComponent MediaDrm.ProvisionRequest MediaExtractor MediaExtractor.CasInfo MediaExtractor.MetricsConstants MediaFeature MediaFeature.HdrType MediaFormat MediaFormat.QpOffsetRect MediaMetadata MediaMetadata.Builder MediaMetadataEditor MediaMetadataRetriever MediaMetadataRetriever.BitmapParams MediaMuxer MediaMuxer.OutputFormat MediaParser MediaParser.SeekMap MediaParser.SeekPoint MediaParser.TrackData MediaPlayer MediaPlayer.DrmInfo MediaPlayer.MetricsConstants MediaPlayer.TrackInfo MediaRecorder MediaRecorder.AudioEncoder MediaRecorder.AudioSource MediaRecorder.MetricsConstants MediaRecorder.OutputFormat MediaRecorder.VideoEncoder MediaRecorder.VideoSource MediaRoute2Info MediaRoute2Info.Builder MediaRoute2ProviderService MediaRouter MediaRouter.Callback MediaRouter.RouteCategory MediaRouter.RouteGroup MediaRouter.RouteInfo MediaRouter.SimpleCallback MediaRouter.UserRouteInfo MediaRouter.VolumeCallback MediaRouter2 MediaRouter2.ControllerCallback MediaRouter2.RouteCallback MediaRouter2.RoutingController MediaRouter2.ScanRequest MediaRouter2.ScanRequest.Builder MediaRouter2.ScanToken MediaRouter2.TransferCallback MediaScannerConnection MediaSession2 MediaSession2.Builder MediaSession2.ControllerInfo MediaSession2.SessionCallback MediaSession2Service MediaSession2Service.MediaNotification MediaSync MediaSync.Callback MediaSyncEvent MediaTimestamp MicrophoneInfo MicrophoneInfo.Coordinate3F PlaybackParams Rating RemoteControlClient RemoteControlClient.MetadataEditor RemoteController RemoteController.MetadataEditor Ringtone RingtoneManager RouteDiscoveryPreference RouteDiscoveryPreference.Builder RouteListingPreference RouteListingPreference.Builder RouteListingPreference.Item RouteListingPreference.Item.Builder RoutingSessionInfo RoutingSessionInfo.Builder Session2Command Session2Command.Result Session2CommandGroup Session2CommandGroup.Builder Session2Token SoundPool SoundPool.Builder Spatializer SubtitleData SuggestedDeviceInfo SuggestedDeviceInfo.Builder SyncParams ThumbnailUtils TimedMetaData TimedText ToneGenerator VolumeProvider VolumeShaper VolumeShaper.Configuration VolumeShaper.Configuration.Builder VolumeShaper.Operation Exceptions DeniedByServerException MediaCasException MediaCasException.DeniedByServerException MediaCasException.InsufficientResourceException MediaCasException.NotProvisionedException MediaCasException.ResourceBusyException MediaCasException.UnsupportedCasException MediaCasStateException MediaCodec.CodecException MediaCodec.CryptoException MediaCodec.IncompatibleWithBlockModelException MediaCodec.InvalidBufferFlagsException MediaCryptoException MediaDrm.MediaDrmStateException MediaDrm.SessionException MediaDrmException MediaDrmResetException MediaParser.ParsingException MediaParser.UnrecognizedInputFormatException MediaPlayer.NoDrmSchemeException MediaPlayer.ProvisioningNetworkErrorException MediaPlayer.ProvisioningServerErrorException NotProvisionedException ResourceBusyException UnsupportedSchemeException android.media.audiofx Overview Interfaces AudioEffect.OnControlStatusChangeListener AudioEffect.OnEnableStatusChangeListener BassBoost.OnParameterChangeListener EnvironmentalReverb.OnParameterChangeListener Equalizer.OnParameterChangeListener PresetReverb.OnParameterChangeListener Virtualizer.OnParameterChangeListener Visualizer.OnDataCaptureListener Classes AcousticEchoCanceler AudioEffect AudioEffect.Descriptor AutomaticGainControl BassBoost BassBoost.Settings DynamicsProcessing DynamicsProcessing.BandBase DynamicsProcessing.BandStage DynamicsProcessing.Channel DynamicsProcessing.Config DynamicsProcessing.Config.Builder DynamicsProcessing.Eq DynamicsProcessing.EqBand DynamicsProcessing.Limiter DynamicsProcessing.Mbc DynamicsProcessing.MbcBand DynamicsProcessing.Stage EnvironmentalReverb EnvironmentalReverb.Settings Equalizer Equalizer.Settings HapticGenerator LoudnessEnhancer NoiseSuppressor PresetReverb PresetReverb.Settings Virtualizer Virtualizer.Settings Visualizer Visualizer.MeasurementPeakRms android.media.browse Overview Classes MediaBrowser MediaBrowser.ConnectionCallback MediaBrowser.ItemCallback MediaBrowser.MediaItem MediaBrowser.SubscriptionCallback android.media.effect Overview Interfaces EffectUpdateListener Classes Effect EffectContext EffectFactory android.media.metrics Overview Classes BundleSession EditingEndedEvent EditingEndedEvent.Builder EditingSession Event LogSessionId MediaItemInfo MediaItemInfo.Builder MediaMetricsManager NetworkEvent NetworkEvent.Builder PlaybackErrorEvent PlaybackErrorEvent.Builder PlaybackMetrics PlaybackMetrics.Builder PlaybackSession PlaybackStateEvent PlaybackStateEvent.Builder RecordingSession TrackChangeEvent TrackChangeEvent.Builder TranscodingSession android.media.midi Overview Interfaces MidiManager.OnDeviceOpenedListener Classes MidiDevice MidiDevice.MidiConnection MidiDeviceInfo MidiDeviceInfo.PortInfo MidiDeviceService MidiDeviceStatus MidiInputPort MidiManager MidiManager.DeviceCallback MidiOutputPort MidiReceiver MidiSender MidiUmpDeviceService android.media.projection Overview Classes AppContentProjectionService AppContentProjectionSession AppContentRequest MediaProjection MediaProjection.Callback MediaProjectionAppContent MediaProjectionAppContent.Builder MediaProjectionConfig MediaProjectionConfig.Builder MediaProjectionManager android.media.quality Overview Interfaces MediaQualityManager.AmbientBacklightCallback Classes ActiveProcessingPicture AmbientBacklightEvent AmbientBacklightMetadata AmbientBacklightSettings EqualizerBand EqualizerCapabilities EqualizerSettings EqualizerSettings.Builder MediaQualityContract MediaQualityContract.PictureQuality MediaQualityContract.SoundQuality MediaQualityManager MediaQualityManager.PictureProfileCallback MediaQualityManager.ProfileQueryParams MediaQualityManager.ProfileQueryParams.Builder MediaQualityManager.SoundProfileCallback ParameterCapability PictureProfile PictureProfile.Builder SoundProfile SoundProfile.Builder android.media.session Overview Interfaces MediaSessionManager.OnActiveSessionsChangedListener MediaSessionManager.OnMediaKeyEventSessionChangedListener MediaSessionManager.OnSession2TokensChangedListener Classes MediaController MediaController.Callback MediaController.PlaybackInfo MediaController.TransportControls MediaSession MediaSession.Callback MediaSession.QueueItem MediaSession.Token MediaSessionManager MediaSessionManager.RemoteUserInfo PlaybackState PlaybackState.Builder PlaybackState.CustomAction PlaybackState.CustomAction.Builder android.media.tv Overview Interfaces TvContract.BaseTvColumns TvView.OnUnhandledInputEventListener Classes AdBuffer AdRequest AdResponse AitInfo BroadcastInfoRequest BroadcastInfoResponse CommandRequest CommandResponse DsmccRequest DsmccResponse PesRequest PesResponse SectionRequest SectionResponse SignalingDataInfo SignalingDataRequest SignalingDataResponse StreamEventRequest StreamEventResponse TableRequest TableResponse TableResponse.Builder TimelineRequest TimelineResponse TsRequest TsResponse TvContentRating TvContract TvContract.Channels TvContract.Channels.Logo TvContract.PreviewPrograms TvContract.Programs TvContract.Programs.Genres TvContract.RecordedPrograms TvContract.WatchNextPrograms TvInputInfo TvInputInfo.Builder TvInputManager TvInputManager.TvInputCallback TvInputService TvInputService.HardwareSession TvInputService.RecordingSession TvInputService.Session TvRecordingClient TvRecordingClient.RecordingCallback TvRecordingInfo TvTrackInfo TvTrackInfo.Builder TvView TvView.TimeShiftPositionCallback TvView.TvInputCallback android.media.tv.ad Overview Interfaces TvAdView.OnUnhandledInputEventListener Classes TvAdManager TvAdManager.TvAdServiceCallback TvAdService TvAdService.Session TvAdServiceInfo TvAdView TvAdView.TvAdCallback android.media.tv.interactive Overview Interfaces TvInteractiveAppView.OnUnhandledInputEventListener Classes AppLinkInfo TvInteractiveAppManager TvInteractiveAppManager.TvInteractiveAppCallback TvInteractiveAppService TvInteractiveAppService.Session TvInteractiveAppServiceInfo TvInteractiveAppView TvInteractiveAppView.TvInteractiveAppCallback android.mtp Overview Classes MtpConstants MtpDevice MtpDeviceInfo MtpEvent MtpObjectInfo MtpObjectInfo.Builder MtpStorageInfo android.net Overview Interfaces ConnectivityManager.OnNetworkActiveListener DnsResolver.Callback TetheringManager.StartTetheringCallback TetheringManager.StopTetheringCallback TetheringManager.TetheringEventCallback TransportInfo UrlQuerySanitizer.ValueSanitizer Classes CaptivePortal ConnectivityDiagnosticsManager ConnectivityDiagnosticsManager.ConnectivityDiagnosticsCallback ConnectivityDiagnosticsManager.ConnectivityReport ConnectivityDiagnosticsManager.DataStallReport ConnectivityManager ConnectivityManager.NetworkCallback Credentials DhcpInfo DnsResolver EthernetNetworkSpecifier Ikev2VpnProfile Ikev2VpnProfile.Builder InetAddresses IpConfiguration IpConfiguration.Builder IpPrefix IpSecAlgorithm IpSecManager IpSecManager.SecurityParameterIndex IpSecManager.UdpEncapsulationSocket IpSecTransform IpSecTransform.Builder IpSecTransformState IpSecTransformState.Builder L2capNetworkSpecifier L2capNetworkSpecifier.Builder LinkAddress LinkProperties LocalServerSocket LocalSocket LocalSocketAddress MacAddress MailTo Network NetworkCapabilities NetworkInfo NetworkRequest NetworkRequest.Builder NetworkSpecifier PlatformVpnProfile Proxy ProxyInfo RouteInfo SocketKeepalive SocketKeepalive.Callback SSLCertificateSocketFactory SSLSessionCache StaticIpConfiguration StaticIpConfiguration.Builder TelephonyNetworkSpecifier TelephonyNetworkSpecifier.Builder TetheringInterface TetheringManager TetheringManager.TetheringRequest TetheringManager.TetheringRequest.Builder TrafficStats Uri Uri.Builder UrlQuerySanitizer UrlQuerySanitizer.IllegalCharacterValueSanitizer UrlQuerySanitizer.ParameterValuePair VpnManager VpnProfileState VpnService VpnService.Builder Enums LocalSocketAddress.Namespace NetworkInfo.DetailedState NetworkInfo.State Exceptions DnsResolver.DnsException IpSecManager.ResourceUnavailableException IpSecManager.SpiUnavailableException ParseException android.net.dns Overview Classes HttpsEndpoint HttpsRecord android.net.eap Overview Classes EapAkaInfo EapAkaInfo.Builder EapInfo EapSessionConfig EapSessionConfig.Builder EapSessionConfig.EapAkaConfig EapSessionConfig.EapAkaOption EapSessionConfig.EapAkaOption.Builder EapSessionConfig.EapAkaPrimeConfig EapSessionConfig.EapMethodConfig EapSessionConfig.EapMsChapV2Config EapSessionConfig.EapSimConfig EapSessionConfig.EapTtlsConfig android.net.http Overview Interfaces BidirectionalStream.Callback Proxy.HttpConnectCallback UrlRequest.Callback UrlRequest.StatusListener Classes BidirectionalStream BidirectionalStream.Builder ConnectionMigrationOptions ConnectionMigrationOptions.Builder DnsOptions DnsOptions.Builder DnsOptions.StaleDnsOptions DnsOptions.StaleDnsOptions.Builder FinishedRequestTimings HeaderBlock HttpEngine HttpEngine.Builder HttpResponseCache Proxy Proxy.HttpConnectCallback.Request ProxyOptions QuicOptions QuicOptions.Builder SslCertificate SslCertificate.DName SslError UploadDataProvider UploadDataSink UrlRequest UrlRequest.Builder UrlRequest.Status UrlResponseInfo X509TrustManagerExtensions Exceptions CallbackException HttpException InlineExecutionProhibitedException NetworkException QuicException android.net.ipsec.ike Overview Interfaces ChildSessionCallback IkeSessionCallback TunnelModeChildSessionParams.ConfigRequestIpv4Address TunnelModeChildSessionParams.ConfigRequestIpv4DhcpServer TunnelModeChildSessionParams.ConfigRequestIpv4DnsServer TunnelModeChildSessionParams.ConfigRequestIpv4Netmask TunnelModeChildSessionParams.ConfigRequestIpv6Address TunnelModeChildSessionParams.ConfigRequestIpv6DnsServer TunnelModeChildSessionParams.TunnelModeChildConfigRequest Classes ChildSaProposal ChildSaProposal.Builder ChildSessionConfiguration ChildSessionConfiguration.Builder ChildSessionParams IkeDerAsn1DnIdentification IkeFqdnIdentification IkeIdentification IkeIpv4AddrIdentification IkeIpv6AddrIdentification IkeKeyIdIdentification IkeRfc822AddrIdentification IkeSaProposal IkeSaProposal.Builder IkeSession IkeSessionConfiguration IkeSessionConfiguration.Builder IkeSessionConnectionInfo IkeSessionParams IkeSessionParams.Builder IkeSessionParams.IkeAuthConfig IkeSessionParams.IkeAuthDigitalSignLocalConfig IkeSessionParams.IkeAuthDigitalSignRemoteConfig IkeSessionParams.IkeAuthEapConfig IkeSessionParams.IkeAuthPskConfig IkeTrafficSelector IkeTunnelConnectionParams SaProposal TransportModeChildSessionParams TransportModeChildSessionParams.Builder TunnelModeChildSessionParams TunnelModeChildSessionParams.Builder android.net.ipsec.ike.exceptions Overview Exceptions IkeException IkeInternalException IkeIOException IkeNetworkLostException IkeNonProtocolException IkeProtocolException IkeTimeoutException InvalidKeException InvalidMajorVersionException InvalidSelectorsException android.net.nsd Overview Interfaces NsdManager.DiscoveryListener NsdManager.RegistrationListener NsdManager.ResolveListener NsdManager.ServiceInfoCallback Classes AdvertisingRequest AdvertisingRequest.Builder DiscoveryRequest DiscoveryRequest.Builder NsdManager NsdServiceInfo android.net.rtp Overview Classes AudioCodec AudioGroup AudioStream RtpStream android.net.sip Overview Interfaces SipRegistrationListener Classes SipAudioCall SipAudioCall.Listener SipErrorCode SipManager SipProfile SipProfile.Builder SipSession SipSession.Listener SipSession.State Exceptions SipException android.net.ssl Overview Classes EchConfigList SSLEngines SSLSockets Exceptions EchConfigMismatchException InvalidEchDataException android.net.vcn Overview Classes VcnCellUnderlyingNetworkTemplate VcnCellUnderlyingNetworkTemplate.Builder VcnConfig VcnConfig.Builder VcnGatewayConnectionConfig VcnGatewayConnectionConfig.Builder VcnManager VcnManager.VcnStatusCallback VcnUnderlyingNetworkTemplate VcnWifiUnderlyingNetworkTemplate VcnWifiUnderlyingNetworkTemplate.Builder android.net.wifi Overview Interfaces WifiManager.LocalOnlyConnectionFailureListener WifiManager.SuggestionConnectionStatusListener WifiManager.SuggestionUserApprovalStatusListener WifiManager.WifiStateChangedListener Classes BlockingOption BlockingOption.Builder EasyConnectStatusCallback MloLink ScanResult ScanResult.InformationElement SoftApConfiguration SoftApConfiguration.Builder WifiAvailableChannel WifiConfiguration WifiConfiguration.AuthAlgorithm WifiConfiguration.GroupCipher WifiConfiguration.GroupMgmtCipher WifiConfiguration.KeyMgmt WifiConfiguration.PairwiseCipher WifiConfiguration.Protocol WifiConfiguration.Status WifiEnterpriseConfig WifiEnterpriseConfig.Eap WifiEnterpriseConfig.Phase2 WifiInfo WifiInfo.Builder WifiManager WifiManager.AddNetworkResult WifiManager.InterfaceCreationImpact WifiManager.LocalOnlyHotspotCallback WifiManager.LocalOnlyHotspotReservation WifiManager.MulticastLock WifiManager.ScanResultsCallback WifiManager.SubsystemRestartTrackingCallback WifiManager.WifiLock WifiManager.WpsCallback WifiNetworkSpecifier WifiNetworkSpecifier.Builder WifiNetworkSuggestion WifiNetworkSuggestion.Builder WifiSsid WpsInfo Enums SupplicantState android.net.wifi.aware Overview Classes AttachCallback AwareDataPathRequest AwareDataPathRequest.Builder AwarePairingConfig AwarePairingConfig.Builder AwareResources Characteristics DiscoverySession DiscoverySessionCallback IdentityChangedListener ParcelablePeerHandle PeerHandle PublishConfig PublishConfig.Builder PublishDiscoverySession ServiceDiscoveryInfo SubscribeConfig SubscribeConfig.Builder SubscribeDiscoverySession WifiAwareChannelInfo WifiAwareDataPathSecurityConfig WifiAwareDataPathSecurityConfig.Builder WifiAwareManager WifiAwareNetworkInfo WifiAwareNetworkSpecifier WifiAwareNetworkSpecifier.Builder WifiAwareSession android.net.wifi.hotspot2 Overview Classes ConfigParser PasspointConfiguration android.net.wifi.hotspot2.omadm Overview Classes PpsMoParser android.net.wifi.hotspot2.pps Overview Classes Credential Credential.CertificateCredential Credential.SimCredential Credential.UserCredential HomeSp android.net.wifi.p2p Overview Interfaces WifiP2pManager.ActionListener WifiP2pManager.ChannelListener WifiP2pManager.ConnectionInfoListener WifiP2pManager.DeviceInfoListener WifiP2pManager.DiscoveryStateListener WifiP2pManager.DnsSdServiceResponseListener WifiP2pManager.DnsSdTxtRecordListener WifiP2pManager.ExternalApproverRequestListener WifiP2pManager.GroupInfoListener WifiP2pManager.NetworkInfoListener WifiP2pManager.P2pStateListener WifiP2pManager.PeerListListener WifiP2pManager.ServiceResponseListener WifiP2pManager.UpnpServiceResponseListener WifiP2pManager.WifiP2pListener Classes WifiP2pConfig WifiP2pConfig.Builder WifiP2pConnectionInfo WifiP2pDevice WifiP2pDeviceList WifiP2pDirInfo WifiP2pDiscoveryConfig WifiP2pDiscoveryConfig.Builder WifiP2pGroup WifiP2pInfo WifiP2pManager WifiP2pManager.Channel WifiP2pPairingBootstrappingConfig WifiP2pUsdBasedLocalServiceAdvertisementConfig WifiP2pUsdBasedLocalServiceAdvertisementConfig.Builder WifiP2pUsdBasedServiceDiscoveryConfig WifiP2pUsdBasedServiceDiscoveryConfig.Builder WifiP2pWfdInfo android.net.wifi.p2p.nsd Overview Classes WifiP2pDnsSdServiceInfo WifiP2pDnsSdServiceRequest WifiP2pServiceInfo WifiP2pServiceRequest WifiP2pUpnpServiceInfo WifiP2pUpnpServiceRequest WifiP2pUsdBasedServiceConfig WifiP2pUsdBasedServiceConfig.Builder WifiP2pUsdBasedServiceResponse android.net.wifi.rtt Overview Classes CivicLocationKeys PasnConfig PasnConfig.Builder RangingRequest RangingRequest.Builder RangingResult RangingResult.Builder RangingResultCallback ResponderConfig ResponderConfig.Builder ResponderLocation SecureRangingConfig SecureRangingConfig.Builder WifiRttManager android.nfc Overview Interfaces NfcAdapter.CreateBeamUrisCallback NfcAdapter.CreateNdefMessageCallback NfcAdapter.OnNdefPushCompleteCallback NfcAdapter.OnTagRemovedListener NfcAdapter.ReaderCallback Classes AvailableNfcAntenna NdefMessage NdefRecord NfcAdapter NfcAntennaInfo NfcEvent NfcManager Tag Exceptions FormatException TagLostException android.nfc.cardemulation Overview Interfaces CardEmulation.NfcEventCallback Classes CardEmulation HostApduService HostNfcFService NfcFCardEmulation OffHostApduService PollingFrame android.nfc.tech Overview Interfaces TagTechnology Classes IsoDep MifareClassic MifareUltralight Ndef NdefFormatable NfcA NfcB NfcBarcode NfcF NfcV android.opengl Overview Interfaces GLES31Ext.DebugProcKHR GLES32.DebugProc GLSurfaceView.EGLConfigChooser GLSurfaceView.EGLContextFactory GLSurfaceView.EGLWindowSurfaceFactory GLSurfaceView.GLWrapper GLSurfaceView.Renderer Classes EGL14 EGL15 EGLConfig EGLContext EGLDisplay EGLExt EGLImage EGLObjectHandle EGLSurface EGLSync ETC1 ETC1Util ETC1Util.ETC1Texture GLDebugHelper GLES10 GLES10Ext GLES11 GLES11Ext GLES20 GLES30 GLES31 GLES31Ext GLES32 GLSurfaceView GLU GLUtils Matrix Visibility Exceptions GLException android.os Overview Interfaces CancellationSignal.OnCancelListener FileUtils.ProgressListener Handler.Callback IBinder IBinder.DeathRecipient IBinder.FrozenStateChangeCallback IInterface MessageQueue.IdleHandler MessageQueue.OnFileDescriptorEventListener OutcomeReceiver Parcelable Parcelable.ClassLoaderCreator Parcelable.Creator ParcelFileDescriptor.OnCloseListener PowerManager.OnThermalHeadroomChangedListener PowerManager.OnThermalStatusChangedListener PowerManager.WakeLockStateListener RecoverySystem.ProgressListener RemoteCallbackList.Builder.InterfaceDiedCallback StrictMode.OnThreadViolationListener StrictMode.OnVmViolationListener Classes AsyncTask BaseBundle BatteryManager Binder BugreportManager BugreportManager.BugreportCallback Build Build.Partition Build.VERSION Build.VERSION_CODES Build.VERSION_CODES_FULL Bundle CancellationSignal CombinedVibration CombinedVibration.ParallelCombination ConditionVariable CountDownTimer CpuHeadroomParams CpuHeadroomParams.Builder CpuUsageInfo Debug Debug.InstructionCount Debug.MemoryInfo DropBoxManager DropBoxManager.Entry Environment FileObserver FileUtils GpuHeadroomParams GpuHeadroomParams.Builder Handler HandlerThread HardwarePropertiesManager LocaleList Looper MemoryFile Message MessageQueue Messenger Parcel ParcelFileDescriptor ParcelFileDescriptor.AutoCloseInputStream ParcelFileDescriptor.AutoCloseOutputStream ParcelUuid PatternMatcher PerformanceHintManager PerformanceHintManager.Session PersistableBundle PowerManager PowerManager.WakeLock PowerMonitor PowerMonitorReadings Process ProfilingManager ProfilingResult ProfilingTrigger ProfilingTrigger.Builder ProxyFileDescriptorCallback RecoverySystem RemoteCallbackList RemoteCallbackList.Builder ResultReceiver SecurityStateManager SharedMemory StatFs StrictMode StrictMode.ThreadPolicy StrictMode.ThreadPolicy.Builder StrictMode.VmPolicy StrictMode.VmPolicy.Builder SystemClock TestLooperManager TokenWatcher Trace UserHandle UserManager VibrationAttributes VibrationAttributes.Builder VibrationEffect VibrationEffect.BasicEnvelopeBuilder VibrationEffect.Composition VibrationEffect.WaveformEnvelopeBuilder Vibrator VibratorManager WorkDuration WorkSource Enums AsyncTask.Status Exceptions BadParcelableException DeadObjectException DeadSystemException FileUriExposedException LimitExceededException NetworkOnMainThreadException OperationCanceledException ParcelFileDescriptor.FileDescriptorDetachedException ParcelFormatException RemoteException TransactionTooLargeException UserManager.UserOperationException android.os.ext Overview Classes SdkExtensions android.os.flagging Overview Classes AconfigPackage Exceptions AconfigStorageReadException android.os.health Overview Classes HealthStats PackageHealthStats PidHealthStats ProcessHealthStats ServiceHealthStats SystemHealthManager TimerStat UidHealthStats android.os.storage Overview Classes FileManager OnObbStateChangeListener StorageManager StorageManager.StorageVolumeCallback StorageVolume android.os.storage.operations Overview Classes FileOperationEnqueueResult FileOperationRequest FileOperationRequest.Builder FileOperationResult android.os.storage.operations.sources Overview Classes AppDataFileSource OperationSource android.os.storage.operations.targets Overview Classes OperationTarget PccTarget android.os.strictmode Overview Classes CleartextNetworkViolation ContentUriWithoutPermissionViolation CredentialProtectedWhileLockedViolation CustomViolation DiskReadViolation DiskWriteViolation ExplicitGcViolation FileUriExposedViolation ImplicitDirectBootViolation IncorrectContextUseViolation InstanceCountViolation IntentReceiverLeakedViolation LeakedClosableViolation NetworkViolation NonSdkApiUsedViolation ResourceMismatchViolation ServiceConnectionLeakedViolation SqliteObjectLeakedViolation UnbufferedIoViolation UnsafeIntentLaunchViolation UntaggedSocketViolation Violation WebViewMethodCalledOnWrongThreadViolation android.os.vibrator Overview Classes HapticFeedbackRequest HapticFeedbackRequest.Builder VibratorEnvelopeEffectInfo VibratorFrequencyProfile android.preference Overview Interfaces Preference.OnPreferenceChangeListener Preference.OnPreferenceClickListener PreferenceDataStore PreferenceFragment.OnPreferenceStartFragmentCallback PreferenceManager.OnActivityDestroyListener PreferenceManager.OnActivityResultListener PreferenceManager.OnActivityStopListener Classes CheckBoxPreference DialogPreference EditTextPreference ListPreference MultiSelectListPreference Preference Preference.BaseSavedState PreferenceActivity PreferenceActivity.Header PreferenceCategory PreferenceFragment PreferenceGroup PreferenceManager PreferenceScreen RingtonePreference SwitchPreference TwoStatePreference android.print Overview Classes PageRange PrintAttributes PrintAttributes.Builder PrintAttributes.Margins PrintAttributes.MediaSize PrintAttributes.Resolution PrintDocumentAdapter PrintDocumentAdapter.LayoutResultCallback PrintDocumentAdapter.WriteResultCallback PrintDocumentInfo PrintDocumentInfo.Builder PrinterCapabilitiesInfo PrinterCapabilitiesInfo.Builder PrinterId PrinterInfo PrinterInfo.Builder PrintJob PrintJobId PrintJobInfo PrintJobInfo.Builder PrintManager android.print.pdf Overview Classes PrintedPdfDocument android.printservice Overview Classes CustomPrinterIconCallback PrintDocument PrinterDiscoverySession PrintJob PrintService android.provider Overview Interfaces BaseColumns CalendarContract.AttendeesColumns CalendarContract.CalendarAlertsColumns CalendarContract.CalendarCacheColumns CalendarContract.CalendarColumns CalendarContract.CalendarSyncColumns CalendarContract.ColorsColumns CalendarContract.EventDaysColumns CalendarContract.EventsColumns CalendarContract.ExtendedPropertiesColumns CalendarContract.RemindersColumns CalendarContract.SyncColumns Contacts.ContactMethodsColumns Contacts.ExtensionsColumns Contacts.GroupsColumns Contacts.OrganizationColumns Contacts.PeopleColumns Contacts.PhonesColumns Contacts.PhotosColumns Contacts.PresenceColumns Contacts.SettingsColumns ContactsContract.BaseSyncColumns ContactsContract.CommonDataKinds.BaseTypes ContactsContract.CommonDataKinds.CommonColumns ContactsContract.ContactNameColumns ContactsContract.ContactOptionsColumns ContactsContract.ContactsColumns ContactsContract.ContactStatusColumns ContactsContract.DataColumns ContactsContract.DataColumnsWithJoins ContactsContract.DataUsageStatColumns ContactsContract.DeletedContactsColumns ContactsContract.DisplayNameSources ContactsContract.FullNameStyle ContactsContract.GroupsColumns ContactsContract.PhoneLookupColumns ContactsContract.PhoneticNameStyle ContactsContract.PresenceColumns ContactsContract.RawContactsColumns ContactsContract.SettingsColumns ContactsContract.StatusColumns ContactsContract.SyncColumns MediaStore.Audio.AlbumColumns MediaStore.Audio.ArtistColumns MediaStore.Audio.AudioColumns MediaStore.Audio.GenresColumns MediaStore.Audio.PlaylistsColumns MediaStore.DownloadColumns MediaStore.Files.FileColumns MediaStore.Images.ImageColumns MediaStore.MediaColumns MediaStore.Video.VideoColumns OpenableColumns SyncStateContract.Columns Telephony.BaseMmsColumns Telephony.CanonicalAddressesColumns Telephony.TextBasedSmsColumns Telephony.ThreadsColumns Classes AlarmClock BlockedNumberContract BlockedNumberContract.BlockedNumbers Browser CalendarContract CalendarContract.Attendees CalendarContract.CalendarAlerts CalendarContract.CalendarCache CalendarContract.CalendarEntity CalendarContract.Calendars CalendarContract.Colors CalendarContract.EventDays CalendarContract.Events CalendarContract.EventsEntity CalendarContract.ExtendedProperties CalendarContract.Instances CalendarContract.Reminders CalendarContract.SyncState CallLog CallLog.Calls CallLog.Locations CloudMediaProvider CloudMediaProvider.CloudMediaSurfaceController CloudMediaProvider.CloudMediaSurfaceStateChangedCallback CloudMediaProviderContract CloudMediaProviderContract.AlbumColumns CloudMediaProviderContract.Capabilities CloudMediaProviderContract.Capabilities.Builder CloudMediaProviderContract.MediaCategoryColumns CloudMediaProviderContract.MediaCollectionInfo CloudMediaProviderContract.MediaColumns CloudMediaProviderContract.MediaSetColumns CloudMediaProviderContract.SearchSuggestionColumns Contacts Contacts.ContactMethods Contacts.Extensions Contacts.GroupMembership Contacts.Groups Contacts.Intents Contacts.Intents.Insert Contacts.Intents.UI Contacts.Organizations Contacts.People Contacts.People.ContactMethods Contacts.People.Extensions Contacts.People.Phones Contacts.Phones Contacts.Photos Contacts.Settings ContactsContract ContactsContract.AggregationExceptions ContactsContract.CommonDataKinds ContactsContract.CommonDataKinds.Callable ContactsContract.CommonDataKinds.Contactables ContactsContract.CommonDataKinds.Email ContactsContract.CommonDataKinds.Event ContactsContract.CommonDataKinds.GroupMembership ContactsContract.CommonDataKinds.Identity ContactsContract.CommonDataKinds.Im ContactsContract.CommonDataKinds.Nickname ContactsContract.CommonDataKinds.Note ContactsContract.CommonDataKinds.Organization ContactsContract.CommonDataKinds.Phone ContactsContract.CommonDataKinds.Photo ContactsContract.CommonDataKinds.Relation ContactsContract.CommonDataKinds.SipAddress ContactsContract.CommonDataKinds.StructuredName ContactsContract.CommonDataKinds.StructuredPostal ContactsContract.CommonDataKinds.Website ContactsContract.Contacts ContactsContract.Contacts.AggregationSuggestions ContactsContract.Contacts.AggregationSuggestions.Builder ContactsContract.Contacts.Data ContactsContract.Contacts.Entity ContactsContract.Contacts.Photo ContactsContract.Data ContactsContract.DataUsageFeedback ContactsContract.DeletedContacts ContactsContract.Directory ContactsContract.DisplayPhoto ContactsContract.Groups ContactsContract.Intents ContactsContract.Intents.Insert ContactsContract.PhoneLookup ContactsContract.PinnedPositions ContactsContract.Presence ContactsContract.Profile ContactsContract.ProfileSyncState ContactsContract.ProviderStatus ContactsContract.QuickContact ContactsContract.RawContacts ContactsContract.RawContacts.Data ContactsContract.RawContacts.DefaultAccount ContactsContract.RawContacts.DefaultAccount.DefaultAccountAndState ContactsContract.RawContacts.DisplayPhoto ContactsContract.RawContacts.Entity ContactsContract.RawContactsEntity ContactsContract.SearchSnippets ContactsContract.Settings ContactsContract.Settings.AccountAttributes ContactsContract.SimAccount ContactsContract.SimContacts ContactsContract.StatusUpdates ContactsContract.SyncState ContactsPickerSessionContract ContactsPickerSessionContract.Session DocumentsContract DocumentsContract.Document DocumentsContract.Path DocumentsContract.Root DocumentsProvider E2eeContactKeysManager E2eeContactKeysManager.E2eeContactKey E2eeContactKeysManager.E2eeSelfKey FontRequest FontsContract FontsContract.Columns FontsContract.FontFamilyResult FontsContract.FontInfo FontsContract.FontRequestCallback LiveFolders MediaStore MediaStore.Audio MediaStore.Audio.Albums MediaStore.Audio.Artists MediaStore.Audio.Artists.Albums MediaStore.Audio.Genres MediaStore.Audio.Genres.Members MediaStore.Audio.Media MediaStore.Audio.Playlists MediaStore.Audio.Playlists.Members MediaStore.Audio.Radio MediaStore.Downloads MediaStore.Files MediaStore.Images MediaStore.Images.Media MediaStore.Images.Thumbnails MediaStore.PickerMediaColumns MediaStore.Video MediaStore.Video.Media MediaStore.Video.Thumbnails SearchRecentSuggestions Settings Settings.Global Settings.NameValueTable Settings.Panel Settings.Secure Settings.System SettingsSlicesContract SimPhonebookContract SimPhonebookContract.ElementaryFiles SimPhonebookContract.SimRecords SyncStateContract SyncStateContract.Constants SyncStateContract.Helpers Telephony Telephony.CarrierId Telephony.Carriers Telephony.Mms Telephony.Mms.Addr Telephony.Mms.Draft Telephony.Mms.Inbox Telephony.Mms.Intents Telephony.Mms.Outbox Telephony.Mms.Part Telephony.Mms.Rate Telephony.Mms.Sent Telephony.MmsSms Telephony.MmsSms.PendingMessages Telephony.ServiceStateTable Telephony.Sms Telephony.Sms.Conversations Telephony.Sms.Draft Telephony.Sms.Inbox Telephony.Sms.Intents Telephony.Sms.Outbox Telephony.Sms.Sent Telephony.Threads UserDictionary UserDictionary.Words VoicemailContract VoicemailContract.Status VoicemailContract.Voicemails Exceptions Settings.SettingNotFoundException android.ranging Overview Interfaces RangingManager.RangingCapabilitiesCallback RangingSession.Callback Classes DataNotificationConfig DataNotificationConfig.Builder DlTdoaMeasurement DlTdoaMeasurement.AnchorLocation DlTdoaMeasurement.RelativeLocation DlTdoaMeasurement.Wgs84Location DlTdoaMeasurement.ZElementExtension MotionState RangingCapabilities RangingConfig RangingData RangingDataExtras RangingDevice RangingDevice.Builder RangingManager RangingMeasurement RangingPreference RangingPreference.Builder RangingSession SensorFusionParams SensorFusionParams.Builder SessionConfig SessionConfig.Builder android.ranging.ble Overview Classes BleSpecificData android.ranging.ble.cs Overview Classes BleCsRangingCapabilities BleCsRangingParams BleCsRangingParams.Builder android.ranging.ble.rssi Overview Classes BleRssiRangingParams BleRssiRangingParams.Builder android.ranging.oob Overview Interfaces TransportHandle TransportHandle.ReceiveCallback Classes DeviceHandle DeviceHandle.Builder OobInitiatorRangingConfig OobInitiatorRangingConfig.Builder OobResponderRangingConfig OobResponderRangingConfig.Builder android.ranging.raw Overview Classes RawDtTagRangingConfig RawDtTagRangingConfig.Builder RawInitiatorRangingConfig RawInitiatorRangingConfig.Builder RawRangingDevice RawRangingDevice.Builder RawResponderRangingConfig RawResponderRangingConfig.Builder android.ranging.uwb Overview Classes DlTdoaRangingParams DlTdoaRangingParams.Builder UwbAddress UwbComplexChannel UwbComplexChannel.Builder UwbRangingCapabilities UwbRangingParams UwbRangingParams.Builder UwbSpecificData android.ranging.wifi.pd Overview Classes WifiPdRangingCapabilities WifiPdRangingParams WifiPdRangingParams.Builder android.ranging.wifi.rtt Overview Classes RttRangingCapabilities RttRangingParams RttRangingParams.Builder RttStationRangingParams RttStationRangingParams.Builder WifiRttSpecificData android.renderscript Overview Interfaces Allocation.OnBufferAvailableListener Classes Allocation AllocationAdapter BaseObj Byte2 Byte3 Byte4 Double2 Double3 Double4 Element Element.Builder FieldPacker Float2 Float3 Float4 Int2 Int3 Int4 Long2 Long3 Long4 Matrix2f Matrix3f Matrix4f RenderScript RenderScript.RSErrorHandler RenderScript.RSMessageHandler Sampler Sampler.Builder Script Script.Builder Script.FieldBase Script.FieldID Script.InvokeID Script.KernelID Script.LaunchOptions ScriptC ScriptGroup ScriptGroup.Binding ScriptGroup.Builder ScriptGroup.Builder2 ScriptGroup.Closure ScriptGroup.Future ScriptGroup.Input ScriptIntrinsic ScriptIntrinsic3DLUT ScriptIntrinsicBLAS ScriptIntrinsicBlend ScriptIntrinsicBlur ScriptIntrinsicColorMatrix ScriptIntrinsicConvolve3x3 ScriptIntrinsicConvolve5x5 ScriptIntrinsicHistogram ScriptIntrinsicLUT ScriptIntrinsicResize ScriptIntrinsicYuvToRGB Short2 Short3 Short4 Type Type.Builder Enums Allocation.MipmapControl Element.DataKind Element.DataType RenderScript.ContextType RenderScript.Priority Sampler.Value Type.CubemapFace Exceptions RSDriverException RSIllegalArgumentException RSInvalidStateException RSRuntimeException android.sax Overview Interfaces ElementListener EndElementListener EndTextElementListener StartElementListener TextElementListener Classes Element RootElement android.se.omapi Overview Interfaces SEService.OnConnectedListener Classes Channel Reader SEService Session android.security Overview Interfaces KeyChainAliasCallback Classes AppUriAuthenticationPolicy AppUriAuthenticationPolicy.Builder AttestedKeyPair ConfirmationCallback ConfirmationPrompt ConfirmationPrompt.Builder FileIntegrityManager KeyChain KeyPairGeneratorSpec KeyPairGeneratorSpec.Builder KeyStoreParameter KeyStoreParameter.Builder NetworkSecurityPolicy Exceptions ConfirmationAlreadyPresentingException ConfirmationNotAvailableException KeyChainException KeyStoreException android.security.advancedprotection Overview Interfaces AdvancedProtectionManager.Callback Classes AdvancedProtectionManager android.security.identity Overview Interfaces CredentialDataResult.Entries Classes AccessControlProfile AccessControlProfile.Builder AccessControlProfileId AuthenticationKeyMetadata CredentialDataRequest CredentialDataRequest.Builder CredentialDataResult IdentityCredential IdentityCredentialStore PersonalizationData PersonalizationData.Builder PresentationSession ResultData WritableIdentityCredential Exceptions AlreadyPersonalizedException CipherSuiteNotSupportedException DocTypeNotSupportedException EphemeralPublicKeyNotFoundException IdentityCredentialException InvalidReaderSignatureException InvalidRequestMessageException MessageDecryptionException NoAuthenticationKeyAvailableException SessionTranscriptMismatchException UnknownAuthenticationKeyException android.security.keystore Overview Classes KeyGenParameterSpec KeyGenParameterSpec.Builder KeyInfo KeyProperties KeyProtection KeyProtection.Builder KeyStoreManager WrappedKeyEntry Exceptions BackendBusyException KeyExpiredException KeyNotYetValidException KeyPermanentlyInvalidatedException SecureKeyImportUnavailableException StrongBoxUnavailableException UserNotAuthenticatedException UserPresenceUnavailableException android.service.assist.classification Overview Classes FieldClassification android.service.autofill Overview Interfaces OnClickAction Sanitizer SavedDatasetsInfoCallback Transformation Validator Classes AutofillService BatchUpdates BatchUpdates.Builder CharSequenceTransformation CharSequenceTransformation.Builder CustomDescription CustomDescription.Builder Dataset Dataset.Builder DateTransformation DateValueSanitizer Field Field.Builder FieldClassification FieldClassification.Match FillCallback FillContext FillEventHistory FillEventHistory.Event FillRequest FillResponse FillResponse.Builder ImageTransformation ImageTransformation.Builder InlinePresentation LuhnChecksumValidator Presentations Presentations.Builder RegexValidator SaveCallback SavedDatasetsInfo SaveInfo SaveInfo.Builder SaveRequest TextValueSanitizer UserData UserData.Builder Validators VisibilitySetterAction VisibilitySetterAction.Builder android.service.carrier Overview Interfaces CarrierMessagingService.ResultCallback Classes CarrierIdentifier CarrierMessagingClientService CarrierMessagingService CarrierMessagingService.SendMmsResult CarrierMessagingService.SendMultipartSmsResult CarrierMessagingService.SendSmsResult CarrierService MessagePdu android.service.chooser Overview Interfaces AdditionalContentContract AdditionalContentContract.Columns AdditionalContentContract.CursorExtraKeys AdditionalContentContract.MethodNames ChooserSession.StateListener Classes ChooserAction ChooserAction.Builder ChooserManager ChooserResult ChooserSession ChooserSessionToken ChooserTarget ChooserTargetService android.service.controls Overview Classes Control Control.StatefulBuilder Control.StatelessBuilder ControlsProviderService DeviceTypes android.service.controls.actions Overview Classes BooleanAction CommandAction ControlAction FloatAction ModeAction android.service.controls.templates Overview Classes ControlButton ControlTemplate RangeTemplate StatelessTemplate TemperatureControlTemplate ThumbnailTemplate ToggleRangeTemplate ToggleTemplate android.service.credentials Overview Classes Action BeginCreateCredentialRequest BeginCreateCredentialResponse BeginCreateCredentialResponse.Builder BeginGetCredentialOption BeginGetCredentialRequest BeginGetCredentialRequest.Builder BeginGetCredentialResponse BeginGetCredentialResponse.Builder CallingAppInfo ClearCredentialStateRequest CreateCredentialRequest CreateEntry CredentialEntry CredentialProviderService GetCredentialRequest RemoteEntry android.service.dreams Overview Classes DreamService android.service.media Overview Classes CameraPrewarmService MediaBrowserService MediaBrowserService.BrowserRoot MediaBrowserService.Result android.service.messaging Overview Classes AlternativeMessageTransportService android.service.notification Overview Classes Condition ConditionProviderService NotificationListenerService NotificationListenerService.Ranking NotificationListenerService.RankingMap StatusBarNotification ZenDeviceEffects ZenDeviceEffects.Builder ZenPolicy ZenPolicy.Builder android.service.persistentdata Overview Classes PersistentDataBlockManager android.service.quickaccesswallet Overview Interfaces GetWalletCardsCallback Classes GetWalletCardsError GetWalletCardsRequest GetWalletCardsResponse QuickAccessWalletService SelectWalletCardRequest WalletCard WalletCard.Builder WalletServiceEvent android.service.quicksettings Overview Classes Tile TileService android.service.restrictions Overview Classes RestrictionsReceiver android.service.settings.preferences Overview Classes GetValueRequest GetValueRequest.Builder GetValueResult GetValueResult.Builder MetadataRequest MetadataRequest.Builder MetadataResult MetadataResult.Builder SettingsPreferenceMetadata SettingsPreferenceMetadata.Builder SettingsPreferenceService SettingsPreferenceServiceClient SettingsPreferenceValue SettingsPreferenceValue.Builder SetValueRequest SetValueRequest.Builder SetValueResult SetValueResult.Builder android.service.textservice Overview Classes SpellCheckerService SpellCheckerService.Session android.service.voice Overview Interfaces VoiceInteractionSession.VisibleActivityCallback Classes VisibleActivityInfo VoiceInteractionService VoiceInteractionSession VoiceInteractionSession.AbortVoiceRequest VoiceInteractionSession.ActivityId VoiceInteractionSession.AssistState VoiceInteractionSession.CommandRequest VoiceInteractionSession.CompleteVoiceRequest VoiceInteractionSession.ConfirmationRequest VoiceInteractionSession.Insets VoiceInteractionSession.PickOptionRequest VoiceInteractionSession.Request VoiceInteractionSessionService android.service.vr Overview Classes VrListenerService android.service.wallpaper Overview Classes WallpaperService WallpaperService.Engine android.speech Overview Interfaces ModelDownloadListener RecognitionListener RecognitionSupportCallback Classes AlternativeSpan AlternativeSpans RecognitionPart RecognitionPart.Builder RecognitionService RecognitionService.Callback RecognitionService.SupportCallback RecognitionSupport RecognitionSupport.Builder RecognizerIntent RecognizerResultsIntent SpeechRecognizer android.speech.tts Overview Interfaces SynthesisCallback TextToSpeech.OnInitListener TextToSpeech.OnUtteranceCompletedListener Classes SynthesisRequest TextToSpeech TextToSpeech.Engine TextToSpeech.EngineInfo TextToSpeechService UtteranceProgressListener Voice android.system Overview Classes Int64Ref Os OsConstants StructCmsghdr StructDlInfo StructMsghdr StructPollfd StructStat StructStatVfs StructTimespec StructTimeval StructUtsname SystemCleaner VmSocketAddress Exceptions ErrnoException android.telecom Overview Interfaces CallControlCallback CallEventCallback Classes Call Call.Callback Call.Details Call.RttCall CallAttributes CallAttributes.Builder CallAudioState CallControl CallEndpoint CallRedirectionService CallScreeningService CallScreeningService.CallResponse CallScreeningService.CallResponse.Builder Conference Conferenceable Connection Connection.RttModifyStatus Connection.RttTextStream Connection.VideoProvider ConnectionRequest ConnectionService DisconnectCause GatewayInfo InCallService InCallService.VideoCall InCallService.VideoCall.Callback PhoneAccount PhoneAccount.Builder PhoneAccountHandle PhoneAccountSuggestion RemoteConference RemoteConference.Callback RemoteConnection RemoteConnection.Callback RemoteConnection.VideoProvider RemoteConnection.VideoProvider.Callback StatusHints TelecomManager VideoProfile VideoProfile.CameraCapabilities Exceptions CallEndpointException CallException QueryLocationException android.telephony Overview Interfaces CarrierConfigManager.CarrierConfigChangeListener TelephonyCallback.ActiveDataSubscriptionIdListener TelephonyCallback.BarringInfoListener TelephonyCallback.CallDisconnectCauseListener TelephonyCallback.CallForwardingIndicatorListener TelephonyCallback.CallStateListener TelephonyCallback.CarrierNetworkListener TelephonyCallback.CarrierRoamingNtnListener TelephonyCallback.CellInfoListener TelephonyCallback.CellLocationListener TelephonyCallback.DataActivationStateListener TelephonyCallback.DataActivityListener TelephonyCallback.DataConnectionStateListener TelephonyCallback.DisplayInfoListener TelephonyCallback.EmergencyNumberListListener TelephonyCallback.ImsCallDisconnectCauseListener TelephonyCallback.MessageWaitingIndicatorListener TelephonyCallback.PhysicalChannelConfigListener TelephonyCallback.PreciseDataConnectionStateListener TelephonyCallback.RegistrationFailedListener TelephonyCallback.ServiceStateListener TelephonyCallback.SignalStrengthsListener TelephonyCallback.UserMobileDataStateListener Classes AccessNetworkConstants AccessNetworkConstants.AccessNetworkType AccessNetworkConstants.EutranBand AccessNetworkConstants.GeranBand AccessNetworkConstants.NgranBands AccessNetworkConstants.UtranBand AvailableNetworkInfo AvailableNetworkInfo.Builder BarringInfo BarringInfo.BarringServiceInfo CarrierConfigManager CarrierConfigManager.Apn CarrierConfigManager.Bsf CarrierConfigManager.Gps CarrierConfigManager.Ims CarrierConfigManager.ImsEmergency CarrierConfigManager.ImsRtt CarrierConfigManager.ImsServiceEntitlement CarrierConfigManager.ImsSms CarrierConfigManager.ImsSs CarrierConfigManager.ImsVoice CarrierConfigManager.ImsVt CarrierConfigManager.ImsWfc CarrierConfigManager.Iwlan CellIdentity CellIdentityCdma CellIdentityGsm CellIdentityLte CellIdentityNr CellIdentityTdscdma CellIdentityWcdma CellInfo CellInfoCdma CellInfoGsm CellInfoLte CellInfoNr CellInfoTdscdma CellInfoWcdma CellLocation CellSignalStrength CellSignalStrengthCdma CellSignalStrengthGsm CellSignalStrengthLte CellSignalStrengthNr CellSignalStrengthTdscdma CellSignalStrengthWcdma ClosedSubscriberGroupInfo DataFailCause DisconnectCause IccOpenLogicalChannelResponse MbmsDownloadSession MbmsGroupCallSession MbmsStreamingSession NeighboringCellInfo NetworkRegistrationInfo NetworkScan NetworkScanRequest ParsedPhoneNumber PhoneNumberFormattingTextWatcher PhoneNumberManager PhoneNumberUtils PhoneStateListener PhysicalChannelConfig PreciseDataConnectionState RadioAccessSpecifier ServiceState SignalStrength SignalStrengthUpdateRequest SignalStrengthUpdateRequest.Builder SignalThresholdInfo SignalThresholdInfo.Builder SmsManager SmsManager.FinancialSmsCallback SmsMessage SmsMessage.SubmitPdu SubscriptionInfo SubscriptionManager SubscriptionManager.OnOpportunisticSubscriptionsChangedListener SubscriptionManager.OnSubscriptionsChangedListener SubscriptionPlan SubscriptionPlan.Builder TelephonyCallback TelephonyDisplayInfo TelephonyManager TelephonyManager.CellInfoCallback TelephonyManager.UssdResponseCallback TelephonyScanManager TelephonyScanManager.NetworkScanCallback UiccCardInfo UiccPortInfo VisualVoicemailService VisualVoicemailService.VisualVoicemailTask VisualVoicemailSms VisualVoicemailSmsFilterSettings VisualVoicemailSmsFilterSettings.Builder Enums SmsMessage.MessageClass Exceptions TelephonyManager.CallComposerException TelephonyManager.ModemErrorException TelephonyManager.NetworkSlicingException TelephonyManager.TimeoutException android.telephony.cdma Overview Classes CdmaCellLocation android.telephony.data Overview Classes ApnSetting ApnSetting.Builder NetworkSliceInfo NetworkSliceInfo.Builder NetworkSlicingConfig RouteSelectionDescriptor TrafficDescriptor TrafficDescriptor.Builder UrspRule android.telephony.emergency Overview Classes EmergencyNumber android.telephony.euicc Overview Classes DownloadableSubscription DownloadableSubscription.Builder EuiccInfo EuiccManager android.telephony.gsm Overview Classes GsmCellLocation SmsManager SmsMessage SmsMessage.SubmitPdu Enums SmsMessage.MessageClass android.telephony.ims Overview Interfaces RegistrationManager Classes ImsManager ImsMmTelManager ImsMmTelManager.CapabilityCallback ImsRcsManager ImsReasonInfo ImsRegistrationAttributes ImsStateCallback ProvisioningManager ProvisioningManager.FeatureProvisioningCallback RcsUceAdapter RegistrationManager.RegistrationCallback SipDetails Exceptions ImsException android.telephony.ims.feature Overview Classes MmTelFeature MmTelFeature.MmTelCapabilities android.telephony.ims.stub Overview Classes ImsRegistrationImplBase android.telephony.mbms Overview Interfaces GroupCallCallback MbmsGroupCallSessionCallback Classes DownloadProgressListener DownloadRequest DownloadRequest.Builder DownloadStatusListener FileInfo FileServiceInfo GroupCall MbmsDownloadReceiver MbmsDownloadSessionCallback MbmsErrors MbmsErrors.DownloadErrors MbmsErrors.GeneralErrors MbmsErrors.GroupCallErrors MbmsErrors.InitializationErrors MbmsErrors.StreamingErrors MbmsStreamingSessionCallback ServiceInfo StreamingService StreamingServiceCallback StreamingServiceInfo android.telephony.satellite Overview Interfaces SatelliteStateChangeListener Classes NtnSignalStrength SatelliteManager android.test Overview Annotations FlakyTest RepetitiveTest UiThreadTest Interfaces PerformanceTestCase PerformanceTestCase.Intermediates TestSuiteProvider Classes ActivityInstrumentationTestCase ActivityInstrumentationTestCase2 ActivityTestCase ActivityUnitTestCase AndroidTestCase AndroidTestRunner ApplicationTestCase InstrumentationTestCase InstrumentationTestRunner InstrumentationTestSuite IsolatedContext LaunchPerformanceBase LoaderTestCase MoreAsserts ProviderTestCase ProviderTestCase2 RenamingDelegatingContext ServiceTestCase SingleLaunchActivityTestCase SyncBaseInstrumentation TouchUtils ViewAsserts Errors AssertionFailedError ComparisonFailure android.test.mock Overview Classes MockAccountManager MockApplication MockContentProvider MockContentResolver MockContext MockCursor MockDialogInterface MockPackageManager MockResources MockService android.test.suitebuilder Overview Classes TestMethod TestSuiteBuilder TestSuiteBuilder.FailedToCreateTests UnitTestSuiteBuilder android.test.suitebuilder.annotation Overview Annotations LargeTest MediumTest SmallTest Smoke Suppress android.text Overview Interfaces Editable GetChars Html.ImageGetter Html.TagHandler InputFilter InputType Layout.TextInclusionStrategy NoCopySpan ParcelableSpan Spannable Spanned SpanWatcher TextDirectionHeuristic TextShaper.GlyphsConsumer TextUtils.EllipsizeCallback TextUtils.StringSplitter TextWatcher Classes AlteredCharSequence AndroidCharacter Annotation AutoText BidiFormatter BidiFormatter.Builder BoringLayout BoringLayout.Metrics ClipboardManager DynamicLayout DynamicLayout.Builder Editable.Factory EmojiConsistency GraphemeClusterSegmentFinder Highlights Highlights.Builder Html InputFilter.AllCaps InputFilter.LengthFilter Layout Layout.Builder Layout.Directions LoginFilter LoginFilter.PasswordFilterGMail LoginFilter.UsernameFilterGeneric LoginFilter.UsernameFilterGMail NoCopySpan.Concrete PrecomputedText PrecomputedText.Params PrecomputedText.Params.Builder SegmentFinder SegmentFinder.PrescribedSegmentFinder Selection ShowSecretsSetting Spannable.Factory SpannableString SpannableStringBuilder SpannedString StaticLayout StaticLayout.Builder TextDirectionHeuristics TextPaint TextShaper TextUtils TextUtils.SimpleStringSplitter WordSegmentFinder Enums Layout.Alignment TextUtils.TruncateAt android.text.format Overview Classes DateFormat DateUtils Formatter Time android.text.method Overview Interfaces KeyListener MovementMethod TransformationMethod Classes ArrowKeyMovementMethod BaseKeyListener BaseMovementMethod CharacterPickerDialog DateKeyListener DateTimeKeyListener DialerKeyListener DigitsKeyListener HideReturnsTransformationMethod LinkMovementMethod MetaKeyKeyListener MultiTapKeyListener NumberKeyListener PasswordTransformationMethod QwertyKeyListener ReplacementTransformationMethod ScrollingMovementMethod SingleLineTransformationMethod TextKeyListener TimeKeyListener Touch Enums TextKeyListener.Capitalize android.text.style Overview Interfaces AlignmentSpan LeadingMarginSpan LeadingMarginSpan.LeadingMarginSpan2 LineBackgroundSpan LineHeightSpan LineHeightSpan.WithDensity ParagraphStyle TabStopSpan UpdateAppearance UpdateLayout WrapTogetherSpan Classes AbsoluteSizeSpan AlignmentSpan.Standard BackgroundColorSpan BulletSpan CharacterStyle ClickableSpan DrawableMarginSpan DynamicDrawableSpan EasyEditSpan ForegroundColorSpan IconMarginSpan ImageSpan LeadingMarginSpan.Standard LineBackgroundSpan.Standard LineBreakConfigSpan LineHeightSpan.Standard LocaleSpan MaskFilterSpan MetricAffectingSpan NoWritingToolsSpan QuoteSpan RelativeSizeSpan ReplacementSpan ScaleXSpan StrikethroughSpan StyleSpan SubscriptSpan SuggestionRangeSpan SuggestionSpan SuperscriptSpan TabStopSpan.Standard TextAppearanceSpan TtsSpan TtsSpan.Builder TtsSpan.CardinalBuilder TtsSpan.DateBuilder TtsSpan.DecimalBuilder TtsSpan.DigitsBuilder TtsSpan.DurationBuilder TtsSpan.ElectronicBuilder TtsSpan.FractionBuilder TtsSpan.MeasureBuilder TtsSpan.MoneyBuilder TtsSpan.OrdinalBuilder TtsSpan.SemioticClassBuilder TtsSpan.TelephoneBuilder TtsSpan.TextBuilder TtsSpan.TimeBuilder TtsSpan.VerbatimBuilder TypefaceSpan UnderlineSpan URLSpan android.text.util Overview Interfaces Linkify.MatchFilter Linkify.TransformFilter Classes Linkify Rfc822Token Rfc822Tokenizer android.transition Overview Interfaces Transition.TransitionListener Classes ArcMotion AutoTransition ChangeBounds ChangeClipBounds ChangeImageTransform ChangeScroll ChangeTransform CircularPropagation Explode Fade PathMotion PatternPathMotion Scene SidePropagation Slide Transition Transition.EpicenterCallback TransitionInflater TransitionListenerAdapter TransitionManager TransitionPropagation TransitionSet TransitionValues Visibility VisibilityPropagation android.util Overview Interfaces AttributeSet Dumpable DumpableContainer Printer Classes ArrayMap ArraySet AtomicFile Base64 Base64InputStream Base64OutputStream CloseGuard Config DebugUtils DisplayMetrics EventLog EventLog.Event EventLogTags EventLogTags.Description FloatMath FloatProperty Half IntProperty JsonReader JsonWriter LayoutDirection Log LogPrinter LongSparseArray LruCache MonthDisplayHelper MutableBoolean MutableByte MutableChar MutableDouble MutableFloat MutableInt MutableLong MutableShort Pair Patterns PrintStreamPrinter PrintWriterPrinter Property Range Rational Size SizeF SparseArray SparseBooleanArray SparseIntArray SparseLongArray StateSet StatsLog StringBuilderPrinter TimeUtils TimingLogger TypedValue Xml Enums JsonToken Xml.Encoding Exceptions AndroidException AndroidRuntimeException Base64DataException MalformedJsonException NoSuchPropertyException TimeFormatException android.util.proto Overview Classes ProtoOutputStream android.view Overview Annotations ViewDebug.CapturedViewProperty ViewDebug.ExportedProperty ViewDebug.FlagToString ViewDebug.IntToString Interfaces ActionMode.Callback ActionProvider.VisibilityListener AttachedSurfaceControl AttachedSurfaceControl.OnBufferTransformHintChangedListener Choreographer.FrameCallback Choreographer.VsyncCallback CollapsibleActionView ContextMenu ContextMenu.ContextMenuInfo GestureDetector.OnContextClickListener GestureDetector.OnDoubleTapListener GestureDetector.OnGestureListener InputQueue.Callback KeyEvent.Callback LayoutInflater.Factory LayoutInflater.Factory2 LayoutInflater.Filter Menu MenuItem MenuItem.OnActionExpandListener MenuItem.OnMenuItemClickListener OnReceiveContentListener PixelCopy.OnPixelCopyFinishedListener ScaleGestureDetector.OnScaleGestureListener ScrollCaptureCallback ScrollFeedbackProvider SubMenu SurfaceControl.OnJankDataListener SurfaceControl.TransactionCommittedListener SurfaceControlInputReceiver SurfaceHolder SurfaceHolder.Callback SurfaceHolder.Callback2 TextureView.SurfaceTextureListener View.CalledFromWrongThreadListener View.OnApplyWindowInsetsListener View.OnAttachStateChangeListener View.OnCapturedPointerListener View.OnClickListener View.OnContextClickListener View.OnCreateContextMenuListener View.OnDragListener View.OnFocusChangeListener View.OnGenericMotionListener View.OnHoverListener View.OnKeyListener View.OnLayoutChangeListener View.OnLongClickListener View.OnScrollChangeListener View.OnSystemUiVisibilityChangeListener View.OnTouchListener View.OnUnhandledKeyEventListener ViewGroup.OnHierarchyChangeListener ViewManager ViewParent ViewStub.OnInflateListener ViewTreeObserver.OnDrawListener ViewTreeObserver.OnGlobalFocusChangeListener ViewTreeObserver.OnGlobalLayoutListener ViewTreeObserver.OnPreDrawListener ViewTreeObserver.OnScrollChangedListener ViewTreeObserver.OnTouchModeChangeListener ViewTreeObserver.OnWindowAttachListener ViewTreeObserver.OnWindowFocusChangeListener ViewTreeObserver.OnWindowVisibilityChangeListener Window.Callback Window.OnFrameMetricsAvailableListener Window.OnRestrictedCaptionAreaChangedListener WindowInsetsAnimationController WindowInsetsAnimationControlListener WindowInsetsController WindowInsetsController.OnControllableInsetsChangedListener WindowManager Classes AbsSavedState ActionMode ActionMode.Callback2 ActionProvider BlurRegion Choreographer Choreographer.FrameData Choreographer.FrameTimeline ContentInfo ContentInfo.Builder ContextThemeWrapper Display Display.HdrCapabilities Display.Mode DisplayCutout DisplayCutout.Builder DisplayShape DragAndDropPermissions DragEvent FocusFinder FrameMetrics FrameRateVelocityPoint FrameStats GestureDetector GestureDetector.SimpleOnGestureListener Gravity HapticFeedbackConstants InputDevice InputDevice.MotionRange InputDevice.ViewBehavior InputEvent InputQueue KeyboardShortcutGroup KeyboardShortcutInfo KeyCharacterMap KeyCharacterMap.KeyData KeyEvent KeyEvent.DispatcherState LayoutInflater MenuInflater MotionEvent MotionEvent.PointerCoords MotionEvent.PointerProperties MotionPredictor OrientationEventListener OrientationListener PixelCopy PixelCopy.Request PixelCopy.Request.Builder PixelCopy.Result PointerIcon RoundedCorner RoundedRectBlurRegion ScaleGestureDetector ScaleGestureDetector.SimpleOnScaleGestureListener ScrollCaptureSession ScrollCaptureTarget SearchEvent SoundEffectConstants Surface SurfaceControl SurfaceControl.Builder SurfaceControl.JankData SurfaceControl.OnJankDataListenerRegistration SurfaceControl.Transaction SurfaceControl.TransactionStats SurfaceControl.TrustedPresentationThresholds SurfaceControlViewHost SurfaceControlViewHost.LayoutParams SurfaceControlViewHost.SurfacePackage SurfaceView TextureView TouchDelegate VelocityTracker VerifiedInputEvent VerifiedKeyEvent VerifiedMotionEvent View View.AccessibilityDelegate View.BaseSavedState View.DragShadowBuilder View.MeasureSpec ViewAnimationUtils ViewConfiguration ViewDebug ViewGroup ViewGroup.LayoutParams ViewGroup.MarginLayoutParams ViewGroupOverlay ViewOutlineProvider ViewOverlay ViewPropertyAnimator ViewStructure ViewStructure.HtmlInfo ViewStructure.HtmlInfo.Builder ViewStub ViewTreeObserver Window WindowAnimationFrameStats WindowContentFrameStats WindowId WindowId.FocusObserver WindowInsets WindowInsets.Builder WindowInsets.Side WindowInsets.Type WindowInsetsAnimation WindowInsetsAnimation.Bounds WindowInsetsAnimation.Callback WindowManager.LayoutParams WindowMetrics Enums ViewDebug.HierarchyTraceType ViewDebug.RecyclerTraceType Exceptions InflateException KeyCharacterMap.UnavailableException Surface.OutOfResourcesException SurfaceHolder.BadSurfaceTypeException WindowManager.BadTokenException WindowManager.InvalidDisplayException android.view.accessibility Overview Interfaces AccessibilityEventSource AccessibilityManager.AccessibilityServicesStateChangeListener AccessibilityManager.AccessibilityStateChangeListener AccessibilityManager.AudioDescriptionRequestedChangeListener AccessibilityManager.HighContrastTextStateChangeListener AccessibilityManager.TouchExplorationStateChangeListener Classes AccessibilityEvent AccessibilityManager AccessibilityNodeInfo AccessibilityNodeInfo.AccessibilityAction AccessibilityNodeInfo.CollectionInfo AccessibilityNodeInfo.CollectionInfo.Builder AccessibilityNodeInfo.CollectionItemInfo AccessibilityNodeInfo.CollectionItemInfo.Builder AccessibilityNodeInfo.ExtraRenderingInfo AccessibilityNodeInfo.ExtraRenderingInfo.Builder AccessibilityNodeInfo.MathInfo AccessibilityNodeInfo.RangeInfo AccessibilityNodeInfo.Selection AccessibilityNodeInfo.SelectionPosition AccessibilityNodeInfo.StructuredDataInfo AccessibilityNodeInfo.TouchDelegateInfo AccessibilityNodeProvider AccessibilityRecord AccessibilityRequestPreparer AccessibilityWindowInfo CaptioningManager CaptioningManager.CaptioningChangeListener CaptioningManager.CaptionStyle android.view.animation Overview Interfaces Animation.AnimationListener Interpolator Classes AccelerateDecelerateInterpolator AccelerateInterpolator AlphaAnimation Animation Animation.Description AnimationSet AnimationUtils AnticipateInterpolator AnticipateOvershootInterpolator BaseInterpolator BounceInterpolator CycleInterpolator DecelerateInterpolator GridLayoutAnimationController GridLayoutAnimationController.AnimationParameters LayoutAnimationController LayoutAnimationController.AnimationParameters LinearInterpolator OvershootInterpolator PathInterpolator RotateAnimation ScaleAnimation Transformation TranslateAnimation android.view.autofill Overview Classes AutofillId AutofillManager AutofillManager.AutofillCallback AutofillNoiseInjectedData AutofillValue VirtualViewFillInfo VirtualViewFillInfo.Builder android.view.contentcapture Overview Interfaces DataShareWriteAdapter Classes ContentCaptureCondition ContentCaptureContext ContentCaptureContext.Builder ContentCaptureManager ContentCaptureSession ContentCaptureSessionId DataRemovalRequest DataRemovalRequest.Builder DataRemovalRequest.LocusIdRequest DataShareRequest android.view.displayhash Overview Interfaces DisplayHashResultCallback Classes DisplayHash DisplayHashManager VerifiedDisplayHash android.view.inputmethod Overview Interfaces ConnectionlessHandwritingCallback InputConnection InputMethod InputMethod.SessionCallback InputMethodSession InputMethodSession.EventCallback Classes BaseInputConnection CompletionInfo CorrectionInfo CursorAnchorInfo CursorAnchorInfo.Builder DeleteGesture DeleteGesture.Builder DeleteRangeGesture DeleteRangeGesture.Builder EditorBoundsInfo EditorBoundsInfo.Builder EditorInfo ExtractedText ExtractedTextRequest HandwritingGesture InlineSuggestion InlineSuggestionInfo InlineSuggestionsRequest InlineSuggestionsRequest.Builder InlineSuggestionsResponse InputBinding InputConnectionWrapper InputContentInfo InputMethodInfo InputMethodManager InputMethodSubtype InputMethodSubtype.InputMethodSubtypeBuilder InsertGesture InsertGesture.Builder InsertModeGesture InsertModeGesture.Builder JoinOrSplitGesture JoinOrSplitGesture.Builder PreviewableHandwritingGesture RemoveSpaceGesture RemoveSpaceGesture.Builder SelectGesture SelectGesture.Builder SelectRangeGesture SelectRangeGesture.Builder SurroundingText TextAppearanceInfo TextAppearanceInfo.Builder TextAttribute TextAttribute.Builder TextBoundsInfo TextBoundsInfo.Builder TextBoundsInfoResult TextSnapshot android.view.inspector Overview Interfaces InspectionCompanion InspectionCompanionProvider PropertyMapper PropertyReader Classes IntFlagMapping StaticInspectionCompanionProvider WindowInspector Exceptions InspectionCompanion.UninitializedPropertyMapException PropertyMapper.PropertyConflictException PropertyReader.PropertyTypeMismatchException android.view.textclassifier Overview Interfaces TextClassificationSessionFactory TextClassifier Classes ConversationAction ConversationAction.Builder ConversationActions ConversationActions.Message ConversationActions.Message.Builder ConversationActions.Request ConversationActions.Request.Builder SelectionEvent TextClassification TextClassification.Builder TextClassification.Request TextClassification.Request.Builder TextClassificationContext TextClassificationContext.Builder TextClassificationManager TextClassificationSessionId TextClassifier.EntityConfig TextClassifier.EntityConfig.Builder TextClassifierEvent TextClassifierEvent.Builder TextClassifierEvent.ConversationActionsEvent TextClassifierEvent.ConversationActionsEvent.Builder TextClassifierEvent.LanguageDetectionEvent TextClassifierEvent.LanguageDetectionEvent.Builder TextClassifierEvent.TextLinkifyEvent TextClassifierEvent.TextLinkifyEvent.Builder TextClassifierEvent.TextSelectionEvent TextClassifierEvent.TextSelectionEvent.Builder TextLanguage TextLanguage.Builder TextLanguage.Request TextLanguage.Request.Builder TextLinks TextLinks.Builder TextLinks.Request TextLinks.Request.Builder TextLinks.TextLink TextLinks.TextLinkSpan TextSelection TextSelection.Builder TextSelection.Request TextSelection.Request.Builder android.view.textservice Overview Interfaces SpellCheckerSession.SpellCheckerSessionListener Classes SentenceSuggestionsInfo SpellCheckerInfo SpellCheckerSession SpellCheckerSession.SpellCheckerSessionParams SpellCheckerSession.SpellCheckerSessionParams.Builder SpellCheckerSubtype SuggestionsInfo TextInfo TextServicesManager android.view.translation Overview Interfaces UiTranslationStateCallback ViewTranslationCallback Classes TranslationCapability TranslationContext TranslationContext.Builder TranslationManager TranslationRequest TranslationRequest.Builder TranslationRequestValue TranslationResponse TranslationResponse.Builder TranslationResponseValue TranslationResponseValue.Builder TranslationSpec Translator UiTranslationManager ViewTranslationRequest ViewTranslationRequest.Builder ViewTranslationResponse ViewTranslationResponse.Builder android.webkit Overview Annotations JavascriptInterface Interfaces DownloadListener GeolocationPermissions.Callback PluginStub ValueCallback WebChromeClient.CustomViewCallback WebIconDatabase.IconListener WebResourceRequest WebStorage.QuotaUpdater WebView.FindListener WebView.PictureListener Classes ClientCertRequest ConsoleMessage CookieManager CookieSyncManager DateSorter GeolocationPermissions HttpAuthHandler JsPromptResult JsResult MimeTypeMap PermissionRequest RenderProcessGoneDetail SafeBrowsingResponse ServiceWorkerClient ServiceWorkerController ServiceWorkerWebSettings SslErrorHandler TracingConfig TracingConfig.Builder TracingController URLUtil WebBackForwardList WebChromeClient WebChromeClient.FileChooserParams WebHistoryItem WebIconDatabase WebMessage WebMessagePort WebMessagePort.WebMessageCallback WebResourceError WebResourceResponse WebSettings WebStorage WebStorage.Origin WebView WebView.HitTestResult WebView.VisualStateCallback WebView.WebViewTransport WebViewClient WebViewDatabase WebViewFragment WebViewRenderProcess WebViewRenderProcessClient Enums ConsoleMessage.MessageLevel WebSettings.LayoutAlgorithm WebSettings.PluginState WebSettings.RenderPriority WebSettings.TextSize WebSettings.ZoomDensity android.widget Overview Annotations RemoteViews.RemoteView Interfaces AbsListView.MultiChoiceModeListener AbsListView.OnScrollListener AbsListView.RecyclerListener AbsListView.SelectionBoundsAdjuster ActionMenuView.OnMenuItemClickListener Adapter AdapterView.OnItemClickListener AdapterView.OnItemLongClickListener AdapterView.OnItemSelectedListener Advanceable AutoCompleteTextView.OnDismissListener AutoCompleteTextView.Validator CalendarView.OnDateChangeListener Checkable Chronometer.OnChronometerTickListener CompoundButton.OnCheckedChangeListener DatePicker.OnDateChangedListener ExpandableListAdapter ExpandableListView.OnChildClickListener ExpandableListView.OnGroupClickListener ExpandableListView.OnGroupCollapseListener ExpandableListView.OnGroupExpandListener Filter.FilterListener Filterable FilterQueryProvider HeterogeneousExpandableList ListAdapter MediaController.MediaPlayerControl MultiAutoCompleteTextView.Tokenizer NumberPicker.Formatter NumberPicker.OnScrollListener NumberPicker.OnValueChangeListener PopupMenu.OnDismissListener PopupMenu.OnMenuItemClickListener PopupWindow.OnDismissListener RadioGroup.OnCheckedChangeListener RatingBar.OnRatingBarChangeListener RemoteViewsService.RemoteViewsFactory SearchView.OnCloseListener SearchView.OnQueryTextListener SearchView.OnSuggestionListener SectionIndexer SeekBar.OnSeekBarChangeListener ShareActionProvider.OnShareTargetSelectedListener SimpleAdapter.ViewBinder SimpleCursorAdapter.CursorToStringConverter SimpleCursorAdapter.ViewBinder SimpleCursorTreeAdapter.ViewBinder SlidingDrawer.OnDrawerCloseListener SlidingDrawer.OnDrawerOpenListener SlidingDrawer.OnDrawerScrollListener SpinnerAdapter TabHost.OnTabChangeListener TabHost.TabContentFactory TextView.OnEditorActionListener ThemedSpinnerAdapter TimePicker.OnTimeChangedListener Toolbar.OnMenuItemClickListener ViewSwitcher.ViewFactory WrapperListAdapter ZoomButtonsController.OnZoomListener Classes AbsListView AbsListView.LayoutParams AbsoluteLayout AbsoluteLayout.LayoutParams AbsSeekBar AbsSpinner ActionMenuView ActionMenuView.LayoutParams AdapterView AdapterView.AdapterContextMenuInfo AdapterViewAnimator AdapterViewFlipper AlphabetIndexer AnalogClock ArrayAdapter AutoCompleteTextView BaseAdapter BaseExpandableListAdapter Button CalendarView CheckBox CheckedTextView Chronometer CompoundButton CursorAdapter CursorTreeAdapter DatePicker DialerFilter DigitalClock EdgeEffect EditText ExpandableListView ExpandableListView.ExpandableListContextMenuInfo Filter Filter.FilterResults FrameLayout FrameLayout.LayoutParams Gallery Gallery.LayoutParams GridLayout GridLayout.Alignment GridLayout.LayoutParams GridLayout.Spec GridView HeaderViewListAdapter HorizontalScrollView ImageButton ImageSwitcher ImageView LinearLayout LinearLayout.LayoutParams ListPopupWindow ListView ListView.FixedViewInfo Magnifier Magnifier.Builder MediaController MultiAutoCompleteTextView MultiAutoCompleteTextView.CommaTokenizer NumberPicker OverScroller PopupMenu PopupWindow ProgressBar QuickContactBadge RadioButton RadioGroup RadioGroup.LayoutParams RatingBar RelativeLayout RelativeLayout.LayoutParams RemoteViews RemoteViews.DrawInstructions RemoteViews.DrawInstructions.Builder RemoteViews.RemoteCollectionItems RemoteViews.RemoteCollectionItems.Builder RemoteViews.RemoteResponse RemoteViews.RemoteViewOutlineProvider RemoteViewsService ResourceCursorAdapter ResourceCursorTreeAdapter Scroller ScrollView SearchView SeekBar ShareActionProvider SimpleAdapter SimpleCursorAdapter SimpleCursorTreeAdapter SimpleExpandableListAdapter SlidingDrawer Space Spinner StackView Switch TabHost TabHost.TabSpec TableLayout TableLayout.LayoutParams TableRow TableRow.LayoutParams TabWidget TextClock TextSwitcher TextView TextView.SavedState TimePicker Toast Toast.Callback ToggleButton Toolbar Toolbar.LayoutParams TwoLineListItem VideoView ViewAnimator ViewFlipper ViewSwitcher ZoomButton ZoomButtonsController ZoomControls Enums ImageView.ScaleType TextView.BufferType Exceptions RemoteViews.ActionException android.widget.inline Overview Interfaces InlineContentView.SurfaceControlCallback Classes InlineContentView InlinePresentationSpec InlinePresentationSpec.Builder android.widget.photopicker Overview Interfaces EmbeddedPhotoPickerClient EmbeddedPhotoPickerProvider EmbeddedPhotoPickerSession Classes EmbeddedPhotoPickerFeatureInfo EmbeddedPhotoPickerFeatureInfo.Builder EmbeddedPhotoPickerProviderFactory PhotoPickerSelectionParams PhotoPickerSelectionParams.Builder PhotoPickerUiCustomizationParams PhotoPickerUiCustomizationParams.Builder android.window Overview Interfaces OnBackAnimationCallback OnBackInvokedCallback OnBackInvokedDispatcher SplashScreen SplashScreen.OnExitAnimationListener Classes BackEvent InputTransferToken SplashScreenView SurfaceSyncGroup SystemOnBackInvokedCallbacks TrustedPresentationThresholds dalvik.annotation Overview Annotations TestTarget TestTargetClass dalvik.annotation.optimization Overview Annotations CriticalNative FastNative dalvik.bytecode Overview Interfaces Opcodes Classes OpcodeInfo dalvik.system Overview Interfaces ZipPathValidator.Callback Classes ApplicationRuntime BaseDexClassLoader DelegateLastClassLoader DexClassLoader DexFile DexFile.OptimizationInfo InMemoryDexClassLoader PathClassLoader ZipPathValidator java.awt.font Overview Classes NumericShaper TextAttribute Enums NumericShaper.Range java.beans Overview Interfaces PropertyChangeListener Classes IndexedPropertyChangeEvent PropertyChangeEvent PropertyChangeListenerProxy PropertyChangeSupport java.io Overview Annotations Serial Interfaces Closeable DataInput DataOutput Externalizable FileFilter FilenameFilter Flushable ObjectInput ObjectInputValidation ObjectOutput ObjectStreamConstants Serializable Classes BufferedInputStream BufferedOutputStream BufferedReader BufferedWriter ByteArrayInputStream ByteArrayOutputStream CharArrayReader CharArrayWriter Console DataInputStream DataOutputStream File FileDescriptor FileInputStream FileOutputStream FilePermission FileReader FileWriter FilterInputStream FilterOutputStream FilterReader FilterWriter InputStream InputStreamReader LineNumberInputStream LineNumberReader ObjectInputStream ObjectInputStream.GetField ObjectOutputStream ObjectOutputStream.PutField ObjectStreamClass ObjectStreamField OutputStream OutputStreamWriter PipedInputStream PipedOutputStream PipedReader PipedWriter PrintStream PrintWriter PushbackInputStream PushbackReader RandomAccessFile Reader SequenceInputStream SerializablePermission StreamTokenizer StringBufferInputStream StringReader StringWriter Writer Exceptions CharConversionException EOFException FileNotFoundException InterruptedIOException InvalidClassException InvalidObjectException IOException NotActiveException NotSerializableException ObjectStreamException OptionalDataException StreamCorruptedException SyncFailedException UncheckedIOException UnsupportedEncodingException UTFDataFormatException WriteAbortedException Errors IOError java.lang Overview Annotations Deprecated FunctionalInterface Override SafeVarargs SuppressWarnings Interfaces Appendable AutoCloseable CharSequence Cloneable Comparable Iterable Readable Runnable StackWalker.StackFrame Thread.UncaughtExceptionHandler Classes Boolean Byte Character Character.Subset Character.UnicodeBlock Class ClassLoader ClassValue Compiler Double Enum Float InheritableThreadLocal Integer Long Math Number Object Package Process ProcessBuilder ProcessBuilder.Redirect Record Runtime RuntimePermission SecurityManager Short StackTraceElement StackWalker StrictMath String StringBuffer StringBuilder System Thread ThreadGroup ThreadLocal Throwable Void Enums Character.UnicodeScript ProcessBuilder.Redirect.Type StackWalker.Option Thread.State Exceptions ArithmeticException ArrayIndexOutOfBoundsException ArrayStoreException ClassCastException ClassNotFoundException CloneNotSupportedException EnumConstantNotPresentException Exception IllegalAccessException IllegalArgumentException IllegalCallerException IllegalMonitorStateException IllegalStateException IllegalThreadStateException IndexOutOfBoundsException InstantiationException InterruptedException MatchException NegativeArraySizeException NoSuchFieldException NoSuchMethodException NullPointerException NumberFormatException ReflectiveOperationException RuntimeException SecurityException StringIndexOutOfBoundsException TypeNotPresentException UnsupportedOperationException WrongThreadException Errors AbstractMethodError AssertionError BootstrapMethodError ClassCircularityError ClassFormatError Error ExceptionInInitializerError IllegalAccessError IncompatibleClassChangeError InstantiationError InternalError LinkageError NoClassDefFoundError NoSuchFieldError NoSuchMethodError OutOfMemoryError StackOverflowError ThreadDeath UnknownError UnsatisfiedLinkError UnsupportedClassVersionError VerifyError VirtualMachineError java.lang.annotation Overview Annotations Documented Inherited Native Repeatable Retention Target Interfaces Annotation Enums ElementType RetentionPolicy Exceptions AnnotationTypeMismatchException IncompleteAnnotationException Errors AnnotationFormatError java.lang.invoke Overview Interfaces MethodHandleInfo TypeDescriptor TypeDescriptor.OfField TypeDescriptor.OfMethod Classes CallSite ConstantCallSite MethodHandle MethodHandles MethodHandles.Lookup MethodType MutableCallSite VarHandle VolatileCallSite Enums VarHandle.AccessMode Exceptions LambdaConversionException StringConcatException WrongMethodTypeException java.lang.ref Overview Interfaces Cleaner.Cleanable Classes Cleaner PhantomReference Reference ReferenceQueue SoftReference WeakReference java.lang.reflect Overview Interfaces AnnotatedElement GenericArrayType GenericDeclaration InvocationHandler Member ParameterizedType Type TypeVariable WildcardType Classes AccessibleObject Array Constructor Executable Field Method Modifier Parameter Proxy RecordComponent ReflectPermission Exceptions InvocationTargetException MalformedParameterizedTypeException MalformedParametersException UndeclaredThrowableException Errors GenericSignatureFormatError java.lang.runtime Overview Classes ObjectMethods SwitchBootstraps java.math Overview Classes BigDecimal BigInteger MathContext Enums RoundingMode java.net Overview Interfaces ContentHandlerFactory CookiePolicy CookieStore DatagramSocketImplFactory FileNameMap ProtocolFamily SocketImplFactory SocketOption SocketOptions URLStreamHandlerFactory Classes Authenticator CacheRequest CacheResponse ContentHandler CookieHandler CookieManager DatagramPacket DatagramSocket DatagramSocketImpl HttpCookie HttpURLConnection IDN Inet4Address Inet6Address InetAddress InetSocketAddress InterfaceAddress JarURLConnection MulticastSocket NetPermission NetworkInterface PasswordAuthentication Proxy ProxySelector ResponseCache SecureCacheResponse ServerSocket Socket SocketAddress SocketImpl SocketPermission StandardSocketOptions URI URL URLClassLoader URLConnection URLDecoder URLEncoder URLStreamHandler Enums Authenticator.RequestorType Proxy.Type StandardProtocolFamily Exceptions BindException ConnectException HttpRetryException MalformedURLException NoRouteToHostException PortUnreachableException ProtocolException SocketException SocketTimeoutException UnknownHostException UnknownServiceException URISyntaxException java.nio Overview Classes Buffer ByteBuffer ByteOrder CharBuffer DoubleBuffer FloatBuffer IntBuffer LongBuffer MappedByteBuffer ShortBuffer Exceptions BufferOverflowException BufferUnderflowException InvalidMarkException ReadOnlyBufferException java.nio.channels Overview Interfaces AsynchronousByteChannel AsynchronousChannel ByteChannel Channel CompletionHandler GatheringByteChannel InterruptibleChannel MulticastChannel NetworkChannel ReadableByteChannel ScatteringByteChannel SeekableByteChannel WritableByteChannel Classes AsynchronousChannelGroup AsynchronousFileChannel AsynchronousServerSocketChannel AsynchronousSocketChannel Channels DatagramChannel FileChannel FileChannel.MapMode FileLock MembershipKey Pipe Pipe.SinkChannel Pipe.SourceChannel SelectableChannel SelectionKey Selector ServerSocketChannel SocketChannel Exceptions AcceptPendingException AlreadyBoundException AlreadyConnectedException AsynchronousCloseException CancelledKeyException ClosedByInterruptException ClosedChannelException ClosedSelectorException ConnectionPendingException FileLockInterruptionException IllegalBlockingModeException IllegalChannelGroupException IllegalSelectorException InterruptedByTimeoutException NoConnectionPendingException NonReadableChannelException NonWritableChannelException NotYetBoundException NotYetConnectedException OverlappingFileLockException ReadPendingException ShutdownChannelGroupException UnresolvedAddressException UnsupportedAddressTypeException WritePendingException java.nio.channels.spi Overview Classes AbstractInterruptibleChannel AbstractSelectableChannel AbstractSelectionKey AbstractSelector AsynchronousChannelProvider SelectorProvider java.nio.charset Overview Classes Charset CharsetDecoder CharsetEncoder CoderResult CodingErrorAction StandardCharsets Exceptions CharacterCodingException IllegalCharsetNameException MalformedInputException UnmappableCharacterException UnsupportedCharsetException Errors CoderMalfunctionError java.nio.charset.spi Overview Classes CharsetProvider java.nio.file Overview Interfaces CopyOption DirectoryStream DirectoryStream.Filter FileVisitor OpenOption Path PathMatcher SecureDirectoryStream Watchable WatchEvent WatchEvent.Kind WatchEvent.Modifier WatchKey WatchService Classes Files FileStore FileSystem FileSystems LinkPermission Paths SimpleFileVisitor StandardWatchEventKinds Enums AccessMode FileVisitOption FileVisitResult LinkOption StandardCopyOption StandardOpenOption Exceptions AccessDeniedException AtomicMoveNotSupportedException ClosedDirectoryStreamException ClosedFileSystemException ClosedWatchServiceException DirectoryIteratorException DirectoryNotEmptyException FileAlreadyExistsException FileSystemAlreadyExistsException FileSystemException FileSystemLoopException FileSystemNotFoundException InvalidPathException NoSuchFileException NotDirectoryException NotLinkException ProviderMismatchException ProviderNotFoundException ReadOnlyFileSystemException java.nio.file.attribute Overview Interfaces AclFileAttributeView AttributeView BasicFileAttributes BasicFileAttributeView DosFileAttributes DosFileAttributeView FileAttribute FileAttributeView FileOwnerAttributeView FileStoreAttributeView GroupPrincipal PosixFileAttributes PosixFileAttributeView UserDefinedFileAttributeView UserPrincipal Classes AclEntry AclEntry.Builder FileTime PosixFilePermissions UserPrincipalLookupService Enums AclEntryFlag AclEntryPermission AclEntryType PosixFilePermission Exceptions UserPrincipalNotFoundException java.nio.file.spi Overview Classes FileSystemProvider FileTypeDetector java.security Overview Interfaces AlgorithmConstraints Certificate DomainCombiner Guard Key KeyStore.Entry KeyStore.Entry.Attribute KeyStore.LoadStoreParameter KeyStore.ProtectionParameter Policy.Parameters Principal PrivateKey PrivilegedAction PrivilegedExceptionAction PublicKey SecureRandomParameters Classes AccessControlContext AccessController AlgorithmParameterGenerator AlgorithmParameterGeneratorSpi AlgorithmParameters AlgorithmParametersSpi AllPermission AuthProvider BasicPermission CodeSigner CodeSource DigestInputStream DigestOutputStream DomainLoadStoreParameter DrbgParameters DrbgParameters.Instantiation DrbgParameters.NextBytes DrbgParameters.Reseed GuardedObject Identity IdentityScope KeyFactory KeyFactorySpi KeyPair KeyPairGenerator KeyPairGeneratorSpi KeyRep KeyStore KeyStore.Builder KeyStore.CallbackHandlerProtection KeyStore.PasswordProtection KeyStore.PrivateKeyEntry KeyStore.SecretKeyEntry KeyStore.TrustedCertificateEntry KeyStoreSpi MessageDigest MessageDigestSpi Permission PermissionCollection Permissions PKCS12Attribute Policy PolicySpi ProtectionDomain Provider Provider.Service SecureClassLoader SecureRandom SecureRandomSpi Security SecurityPermission Signature SignatureSpi SignedObject Signer Timestamp UnresolvedPermission Enums CryptoPrimitive DrbgParameters.Capability KeyRep.Type Exceptions AccessControlException DigestException GeneralSecurityException InvalidAlgorithmParameterException InvalidKeyException InvalidParameterException KeyException KeyManagementException KeyStoreException NoSuchAlgorithmException NoSuchProviderException PrivilegedActionException ProviderException SignatureException UnrecoverableEntryException UnrecoverableKeyException java.security.acl Overview Interfaces Acl AclEntry Group Owner Permission Exceptions AclNotFoundException LastOwnerException NotOwnerException java.security.cert Overview Interfaces CertPathBuilderResult CertPathChecker CertPathParameters CertPathValidatorException.Reason CertPathValidatorResult CertSelector CertStoreParameters CRLSelector Extension PolicyNode X509Extension Classes Certificate Certificate.CertificateRep CertificateFactory CertificateFactorySpi CertPath CertPath.CertPathRep CertPathBuilder CertPathBuilderSpi CertPathValidator CertPathValidatorSpi CertStore CertStoreSpi CollectionCertStoreParameters CRL LDAPCertStoreParameters PKIXBuilderParameters PKIXCertPathBuilderResult PKIXCertPathChecker PKIXCertPathValidatorResult PKIXParameters PKIXRevocationChecker PolicyQualifierInfo TrustAnchor URICertStoreParameters X509Certificate X509CertSelector X509CRL X509CRLEntry X509CRLSelector Enums CertPathValidatorException.BasicReason CRLReason PKIXReason PKIXRevocationChecker.Option Exceptions CertificateEncodingException CertificateException CertificateExpiredException CertificateNotYetValidException CertificateParsingException CertificateRevokedException CertPathBuilderException CertPathValidatorException CertStoreException CRLException java.security.interfaces Overview Interfaces DSAKey DSAKeyPairGenerator DSAParams DSAPrivateKey DSAPublicKey ECKey ECPrivateKey ECPublicKey EdECKey EdECPrivateKey EdECPublicKey RSAKey RSAMultiPrimePrivateCrtKey RSAPrivateCrtKey RSAPrivateKey RSAPublicKey XECKey XECPrivateKey XECPublicKey java.security.spec Overview Interfaces AlgorithmParameterSpec ECField KeySpec Classes DSAGenParameterSpec DSAParameterSpec DSAPrivateKeySpec DSAPublicKeySpec ECFieldF2m ECFieldFp ECGenParameterSpec ECParameterSpec ECPoint ECPrivateKeySpec ECPublicKeySpec EdDSAParameterSpec EdECPoint EdECPrivateKeySpec EdECPublicKeySpec EllipticCurve EncodedKeySpec MGF1ParameterSpec NamedParameterSpec PKCS8EncodedKeySpec PSSParameterSpec RSAKeyGenParameterSpec RSAMultiPrimePrivateCrtKeySpec RSAOtherPrimeInfo RSAPrivateCrtKeySpec RSAPrivateKeySpec RSAPublicKeySpec X509EncodedKeySpec XECPrivateKeySpec XECPublicKeySpec Exceptions InvalidKeySpecException InvalidParameterSpecException java.sql Overview Interfaces Array Blob CallableStatement Clob Connection DatabaseMetaData Driver NClob ParameterMetaData PreparedStatement Ref ResultSet ResultSetMetaData RowId Savepoint SQLData SQLInput SQLOutput SQLXML Statement Struct Wrapper Classes Date DriverManager DriverPropertyInfo SQLPermission Time Timestamp Types Enums ClientInfoStatus RowIdLifetime Exceptions BatchUpdateException DataTruncation SQLClientInfoException SQLDataException SQLException SQLFeatureNotSupportedException SQLIntegrityConstraintViolationException SQLInvalidAuthorizationSpecException SQLNonTransientConnectionException SQLNonTransientException SQLRecoverableException SQLSyntaxErrorException SQLTimeoutException SQLTransactionRollbackException SQLTransientConnectionException SQLTransientException SQLWarning java.text Overview Interfaces AttributedCharacterIterator CharacterIterator Classes Annotation AttributedCharacterIterator.Attribute AttributedString Bidi BreakIterator ChoiceFormat CollationElementIterator CollationKey Collator DateFormat DateFormat.Field DateFormatSymbols DecimalFormat DecimalFormatSymbols FieldPosition Format Format.Field MessageFormat MessageFormat.Field Normalizer NumberFormat NumberFormat.Field ParsePosition RuleBasedCollator SimpleDateFormat StringCharacterIterator Enums Normalizer.Form Exceptions ParseException java.time Overview Interfaces InstantSource Classes Clock Duration Instant LocalDate LocalDateTime LocalTime MonthDay OffsetDateTime OffsetTime Period Year YearMonth ZonedDateTime ZoneId ZoneOffset Enums DayOfWeek Month Exceptions DateTimeException java.time.chrono Overview Interfaces ChronoLocalDate ChronoLocalDateTime Chronology ChronoPeriod ChronoZonedDateTime Era Classes AbstractChronology HijrahChronology HijrahDate IsoChronology JapaneseChronology JapaneseDate JapaneseEra MinguoChronology MinguoDate ThaiBuddhistChronology ThaiBuddhistDate Enums HijrahEra IsoEra MinguoEra ThaiBuddhistEra java.time.format Overview Classes DateTimeFormatter DateTimeFormatterBuilder DecimalStyle Enums FormatStyle ResolverStyle SignStyle TextStyle Exceptions DateTimeParseException java.time.temporal Overview Interfaces Temporal TemporalAccessor TemporalAdjuster TemporalAmount TemporalField TemporalQuery TemporalUnit Classes IsoFields JulianFields TemporalAdjusters TemporalQueries ValueRange WeekFields Enums ChronoField ChronoUnit Exceptions UnsupportedTemporalTypeException java.time.zone Overview Classes ZoneOffsetTransition ZoneOffsetTransitionRule ZoneRules Enums ZoneOffsetTransitionRule.TimeDefinition Exceptions ZoneRulesException java.util Overview Interfaces Collection Comparator Deque Enumeration EventListener Formattable Iterator List ListIterator Map Map.Entry NavigableMap NavigableSet Observer PrimitiveIterator PrimitiveIterator.OfDouble PrimitiveIterator.OfInt PrimitiveIterator.OfLong Queue RandomAccess SequencedCollection SequencedMap SequencedSet ServiceLoader.Provider Set SortedMap SortedSet Spliterator Spliterator.OfDouble Spliterator.OfInt Spliterator.OfLong Spliterator.OfPrimitive Classes AbstractCollection AbstractList AbstractMap AbstractMap.SimpleEntry AbstractMap.SimpleImmutableEntry AbstractQueue AbstractSequentialList AbstractSet ArrayDeque ArrayList Arrays Base64 Base64.Decoder Base64.Encoder BitSet Calendar Calendar.Builder Collections Currency Date Dictionary DoubleSummaryStatistics EnumMap EnumSet EventListenerProxy EventObject FormattableFlags Formatter GregorianCalendar HashMap HashSet Hashtable HexFormat IdentityHashMap IntSummaryStatistics LinkedHashMap LinkedHashSet LinkedList ListResourceBundle Locale Locale.Builder Locale.LanguageRange LongSummaryStatistics Objects Observable Optional OptionalDouble OptionalInt OptionalLong PriorityQueue Properties PropertyPermission PropertyResourceBundle Random ResourceBundle ResourceBundle.Control Scanner ServiceLoader SimpleTimeZone Spliterators Spliterators.AbstractDoubleSpliterator Spliterators.AbstractIntSpliterator Spliterators.AbstractLongSpliterator Spliterators.AbstractSpliterator SplittableRandom Stack StringJoiner StringTokenizer Timer TimerTask TimeZone TreeMap TreeSet UUID Vector WeakHashMap Enums Formatter.BigDecimalLayoutForm Locale.Category Locale.FilteringMode Locale.IsoCountryCode Exceptions ConcurrentModificationException DuplicateFormatFlagsException EmptyStackException FormatFlagsConversionMismatchException FormatterClosedException IllegalFormatCodePointException IllegalFormatConversionException IllegalFormatException IllegalFormatFlagsException IllegalFormatPrecisionException IllegalFormatWidthException IllformedLocaleException InputMismatchException InvalidPropertiesFormatException MissingFormatArgumentException MissingFormatWidthException MissingResourceException NoSuchElementException TooManyListenersException UnknownFormatConversionException UnknownFormatFlagsException Errors ServiceConfigurationError java.util.concurrent Overview Interfaces BlockingDeque BlockingQueue Callable CompletableFuture.AsynchronousCompletionTask CompletionService CompletionStage ConcurrentMap ConcurrentNavigableMap Delayed Executor ExecutorService Flow.Processor Flow.Publisher Flow.Subscriber Flow.Subscription ForkJoinPool.ForkJoinWorkerThreadFactory ForkJoinPool.ManagedBlocker Future RejectedExecutionHandler RunnableFuture RunnableScheduledFuture ScheduledExecutorService ScheduledFuture ThreadFactory TransferQueue Classes AbstractExecutorService ArrayBlockingQueue CompletableFuture ConcurrentHashMap ConcurrentHashMap.KeySetView ConcurrentLinkedDeque ConcurrentLinkedQueue ConcurrentSkipListMap ConcurrentSkipListSet CopyOnWriteArrayList CopyOnWriteArraySet CountDownLatch CountedCompleter CyclicBarrier DelayQueue Exchanger ExecutorCompletionService Executors Flow ForkJoinPool ForkJoinTask ForkJoinWorkerThread FutureTask LinkedBlockingDeque LinkedBlockingQueue LinkedTransferQueue Phaser PriorityBlockingQueue RecursiveAction RecursiveTask ScheduledThreadPoolExecutor Semaphore SubmissionPublisher SynchronousQueue ThreadLocalRandom ThreadPoolExecutor ThreadPoolExecutor.AbortPolicy ThreadPoolExecutor.CallerRunsPolicy ThreadPoolExecutor.DiscardOldestPolicy ThreadPoolExecutor.DiscardPolicy Enums Future.State TimeUnit Exceptions BrokenBarrierException CancellationException CompletionException ExecutionException RejectedExecutionException TimeoutException java.util.concurrent.atomic Overview Classes AtomicBoolean AtomicInteger AtomicIntegerArray AtomicIntegerFieldUpdater AtomicLong AtomicLongArray AtomicLongFieldUpdater AtomicMarkableReference AtomicReference AtomicReferenceArray AtomicReferenceFieldUpdater AtomicStampedReference DoubleAccumulator DoubleAdder LongAccumulator LongAdder java.util.concurrent.locks Overview Interfaces Condition Lock ReadWriteLock Classes AbstractOwnableSynchronizer AbstractQueuedLongSynchronizer AbstractQueuedLongSynchronizer.ConditionObject AbstractQueuedSynchronizer AbstractQueuedSynchronizer.ConditionObject LockSupport ReentrantLock ReentrantReadWriteLock ReentrantReadWriteLock.ReadLock ReentrantReadWriteLock.WriteLock StampedLock java.util.function Overview Interfaces BiConsumer BiFunction BinaryOperator BiPredicate BooleanSupplier Consumer DoubleBinaryOperator DoubleConsumer DoubleFunction DoublePredicate DoubleSupplier DoubleToIntFunction DoubleToLongFunction DoubleUnaryOperator Function IntBinaryOperator IntConsumer IntFunction IntPredicate IntSupplier IntToDoubleFunction IntToLongFunction IntUnaryOperator LongBinaryOperator LongConsumer LongFunction LongPredicate LongSupplier LongToDoubleFunction LongToIntFunction LongUnaryOperator ObjDoubleConsumer ObjIntConsumer ObjLongConsumer Predicate Supplier ToDoubleBiFunction ToDoubleFunction ToIntBiFunction ToIntFunction ToLongBiFunction ToLongFunction UnaryOperator java.util.jar Overview Interfaces Pack200.Packer Pack200.Unpacker Classes Attributes Attributes.Name JarEntry JarFile JarInputStream JarOutputStream Manifest Pack200 Exceptions JarException java.util.logging Overview Interfaces Filter LoggingMXBean Classes ConsoleHandler ErrorManager FileHandler Formatter Handler Level Logger LoggingPermission LogManager LogRecord MemoryHandler SimpleFormatter SocketHandler StreamHandler XMLFormatter java.util.prefs Overview Interfaces NodeChangeListener PreferenceChangeListener PreferencesFactory Classes AbstractPreferences NodeChangeEvent PreferenceChangeEvent Preferences Exceptions BackingStoreException InvalidPreferencesFormatException java.util.random Overview Interfaces RandomGenerator RandomGenerator.ArbitrarilyJumpableGenerator RandomGenerator.JumpableGenerator RandomGenerator.LeapableGenerator RandomGenerator.SplittableGenerator RandomGenerator.StreamableGenerator Classes RandomGeneratorFactory java.util.regex Overview Interfaces MatchResult Classes Matcher Pattern Exceptions PatternSyntaxException java.util.stream Overview Interfaces BaseStream Collector DoubleStream DoubleStream.Builder DoubleStream.DoubleMapMultiConsumer Gatherer Gatherer.Downstream Gatherer.Integrator Gatherer.Integrator.Greedy IntStream IntStream.Builder IntStream.IntMapMultiConsumer LongStream LongStream.Builder LongStream.LongMapMultiConsumer Stream Stream.Builder Classes Collectors Gatherers StreamSupport Enums Collector.Characteristics java.util.zip Overview Interfaces Checksum Classes Adler32 CheckedInputStream CheckedOutputStream CRC32 CRC32C Deflater DeflaterInputStream DeflaterOutputStream GZIPInputStream GZIPOutputStream Inflater InflaterInputStream InflaterOutputStream ZipEntry ZipFile ZipInputStream ZipOutputStream Exceptions DataFormatException ZipException Errors ZipError javax.annotation.processing Overview Annotations Generated javax.crypto Overview Interfaces SecretKey Classes Cipher CipherInputStream CipherOutputStream CipherSpi EncryptedPrivateKeyInfo ExemptionMechanism ExemptionMechanismSpi KeyAgreement KeyAgreementSpi KeyGenerator KeyGeneratorSpi Mac MacSpi NullCipher SealedObject SecretKeyFactory SecretKeyFactorySpi Exceptions AEADBadTagException BadPaddingException ExemptionMechanismException IllegalBlockSizeException NoSuchPaddingException ShortBufferException javax.crypto.interfaces Overview Interfaces DHKey DHPrivateKey DHPublicKey PBEKey javax.crypto.spec Overview Classes ChaCha20ParameterSpec DESedeKeySpec DESKeySpec DHGenParameterSpec DHParameterSpec DHPrivateKeySpec DHPublicKeySpec GCMParameterSpec IvParameterSpec OAEPParameterSpec PBEKeySpec PBEParameterSpec PSource PSource.PSpecified RC2ParameterSpec RC5ParameterSpec SecretKeySpec javax.microedition.khronos.egl Overview Interfaces EGL EGL10 EGL11 Classes EGLConfig EGLContext EGLDisplay EGLSurface javax.microedition.khronos.opengles Overview Interfaces GL GL10 GL10Ext GL11 GL11Ext GL11ExtensionPack javax.net Overview Classes ServerSocketFactory SocketFactory javax.net.ssl Overview Interfaces HandshakeCompletedListener HostnameVerifier KeyManager ManagerFactoryParameters SSLSession SSLSessionBindingListener SSLSessionContext TrustManager X509KeyManager X509TrustManager Classes CertPathTrustManagerParameters ExtendedSSLSession HandshakeCompletedEvent HttpsURLConnection KeyManagerFactory KeyManagerFactorySpi KeyStoreBuilderParameters SNIHostName SNIMatcher SNIServerName SSLContext SSLContextSpi SSLEngine SSLEngineResult SSLParameters SSLPermission SSLServerSocket SSLServerSocketFactory SSLSessionBindingEvent SSLSocket SSLSocketFactory StandardConstants TrustManagerFactory TrustManagerFactorySpi X509ExtendedKeyManager X509ExtendedTrustManager Enums SSLEngineResult.HandshakeStatus SSLEngineResult.Status Exceptions SSLException SSLHandshakeException SSLKeyException SSLPeerUnverifiedException SSLProtocolException javax.security.auth Overview Interfaces Destroyable Classes AuthPermission PrivateCredentialPermission Subject SubjectDomainCombiner Exceptions DestroyFailedException javax.security.auth.callback Overview Interfaces Callback CallbackHandler Classes PasswordCallback Exceptions UnsupportedCallbackException javax.security.auth.login Overview Exceptions LoginException javax.security.auth.x500 Overview Classes X500Principal X500PrivateCredential javax.security.cert Overview Classes Certificate X509Certificate Exceptions CertificateEncodingException CertificateException CertificateExpiredException CertificateNotYetValidException CertificateParsingException javax.sql Overview Interfaces CommonDataSource ConnectionEventListener ConnectionPoolDataSource DataSource PooledConnection RowSet RowSetInternal RowSetListener RowSetMetaData RowSetReader RowSetWriter StatementEventListener Classes ConnectionEvent RowSetEvent StatementEvent javax.xml Overview Classes XMLConstants javax.xml.datatype Overview Classes DatatypeConstants DatatypeConstants.Field DatatypeFactory Duration XMLGregorianCalendar Exceptions DatatypeConfigurationException javax.xml.namespace Overview Interfaces NamespaceContext Classes QName javax.xml.parsers Overview Classes DocumentBuilder DocumentBuilderFactory SAXParser SAXParserFactory Exceptions ParserConfigurationException Errors FactoryConfigurationError javax.xml.transform Overview Interfaces ErrorListener Result Source SourceLocator Templates URIResolver Classes OutputKeys Transformer TransformerFactory Exceptions TransformerConfigurationException TransformerException Errors TransformerFactoryConfigurationError javax.xml.transform.dom Overview Interfaces DOMLocator Classes DOMResult DOMSource javax.xml.transform.sax Overview Interfaces TemplatesHandler TransformerHandler Classes SAXResult SAXSource SAXTransformerFactory javax.xml.transform.stream Overview Classes StreamResult StreamSource javax.xml.validation Overview Classes Schema SchemaFactory SchemaFactoryLoader TypeInfoProvider Validator ValidatorHandler javax.xml.xpath Overview Interfaces XPath XPathExpression XPathFunction XPathFunctionResolver XPathVariableResolver Classes XPathConstants XPathFactory Exceptions XPathException XPathExpressionException XPathFactoryConfigurationException XPathFunctionException org.apache.http.conn Overview Exceptions ConnectTimeoutException org.apache.http.conn.scheme Overview Interfaces HostNameResolver LayeredSocketFactory SocketFactory org.apache.http.conn.ssl Overview Interfaces X509HostnameVerifier Classes AbstractVerifier AllowAllHostnameVerifier BrowserCompatHostnameVerifier SSLSocketFactory StrictHostnameVerifier org.apache.http.params Overview Interfaces CoreConnectionPNames HttpParams Classes HttpConnectionParams org.json Overview Classes JSONArray JSONObject JSONStringer JSONTokener Exceptions JSONException org.w3c.dom Overview Interfaces Attr CDATASection CharacterData Comment Document DocumentFragment DocumentType DOMConfiguration DOMError DOMErrorHandler DOMImplementation DOMImplementationList DOMImplementationSource DOMLocator DOMStringList Element Entity EntityReference NamedNodeMap NameList Node NodeList Notation ProcessingInstruction Text TypeInfo UserDataHandler Exceptions DOMException org.w3c.dom.ls Overview Interfaces DOMImplementationLS LSInput LSOutput LSParser LSParserFilter LSResourceResolver LSSerializer Exceptions LSException org.xml.sax Overview Interfaces AttributeList Attributes ContentHandler DocumentHandler DTDHandler EntityResolver ErrorHandler Locator Parser XMLFilter XMLReader Classes HandlerBase InputSource Exceptions SAXException SAXNotRecognizedException SAXNotSupportedException SAXParseException org.xml.sax.ext Overview Interfaces Attributes2 DeclHandler EntityResolver2 LexicalHandler Locator2 Classes Attributes2Impl DefaultHandler2 Locator2Impl org.xml.sax.helpers Overview Classes AttributeListImpl AttributesImpl DefaultHandler LocatorImpl NamespaceSupport ParserAdapter ParserFactory XMLFilterImpl XMLReaderAdapter XMLReaderFactory org.xmlpull.v1 Overview Interfaces XmlPullParser XmlSerializer Classes XmlPullParserFactory Exceptions XmlPullParserException org.xmlpull.v1.sax2 Overview Classes Driver Build AI experiences Get started Get started Hello, world! Developer Verification Adaptive apps Compose for UI AI-powered IDE Training Monetization with Play ↗️ Optimize by form factor Phones, tablets, foldables Android for Cars Android TV Android XR Googlebook ChromeOS Wear OS Build by category Games Camera & media Social & messaging Health & fitness Productivity Enterprise apps Get the latest Latest updates Experimental updates Android Studio preview Jetpack & Compose libraries Wear OS releases Privacy Sandbox ↗️ Excellent Experiences Learn more UI Design Design for Android Mobile Desktop experiences XR Headsets & XR Glasses AI Glasses Widgets Wear OS Android TV Android for Cars Architecture Introduction Libraries Navigation Modularization Testing Kotlin Multiplatform Quality Overview Core value User experience Accessibility Technical quality Excellent Experiences Security Overview Privacy Permissions Identity Fraud prevention Gemini in Android Studio Learn more Get Android Studio Core areas Samples Multidevice support User interfaces Background work Data and files Connectivity All core areas ⤵️ Tools and workflow Write and debug code Build projects Test your app Performance Command-line tools Gradle plugin API Android Bench Device tech Phones, tablets, foldables ChromeOS Android for Cars Android TV Android XR Wear OS Android Health Better Together All devices ⤵️ Libraries Android platform Jetpack libraries Compose libraries Google Play services ↗️ Google Play SDK index ↗️ Play Console Go to Play Console Learn more ↗️ Fundamentals Play Monetization Play Integrity Play Policies Play Programs ↗️ Games Dev Center Overview Play Asset Delivery Play Games Services Play Games on PC Level Up guidelines All Play guides ⤵️ Libraries Play Feature Delivery Play In-app Updates Play In-app Reviews Play Install Referrer Google Play services ↗️ Google Play SDK index ↗️ All Play libraries ⤵️ Tools & resources Android App Bundles Brand & marketing Play Console APIs ↗️ the Android Developer's Blog Read the latest Explore the authors → Explore categories Case Studies Events & Programs Product News Community How-tos Android Developers Develop API reference Stay organized with collections Save and categorize content based on your preferences. Added in API level 1 Summary: Fields | Ctors | Methods | Inherited Methods String public final class String extends Object implements CharSequence, Comparable<String>, Serializable java.lang.Object    ↳ java.lang.String The String class represents character strings. All string literals in Java programs, such as "abc", are implemented as instances of this class. Strings are constant; their values cannot be changed after they are created. String buffers support mutable strings. Because String objects are immutable they can be shared. For example: String str = "abc"; is equivalent to: char data[] = {'a', 'b', 'c'}; String str = new String(data); Here are some more examples of how strings can be used: System.out.println("abc"); String cde = "cde"; System.out.println("abc" + cde); String c = "abc".substring(2,3); String d = cde.substring(1, 2); The class String includes methods for examining individual characters of the sequence, for comparing strings, for searching strings, for extracting substrings, and for creating a copy of a string with all characters translated to uppercase or to lowercase. Case mapping is based on the Unicode Standard version specified by the Character class. The Java language provides special support for the string concatenation operator ( + ), and for conversion of other objects to strings. For additional information on string concatenation and conversion, see The Java™ Language Specification. Unless otherwise noted, passing a null argument to a constructor or method in this class will cause a NullPointerException to be thrown. A String represents a string in the UTF-16 format in which supplementary characters are represented by surrogate pairs (see the section Unicode Character Representations in the Character class for more information). Index values refer to char code units, so a supplementary character uses two positions in a String. The String class provides methods for dealing with Unicode code points (i.e., characters), in addition to those for dealing with Unicode code units (i.e., char values). Unless otherwise noted, methods for comparing Strings do not take locale into account. The Collator class provides methods for finer-grain, locale-sensitive String comparison. See also: Object.toString() StringBuffer StringBuilder Charset Summary Fields public static final Comparator<String> CASE_INSENSITIVE_ORDER A Comparator that orders String objects as by compareToIgnoreCase. Public constructors String() Initializes a newly created String object so that it represents an empty character sequence. String(byte[] bytes) Constructs a new String by decoding the specified array of bytes using the platform's default charset. String(byte[] ascii, int hibyte) This constructor is deprecated. This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a Charset, charset name, or that use the platform's default charset. String(byte[] bytes, int offset, int length) Constructs a new String by decoding the specified subarray of bytes using the platform's default charset. String(byte[] ascii, int hibyte, int offset, int count) This constructor is deprecated. This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a Charset, charset name, or that use the platform's default charset. String(byte[] bytes, int offset, int length, String charsetName) String(byte[] bytes, int offset, int length, Charset charset) Constructs a new String by decoding the specified subarray of bytes using the specified charset. String(byte[] bytes, String charsetName) Constructs a new String by decoding the specified array of bytes using the specified charset. String(byte[] bytes, Charset charset) Constructs a new String by decoding the specified array of bytes using the specified charset. String(char[] value) Allocates a new String so that it represents the sequence of characters currently contained in the character array argument. String(char[] value, int offset, int count) Allocates a new String that contains characters from a subarray of the character array argument. String(int[] codePoints, int offset, int count) Allocates a new String that contains characters from a subarray of the Unicode code point array argument. String(String original) Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string. String(StringBuffer buffer) Allocates a new string that contains the sequence of characters currently contained in the string buffer argument. String(StringBuilder builder) Allocates a new string that contains the sequence of characters currently contained in the string builder argument. Public methods char charAt(int index) Returns the char value at the specified index. IntStream chars() Returns a stream of int zero-extending the char values from this sequence. int codePointAt(int index) Returns the character (Unicode code point) at the specified index. int codePointBefore(int index) Returns the character (Unicode code point) before the specified index. int codePointCount(int beginIndex, int endIndex) Returns the number of Unicode code points in the specified text range of this String. IntStream codePoints() Returns a stream of code point values from this sequence. int compareTo(String anotherString) Compares two strings lexicographically. int compareToIgnoreCase(String str) Compares two strings lexicographically, ignoring case differences. String concat(String str) Concatenates the specified string to the end of this string. boolean contains(CharSequence s) Returns true if and only if this string contains the specified sequence of char values. boolean contentEquals(StringBuffer sb) Compares this string to the specified StringBuffer. boolean contentEquals(CharSequence cs) Compares this string to the specified CharSequence. static String copyValueOf(char[] data, int offset, int count) Equivalent to valueOf(char[], int, int). static String copyValueOf(char[] data) Equivalent to valueOf(char[]). boolean endsWith(String suffix) Tests if this string ends with the specified suffix. boolean equals(Object anObject) Compares this string to the specified object. boolean equalsIgnoreCase(String anotherString) Compares this String to another String, ignoring case considerations. static String format(String format, Object... args) Returns a formatted string using the specified format string and arguments. static String format(Locale l, String format, Object... args) Returns a formatted string using the specified locale, format string, and arguments. String formatted(Object... args) Formats using this string as the format string, and the supplied arguments. byte[] getBytes(String charsetName) Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array. byte[] getBytes() Encodes this String into a sequence of bytes using the platform's default charset, storing the result into a new byte array. byte[] getBytes(Charset charset) Encodes this String into a sequence of bytes using the given charset, storing the result into a new byte array. void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin) This method was deprecated in API level 15. This method does not properly convert characters into bytes. As of JDK 1.1, the preferred way to do this is via the getBytes() method, which uses the platform's default charset. void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) Copies characters from this sequence into the given destination array. int hashCode() Returns a hash code for this string. String indent(int n) Adjusts the indentation of each line of this string based on the value of n, and normalizes line termination characters. int indexOf(String str, int beginIndex, int endIndex) Returns the index of the first occurrence of the specified substring within the specified index range of this string. int indexOf(int ch, int fromIndex) Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index. int indexOf(int ch, int beginIndex, int endIndex) Returns the index within this string of the first occurrence of the specified character, starting the search at beginIndex and stopping before endIndex. int indexOf(String str) Returns the index within this string of the first occurrence of the specified substring. int indexOf(int ch) Returns the index within this string of the first occurrence of the specified character. int indexOf(String str, int fromIndex) Returns the index within this string of the first occurrence of the specified substring, starting at the specified index. String intern() Returns a canonical representation for the string object. boolean isBlank() Returns true if the string is empty or contains only white space codepoints, otherwise false. boolean isEmpty() Returns true if, and only if, length() is 0. static String join(CharSequence delimiter, CharSequence... elements) Returns a new String composed of copies of the CharSequence elements joined together with a copy of the specified delimiter. static String )"join(CharSequence delimiter, Iterable<? extends CharSequence> elements) Returns a new String composed of copies of the CharSequence elements joined together with a copy of the specified delimiter. int lastIndexOf(int ch) Returns the index within this string of the last occurrence of the specified character. int lastIndexOf(String str, int fromIndex) Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index. int lastIndexOf(String str) Returns the index within this string of the last occurrence of the specified substring. int lastIndexOf(int ch, int fromIndex) Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index. int length() Returns the length of this string. Stream<String> lines() Returns a stream of lines extracted from this string, separated by line terminators. boolean matches(String regex) Tells whether or not this string matches the given regular expression. int offsetByCodePoints(int index, int codePointOffset) Returns the index within this String that is offset from the given index by codePointOffset code points. boolean regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len) Tests if two string regions are equal. boolean regionMatches(int toffset, String other, int ooffset, int len) Tests if two string regions are equal. String repeat(int count) Returns a string whose value is the concatenation of this string repeated count times. String replace(CharSequence target, CharSequence replacement) Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence. String replace(char oldChar, char newChar) Returns a string resulting from replacing all occurrences of oldChar in this string with newChar. String replaceAll(String regex, String replacement) Replaces each substring of this string that matches the given regular expression with the given replacement. String replaceFirst(String regex, String replacement) Replaces the first substring of this string that matches the given regular expression with the given replacement. String[] split(String regex) Splits this string around matches of the given regular expression. String[] split(String regex, int limit) Splits this string around matches of the given regular expression. String[] splitWithDelimiters(String regex, int limit) Splits this string around matches of the given regular expression and returns both the strings and the matching delimiters. boolean startsWith(String prefix) Tests if this string starts with the specified prefix. boolean startsWith(String prefix, int toffset) Tests if the substring of this string beginning at the specified index starts with the specified prefix. String strip() Returns a string whose value is this string, with all leading and trailing white space removed. String stripIndent() Returns a string whose value is this string, with incidental white space removed from the beginning and end of every line. String stripLeading() Returns a string whose value is this string, with all leading white space removed. String stripTrailing() Returns a string whose value is this string, with all trailing white space removed. CharSequence subSequence(int beginIndex, int endIndex) Returns a character sequence that is a subsequence of this sequence. String substring(int beginIndex, int endIndex) Returns a string that is a substring of this string. String substring(int beginIndex) Returns a string that is a substring of this string. char[] toCharArray() Converts this string to a new character array. String toLowerCase() Converts all of the characters in this String to lower case using the rules of the default locale. String toLowerCase(Locale locale) Converts all of the characters in this String to lower case using the rules of the given Locale. String toString() This object (which is already a string!) is itself returned. String toUpperCase(Locale locale) Converts all of the characters in this String to upper case using the rules of the given Locale. String toUpperCase() Converts all of the characters in this String to upper case using the rules of the default locale. <R> R )"transform(Function<? super String, ? extends R> f) This method allows the application of a function to this string. String translateEscapes() Returns a string whose value is this string, with escape sequences translated as if in a string literal. String trim() Returns a string whose value is this string, with all leading and trailing space removed, where space is defined as any character whose codepoint is less than or equal to 'U+0020' (the space character). static String valueOf(boolean b) Returns the string representation of the boolean argument. static String valueOf(double d) Returns the string representation of the double argument. static String valueOf(char[] data, int offset, int count) Returns the string representation of a specific subarray of the char array argument. static String valueOf(float f) Returns the string representation of the float argument. static String valueOf(int i) Returns the string representation of the int argument. static String valueOf(char c) Returns the string representation of the char argument. static String valueOf(long l) Returns the string representation of the long argument. static String valueOf(Object obj) Returns the string representation of the Object argument. static String valueOf(char[] data) Returns the string representation of the char array argument. Inherited methods From class java.lang.Object Object clone() Creates and returns a copy of this object. boolean equals(Object obj) Indicates whether some other object is "equal to" this one. void finalize() Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. final Class<?> getClass() Returns the runtime class of this Object. int hashCode() Returns a hash code value for the object. final void notify() Wakes up a single thread that is waiting on this object's monitor. final void notifyAll() Wakes up all threads that are waiting on this object's monitor. String toString() Returns a string representation of the object. final void wait(long timeoutMillis, int nanos) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed. final void wait(long timeoutMillis) Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed. final void wait() Causes the current thread to wait until it is awakened, typically by being notified or interrupted. From interface java.lang.CharSequence abstract char charAt(int index) Returns the char value at the specified index. default IntStream chars() Returns a stream of int zero-extending the char values from this sequence. default IntStream codePoints() Returns a stream of code point values from this sequence. static int compare(CharSequence cs1, CharSequence cs2) Compares two CharSequence instances lexicographically. default void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) Copies characters from this sequence into the given destination array. default boolean isEmpty() Returns true if this character sequence is empty. abstract int length() Returns the length of this character sequence. abstract CharSequence subSequence(int start, int end) Returns a CharSequence that is a subsequence of this sequence. abstract String toString() Returns a string containing the characters in this sequence in the same order as this sequence. From interface java.lang.Comparable abstract int compareTo(String o) Compares this object with the specified object for order. Fields CASE_INSENSITIVE_ORDER Added in API level 1 public static final Comparator<String> CASE_INSENSITIVE_ORDER A Comparator that orders String objects as by compareToIgnoreCase. This comparator is serializable. Note that this Comparator does not take locale into account, and will result in an unsatisfactory ordering for certain locales. The Collator class provides locale-sensitive comparison. See also: Collator Public constructors String Added in API level 1 public String () Initializes a newly created String object so that it represents an empty character sequence. Note that use of this constructor is unnecessary since Strings are immutable. String Added in API level 1 public String (byte[] bytes) Constructs a new String by decoding the specified array of bytes using the platform's default charset. The length of the new String is a function of the charset, and hence may not be equal to the length of the byte array. The behavior of this constructor when the given bytes are not valid in the default charset is unspecified. The CharsetDecoder class should be used when more control over the decoding process is required. Parameters bytes byte: The bytes to be decoded into characters String Added in API level 1 public String (byte[] ascii, int hibyte) This constructor is deprecated. This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a Charset, charset name, or that use the platform's default charset. Allocates a new String containing characters constructed from an array of 8-bit integer values. Each character c in the resulting string is constructed from the corresponding component b in the byte array such that: c == (char)(((hibyte & 0xff) << 8) | (b & 0xff)) Parameters ascii byte: The bytes to be converted to characters hibyte int: The top 8 bits of each 16-bit Unicode code unit See also: String(byte[], int, int, java.lang.String) String(byte[], int, int, java.nio.charset.Charset) String(byte[], int, int) String(byte[], java.lang.String) String(byte[], java.nio.charset.Charset) String(byte[]) String Added in API level 1 public String (byte[] bytes, int offset, int length) Constructs a new String by decoding the specified subarray of bytes using the platform's default charset. The length of the new String is a function of the charset, and hence may not be equal to the length of the subarray. The behavior of this constructor when the given bytes are not valid in the default charset is unspecified. The CharsetDecoder class should be used when more control over the decoding process is required. Parameters bytes byte: The bytes to be decoded into characters offset int: The index of the first byte to decode length int: The number of bytes to decode Throws IndexOutOfBoundsException If offset is negative, length is negative, or offset is greater than bytes.length - length String Added in API level 1 public String (byte[] ascii, int hibyte, int offset, int count) This constructor is deprecated. This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a Charset, charset name, or that use the platform's default charset. Allocates a new String constructed from a subarray of an array of 8-bit integer values. The offset argument is the index of the first byte of the subarray, and the count argument specifies the length of the subarray. Each byte in the subarray is converted to a char as specified in the String(byte[],int) constructor. Parameters ascii byte: The bytes to be converted to characters hibyte int: The top 8 bits of each 16-bit Unicode code unit offset int: The initial offset count int: The length Throws IndexOutOfBoundsException If offset is negative, count is negative, or offset is greater than ascii.length - count See also: String(byte[], int) String(byte[], int, int, java.lang.String) String(byte[], int, int, java.nio.charset.Charset) String(byte[], int, int) String(byte[], java.lang.String) String(byte[], java.nio.charset.Charset) String(byte[]) String Added in API level 1 public String (byte[] bytes, int offset, int length, String charsetName) Parameters bytes byte offset int length int charsetName String Throws UnsupportedEncodingException String Added in API level 9 public String (byte[] bytes, int offset, int length, Charset charset) Constructs a new String by decoding the specified subarray of bytes using the specified charset. The length of the new String is a function of the charset, and hence may not be equal to the length of the subarray. This method always replaces malformed-input and unmappable-character sequences with this charset's default replacement string. The CharsetDecoder class should be used when more control over the decoding process is required. Parameters bytes byte: The bytes to be decoded into characters offset int: The index of the first byte to decode length int: The number of bytes to decode charset Charset: The charset to be used to decode the bytes Throws IndexOutOfBoundsException If offset is negative, length is negative, or offset is greater than bytes.length - length String Added in API level 1 public String (byte[] bytes, String charsetName) Constructs a new String by decoding the specified array of bytes using the specified charset. The length of the new String is a function of the charset, and hence may not be equal to the length of the byte array. The behavior of this constructor when the given bytes are not valid in the given charset is unspecified. The CharsetDecoder class should be used when more control over the decoding process is required. Parameters bytes byte: The bytes to be decoded into characters charsetName String: The name of a supported charset Throws UnsupportedEncodingException If the named charset is not supported String Added in API level 9 public String (byte[] bytes, Charset charset) Constructs a new String by decoding the specified array of bytes using the specified charset. The length of the new String is a function of the charset, and hence may not be equal to the length of the byte array. This method always replaces malformed-input and unmappable-character sequences with this charset's default replacement string. The CharsetDecoder class should be used when more control over the decoding process is required. Parameters bytes byte: The bytes to be decoded into characters charset Charset: The charset to be used to decode the bytes String Added in API level 1 public String (char[] value) Allocates a new String so that it represents the sequence of characters currently contained in the character array argument. The contents of the character array are copied; subsequent modification of the character array does not affect the newly created string. Parameters value char: The initial value of the string String Added in API level 1 public String (char[] value, int offset, int count) Allocates a new String that contains characters from a subarray of the character array argument. The offset argument is the index of the first character of the subarray and the count argument specifies the length of the subarray. The contents of the subarray are copied; subsequent modification of the character array does not affect the newly created string. Parameters value char: Array that is the source of characters offset int: The initial offset count int: The length Throws IndexOutOfBoundsException If offset is negative, count is negative, or offset is greater than value.length - count String Added in API level 1 public String (int[] codePoints, int offset, int count) Allocates a new String that contains characters from a subarray of the Unicode code point array argument. The offset argument is the index of the first code point of the subarray and the count argument specifies the length of the subarray. The contents of the subarray are converted to chars; subsequent modification of the int array does not affect the newly created string. Parameters codePoints int: Array that is the source of Unicode code points offset int: The initial offset count int: The length Throws IllegalArgumentException If any invalid Unicode code point is found in codePoints IndexOutOfBoundsException If offset is negative, count is negative, or offset is greater than codePoints.length - count String Added in API level 1 public String (String original) Initializes a newly created String object so that it represents the same sequence of characters as the argument; in other words, the newly created string is a copy of the argument string. Unless an explicit copy of original is needed, use of this constructor is unnecessary since Strings are immutable. Parameters original String: A String String Added in API level 1 public String (StringBuffer buffer) Allocates a new string that contains the sequence of characters currently contained in the string buffer argument. The contents of the string buffer are copied; subsequent modification of the string buffer does not affect the newly created string. Parameters buffer StringBuffer: A StringBuffer String Added in API level 1 public String (StringBuilder builder) Allocates a new string that contains the sequence of characters currently contained in the string builder argument. The contents of the string builder are copied; subsequent modification of the string builder does not affect the newly created string. This constructor is provided to ease migration to StringBuilder. Obtaining a string from a string builder via the toString method is likely to run faster and is generally preferred. Parameters builder StringBuilder: A StringBuilder Public methods charAt Added in API level 1 public char charAt (int index) Returns the char value at the specified index. An index ranges from 0 to length() - 1. The first char value of the sequence is at index 0, the next at index 1, and so on, as for array indexing. If the char value specified by the index is a surrogate, the surrogate value is returned. Parameters index int: the index of the char value. Returns char the char value at the specified index of this string. The first char value is at index 0. Throws IndexOutOfBoundsException if the index argument is negative or not less than the length of this string. chars Added in API level 24 public IntStream chars () Returns a stream of int zero-extending the char values from this sequence. Any char which maps to a surrogate code point is passed through uninterpreted. Returns IntStream an IntStream of char values from this sequence codePointAt Added in API level 1 public int codePointAt (int index) Returns the character (Unicode code point) at the specified index. The index refers to char values (Unicode code units) and ranges from 0 to length()- 1. If the char value specified at the given index is in the high-surrogate range, the following index is less than the length of this String, and the char value at the following index is in the low-surrogate range, then the supplementary code point corresponding to this surrogate pair is returned. Otherwise, the char value at the given index is returned. Parameters index int: the index to the char values Returns int the code point value of the character at the index Throws IndexOutOfBoundsException if the index argument is negative or not less than the length of this string. codePointBefore Added in API level 1 public int codePointBefore (int index) Returns the character (Unicode code point) before the specified index. The index refers to char values (Unicode code units) and ranges from 1 to length. If the char value at (index - 1) is in the low-surrogate range, (index - 2) is not negative, and the char value at (index - 2) is in the high-surrogate range, then the supplementary code point value of the surrogate pair is returned. If the char value at index - 1 is an unpaired low-surrogate or a high-surrogate, the surrogate value is returned. Parameters index int: the index following the code point that should be returned Returns int the Unicode code point value before the given index. Throws IndexOutOfBoundsException if the index argument is less than 1 or greater than the length of this string. codePointCount Added in API level 1 public int codePointCount (int beginIndex, int endIndex) Returns the number of Unicode code points in the specified text range of this String. The text range begins at the specified beginIndex and extends to the char at index endIndex - 1. Thus the length (in chars) of the text range is endIndex-beginIndex. Unpaired surrogates within the text range count as one code point each. Parameters beginIndex int: the index to the first char of the text range. endIndex int: the index after the last char of the text range. Returns int the number of Unicode code points in the specified text range Throws IndexOutOfBoundsException if the beginIndex is negative, or endIndex is larger than the length of this String, or beginIndex is larger than endIndex. codePoints Added in API level 24 public IntStream codePoints () Returns a stream of code point values from this sequence. Any surrogate pairs encountered in the sequence are combined as if by Character.toCodePoint and the result is passed to the stream. Any other code units, including ordinary BMP characters, unpaired surrogates, and undefined code units, are zero-extended to int values which are then passed to the stream. Returns IntStream an IntStream of Unicode code points from this sequence compareTo Added in API level 1 public int compareTo (String anotherString) Compares two strings lexicographically. The comparison is based on the Unicode value of each character in the strings. The character sequence represented by this String object is compared lexicographically to the character sequence represented by the argument string. The result is a negative integer if this String object lexicographically precedes the argument string. The result is a positive integer if this String object lexicographically follows the argument string. The result is zero if the strings are equal; compareTo returns 0 exactly when the equals(Object) method would return true. This is the definition of lexicographic ordering. If two strings are different, then either they have different characters at some index that is a valid index for both strings, or their lengths are different, or both. If they have different characters at one or more index positions, let k be the smallest such index; then the string whose character at position k has the smaller value, as determined by using the < operator, lexicographically precedes the other string. In this case, compareTo returns the difference of the two character values at position k in the two string -- that is, the value: this.charAt(k)-anotherString.charAt(k) If there is no index position at which they differ, then the shorter string lexicographically precedes the longer string. In this case, compareTo returns the difference of the lengths of the strings -- that is, the value: this.length()-anotherString.length() For finer-grained String comparison, refer to Collator. Parameters anotherString String: the String to be compared. Returns int the value 0 if the argument string is equal to this string; a value less than 0 if this string is lexicographically less than the string argument; and a value greater than 0 if this string is lexicographically greater than the string argument. compareToIgnoreCase Added in API level 1 public int compareToIgnoreCase (String str) Compares two strings lexicographically, ignoring case differences. This method returns an integer whose sign is that of calling compareTo with normalized versions of the strings where case differences have been eliminated by calling Character.toLowerCase(Character.toUpperCase(character)) on each character. Note that this method does not take locale into account, and will result in an unsatisfactory ordering for certain locales. The Collator class provides locale-sensitive comparison. Parameters str String: the String to be compared. Returns int a negative integer, zero, or a positive integer as the specified String is greater than, equal to, or less than this String, ignoring case considerations. See also: Collator concat Added in API level 1 public String concat (String str) Concatenates the specified string to the end of this string. If the length of the argument string is 0, then this String object is returned. Otherwise, a String object is returned that represents a character sequence that is the concatenation of the character sequence represented by this String object and the character sequence represented by the argument string. Examples: "cares".concat("s") returns "caress" "to".concat("get").concat("her") returns "together" Parameters str String: the String that is concatenated to the end of this String. Returns String a string that represents the concatenation of this object's characters followed by the string argument's characters. contains Added in API level 1 public boolean contains (CharSequence s) Returns true if and only if this string contains the specified sequence of char values. Parameters s CharSequence: the sequence to search for Returns boolean true if this string contains s, false otherwise contentEquals Added in API level 1 public boolean contentEquals (StringBuffer sb) Compares this string to the specified StringBuffer. The result is true if and only if this String represents the same sequence of characters as the specified StringBuffer. This method synchronizes on the StringBuffer. For finer-grained String comparison, refer to Collator. Parameters sb StringBuffer: The StringBuffer to compare this String against Returns boolean true if this String represents the same sequence of characters as the specified StringBuffer, false otherwise contentEquals Added in API level 1 public boolean contentEquals (CharSequence cs) Compares this string to the specified CharSequence. The result is true if and only if this String represents the same sequence of char values as the specified sequence. Note that if the CharSequence is a StringBuffer then the method synchronizes on it. For finer-grained String comparison, refer to Collator. Parameters cs CharSequence: The sequence to compare this String against Returns boolean true if this String represents the same sequence of char values as the specified sequence, false otherwise copyValueOf Added in API level 1 public static String copyValueOf (char[] data, int offset, int count) Equivalent to valueOf(char[], int, int). Parameters data char: the character array. offset int: initial offset of the subarray. count int: length of the subarray. Returns String a String that contains the characters of the specified subarray of the character array. Throws IndexOutOfBoundsException if offset is negative, or count is negative, or offset+count is larger than data.length. copyValueOf Added in API level 1 public static String copyValueOf (char[] data) Equivalent to valueOf(char[]). Parameters data char: the character array. Returns String a String that contains the characters of the character array. endsWith Added in API level 1 public boolean endsWith (String suffix) Tests if this string ends with the specified suffix. Parameters suffix String: the suffix. Returns boolean true if the character sequence represented by the argument is a suffix of the character sequence represented by this object; false otherwise. Note that the result will be true if the argument is the empty string or is equal to this String object as determined by the equals(Object) method. equals Added in API level 1 public boolean equals (Object anObject) Compares this string to the specified object. The result is true if and only if the argument is not null and is a String object that represents the same sequence of characters as this object. For finer-grained String comparison, refer to Collator. Parameters anObject Object: The object to compare this String against Returns boolean true if the given object represents a String equivalent to this string, false otherwise See also: compareTo(String) equalsIgnoreCase(String) equalsIgnoreCase Added in API level 1 public boolean equalsIgnoreCase (String anotherString) Compares this String to another String, ignoring case considerations. Two strings are considered equal ignoring case if they are of the same length and corresponding characters in the two strings are equal ignoring case. Two characters c1 and c2 are considered the same ignoring case if at least one of the following is true: The two characters are the same (as compared by the == operator) Calling Character.toLowerCase(Character.toUpperCase(char)) on each character produces the same result Note that this method does not take locale into account, and will result in unsatisfactory results for certain locales. The Collator class provides locale-sensitive comparison. Parameters anotherString String: The String to compare this String against Returns boolean true if the argument is not null and it represents an equivalent String ignoring case; false otherwise See also: equals(Object) format Added in API level 1 public static String format (String format, Object... args) Returns a formatted string using the specified format string and arguments. The locale always used is the one returned by Locale.getDefault(Locale.Category) with FORMAT category specified. Parameters format String: A format string args Object: Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The number of arguments is variable and may be zero. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by The Java™ Virtual Machine Specification. The behaviour on a null argument depends on the conversion. Returns String A formatted string Throws IllegalFormatException If a format string contains an illegal syntax, a format specifier that is incompatible with the given arguments, insufficient arguments given the format string, or other illegal conditions. For specification of all possible formatting errors, see the Details section of the formatter class specification. See also: Formatter format Added in API level 1 public static String format (Locale l, String format, Object... args) Returns a formatted string using the specified locale, format string, and arguments. Parameters l Locale: The locale to apply during formatting. If l is null then no localization is applied. format String: A format string args Object: Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The number of arguments is variable and may be zero. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by The Java™ Virtual Machine Specification. The behaviour on a null argument depends on the conversion. Returns String A formatted string Throws IllegalFormatException If a format string contains an illegal syntax, a format specifier that is incompatible with the given arguments, insufficient arguments given the format string, or other illegal conditions. For specification of all possible formatting errors, see the Details section of the formatter class specification See also: Formatter formatted Added in API level 34 public String formatted (Object... args) Formats using this string as the format string, and the supplied arguments. Implementation Requirements: This method is equivalent to String.format(this, args). Parameters args Object: Arguments referenced by the format specifiers in this string. Returns String A formatted string See also: java.lang.String.format(String,Object...) Formatter getBytes Added in API level 1 public byte[] getBytes (String charsetName) Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array. The behavior of this method when this string cannot be encoded in the given charset is unspecified. The CharsetEncoder class should be used when more control over the encoding process is required. Parameters charsetName String: The name of a supported charset Returns byte[] The resultant byte array Throws UnsupportedEncodingException If the named charset is not supported getBytes Added in API level 1 public byte[] getBytes () Encodes this String into a sequence of bytes using the platform's default charset, storing the result into a new byte array. The behavior of this method when this string cannot be encoded in the default charset is unspecified. The CharsetEncoder class should be used when more control over the encoding process is required. Returns byte[] The resultant byte array getBytes Added in API level 9 public byte[] getBytes (Charset charset) Encodes this String into a sequence of bytes using the given charset, storing the result into a new byte array. This method always replaces malformed-input and unmappable-character sequences with this charset's default replacement byte array. The CharsetEncoder class should be used when more control over the encoding process is required. Parameters charset Charset: The Charset to be used to encode the String Returns byte[] The resultant byte array getBytes Added in API level 1 Deprecated in API level 15 public void getBytes (int srcBegin, int srcEnd, byte[] dst, int dstBegin) This method was deprecated in API level 15. This method does not properly convert characters into bytes. As of JDK 1.1, the preferred way to do this is via the getBytes() method, which uses the platform's default charset. Copies characters from this string into the destination byte array. Each byte receives the 8 low-order bits of the corresponding character. The eight high-order bits of each character are not copied and do not participate in the transfer in any way. The first character to be copied is at index srcBegin; the last character to be copied is at index srcEnd-1. The total number of characters to be copied is srcEnd-srcBegin. The characters, converted to bytes, are copied into the subarray of dst starting at index dstBegin and ending at index: dstBegin + (srcEnd-srcBegin) - 1 Parameters srcBegin int: Index of the first character in the string to copy srcEnd int: Index after the last character in the string to copy dst byte: The destination array dstBegin int: The start offset in the destination array Throws IndexOutOfBoundsException If any of the following is true: srcBegin is negative srcBegin is greater than srcEnd srcEnd is greater than the length of this String dstBegin is negative dstBegin+(srcEnd-srcBegin) is larger than dst.length getChars Added in API level 1 public void getChars (int srcBegin, int srcEnd, char[] dst, int dstBegin) Copies characters from this sequence into the given destination array. The first character to be copied is at index srcBegin; the last character to be copied is at index srcEnd-1. The total number of characters to be copied is srcEnd-srcBegin. The characters are copied into the subarray of dst starting at index dstBegin and ending at index: dstbegin + (srcEnd-srcBegin) - 1 Parameters srcBegin int: srcEnd int: dst char: dstBegin int: Throws IndexOutOfBoundsException hashCode Added in API level 1 public int hashCode () Returns a hash code for this string. The hash code for a String object is computed as s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1] using int arithmetic, where s[i] is the ith character of the string, n is the length of the string, and ^ indicates exponentiation. (The hash value of the empty string is zero.) Returns int a hash code value for this object. indent Added in API level 34 public String indent (int n) Adjusts the indentation of each line of this string based on the value of n, and normalizes line termination characters. This string is conceptually separated into lines using String.lines(). Each line is then adjusted as described below and then suffixed with a line feed "\n" (U+000A). The resulting lines are then concatenated and returned. If n > 0 then n spaces (U+0020) are inserted at the beginning of each line. If n < 0 then up to n white space characters are removed from the beginning of each line. If a given line does not contain sufficient white space then all leading white space characters are removed. Each white space character is treated as a single character. In particular, the tab character "\t" (U+0009) is considered a single character; it is not expanded. If n == 0 then the line remains unchanged. However, line terminators are still normalized. Parameters n int: number of leading white space characters to add or remove Returns String string with indentation adjusted and line endings normalized See also: String.lines() String.isBlank() Character.isWhitespace(int) indexOf Added in API level 37 public int indexOf (String str, int beginIndex, int endIndex) Returns the index of the first occurrence of the specified substring within the specified index range of this string. This method returns the same result as the one of the invocation s.substring(beginIndex, endIndex).indexOf(str) + beginIndex if the index returned by indexOf(String) is non-negative, and returns -1 otherwise. (No substring is instantiated, though.) Parameters str String: the substring to search for. beginIndex int: the index to start the search from (included). endIndex int: the index to stop the search at (excluded). Returns int the index of the first occurrence of the specified substring within the specified index range, or -1 if there is no such occurrence. Throws StringIndexOutOfBoundsException if beginIndex is negative, or endIndex is larger than the length of this String object, or beginIndex is larger than endIndex. indexOf Added in API level 1 public int indexOf (int ch, int fromIndex) Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index. If a character with value ch occurs in the character sequence represented by this String object at an index no smaller than fromIndex, then the index of the first such occurrence is returned. For values of ch in the range from 0 to 0xFFFF (inclusive), this is the smallest value k such that: (this.charAt(k) == ch) && (k >= fromIndex) is true. For other values of ch, it is the smallest value k such that: (this.codePointAt(k) == ch) && (k >= fromIndex) is true. In either case, if no such character occurs in this string at or after position fromIndex, then -1 is returned. There is no restriction on the value of fromIndex. If it is negative, it has the same effect as if it were zero: this entire string may be searched. If it is greater than the length of this string, it has the same effect as if it were equal to the length of this string: -1 is returned. All indices are specified in char values (Unicode code units). Parameters ch int: a character (Unicode code point). fromIndex int: the index to start the search from. Returns int the index of the first occurrence of the character in the character sequence represented by this object that is greater than or equal to fromIndex, or -1 if the character does not occur. indexOf Added in API level 37 public int indexOf (int ch, int beginIndex, int endIndex) Returns the index within this string of the first occurrence of the specified character, starting the search at beginIndex and stopping before endIndex. If a character with value ch occurs in the character sequence represented by this String object at an index no smaller than beginIndex but smaller than endIndex, then the index of the first such occurrence is returned. For values of ch in the range from 0 to 0xFFFF (inclusive), this is the smallest value k such that: (this.charAt(k) == ch) && (beginIndex <= k < endIndex) is true. For other values of ch, it is the smallest value k such that: (this.codePointAt(k) == ch) && (beginIndex <= k < endIndex) is true. In either case, if no such character occurs in this string at or after position beginIndex and before position endIndex, then -1 is returned. All indices are specified in char values (Unicode code units). Parameters ch int: a character (Unicode code point). beginIndex int: the index to start the search from (included). endIndex int: the index to stop the search at (excluded). Returns int the index of the first occurrence of the character in the character sequence represented by this object that is greater than or equal to beginIndex and less than endIndex, or -1 if the character does not occur. Throws StringIndexOutOfBoundsException if beginIndex is negative, or endIndex is larger than the length of this String object, or beginIndex is larger than endIndex. indexOf Added in API level 1 public int indexOf (String str) Returns the index within this string of the first occurrence of the specified substring. The returned index is the smallest value k for which: this.startsWith(str, k) If no such value of k exists, then -1 is returned. Parameters str String: the substring to search for. Returns int the index of the first occurrence of the specified substring, or -1 if there is no such occurrence. indexOf Added in API level 1 public int indexOf (int ch) Returns the index within this string of the first occurrence of the specified character. If a character with value ch occurs in the character sequence represented by this String object, then the index (in Unicode code units) of the first such occurrence is returned. For values of ch in the range from 0 to 0xFFFF (inclusive), this is the smallest value k such that: this.charAt(k) == ch is true. For other values of ch, it is the smallest value k such that: this.codePointAt(k) == ch is true. In either case, if no such character occurs in this string, then -1 is returned. Parameters ch int: a character (Unicode code point). Returns int the index of the first occurrence of the character in the character sequence represented by this object, or -1 if the character does not occur. indexOf Added in API level 1 public int indexOf (String str, int fromIndex) Returns the index within this string of the first occurrence of the specified substring, starting at the specified index. The returned index is the smallest value k for which: k >= Math.min(fromIndex, this.length()) && this.startsWith(str, k) If no such value of k exists, then -1 is returned. Parameters str String: the substring to search for. fromIndex int: the index from which to start the search. Returns int the index of the first occurrence of the specified substring, starting at the specified index, or -1 if there is no such occurrence. intern Added in API level 1 public String intern () Returns a canonical representation for the string object. A pool of strings, initially empty, is maintained privately by the class String. When the intern method is invoked, if the pool already contains a string equal to this String object as determined by the equals(Object) method, then the string from the pool is returned. Otherwise, this String object is added to the pool and a reference to this String object is returned. It follows that for any two strings s and t, s.intern() == t.intern() is true if and only if s.equals(t) is true. All literal strings and string-valued constant expressions are interned. String literals are defined in section 3.10.5 of the The Java™ Language Specification. Returns String a string that has the same contents as this string, but is guaranteed to be from a pool of unique strings. isBlank Added in API level 33 public boolean isBlank () Returns true if the string is empty or contains only white space codepoints, otherwise false. Returns boolean true if the string is empty or contains only white space codepoints, otherwise false See also: Character.isWhitespace(int) isEmpty Added in API level 9 public boolean isEmpty () Returns true if, and only if, length() is 0. Returns boolean true if length() is 0, otherwise false join Added in API level 26 public static String join (CharSequence delimiter, CharSequence... elements) Returns a new String composed of copies of the CharSequence elements joined together with a copy of the specified delimiter. For example, String message = String.join("-", "Java", "is", "cool"); // message returned is: "Java-is-cool" Note that if an element is null, then "null" is added. Parameters delimiter CharSequence: the delimiter that separates each element elements CharSequence: the elements to join together. Returns String a new String that is composed of the elements separated by the delimiter Throws NullPointerException If delimiter or elements is null See also: StringJoiner join Added in API level 26 public static String join (CharSequence delimiter, Iterable<? extends CharSequence> elements) Returns a new String composed of copies of the CharSequence elements joined together with a copy of the specified delimiter. For example, List<String> strings = List.of("Java", "is", "cool"); String message = String.join(" ", strings); //message returned is: "Java is cool" Set<String> strings = new LinkedHashSet<>(List.of("Java", "is", "very", "cool")); String message = String.join("-", strings); //message returned is: "Java-is-very-cool" Note that if an individual element is null, then "null" is added. Parameters delimiter CharSequence: a sequence of characters that is used to separate each of the elements in the resulting String elements Iterable: an Iterable that will have its elements joined together. Returns String a new String that is composed from the elements argument Throws NullPointerException If delimiter or elements is null See also: join(CharSequence,CharSequence...) StringJoiner lastIndexOf Added in API level 1 public int lastIndexOf (int ch) Returns the index within this string of the last occurrence of the specified character. For values of ch in the range from 0 to 0xFFFF (inclusive), the index (in Unicode code units) returned is the largest value k such that: this.charAt(k) == ch is true. For other values of ch, it is the largest value k such that: this.codePointAt(k) == ch is true. In either case, if no such character occurs in this string, then -1 is returned. The String is searched backwards starting at the last character. Parameters ch int: a character (Unicode code point). Returns int the index of the last occurrence of the character in the character sequence represented by this object, or -1 if the character does not occur. lastIndexOf Added in API level 1 public int lastIndexOf (String str, int fromIndex) Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index. The returned index is the largest value k for which: k <= Math.min(fromIndex, this.length()) && this.startsWith(str, k) If no such value of k exists, then -1 is returned. Parameters str String: the substring to search for. fromIndex int: the index to start the search from. Returns int the index of the last occurrence of the specified substring, searching backward from the specified index, or -1 if there is no such occurrence. lastIndexOf Added in API level 1 public int lastIndexOf (String str) Returns the index within this string of the last occurrence of the specified substring. The last occurrence of the empty string "" is considered to occur at the index value this.length(). The returned index is the largest value k for which: this.startsWith(str, k) If no such value of k exists, then -1 is returned. Parameters str String: the substring to search for. Returns int the index of the last occurrence of the specified substring, or -1 if there is no such occurrence. lastIndexOf Added in API level 1 public int lastIndexOf (int ch, int fromIndex) Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index. For values of ch in the range from 0 to 0xFFFF (inclusive), the index returned is the largest value k such that: (this.charAt(k) == ch) && (k <= fromIndex) is true. For other values of ch, it is the largest value k such that: (this.codePointAt(k) == ch) && (k <= fromIndex) is true. In either case, if no such character occurs in this string at or before position fromIndex, then -1 is returned. All indices are specified in char values (Unicode code units). Parameters ch int: a character (Unicode code point). fromIndex int: the index to start the search from. There is no restriction on the value of fromIndex. If it is greater than or equal to the length of this string, it has the same effect as if it were equal to one less than the length of this string: this entire string may be searched. If it is negative, it has the same effect as if it were -1: -1 is returned. Returns int the index of the last occurrence of the character in the character sequence represented by this object that is less than or equal to fromIndex, or -1 if the character does not occur before that point. length Added in API level 1 public int length () Returns the length of this string. The length is equal to the number of Unicode code units in the string. Returns int the length of the sequence of characters represented by this object. lines Added in API level 33 public Stream<String> lines () Returns a stream of lines extracted from this string, separated by line terminators. A line terminator is one of the following: a line feed character "\n" (U+000A), a carriage return character "\r" (U+000D), or a carriage return followed immediately by a line feed "\r\n" (U+000D U+000A). A line is either a sequence of zero or more characters followed by a line terminator, or it is a sequence of one or more characters followed by the end of the string. A line does not include the line terminator. The stream returned by this method contains the lines from this string in the order in which they occur. API Note: This definition of line implies that an empty string has zero lines and that there is no empty line following a line terminator at the end of a string. Implementation Note: This method provides better performance than split("\R") by supplying elements lazily and by faster search of new line terminators. Returns Stream<String> the stream of lines extracted from this string matches Added in API level 1 public boolean matches (String regex) Tells whether or not this string matches the given regular expression. An invocation of this method of the form str.matches(regex) yields exactly the same result as the expression Pattern.matches(regex, str) Parameters regex String: the regular expression to which this string is to be matched Returns boolean true if, and only if, this string matches the given regular expression Throws PatternSyntaxException if the regular expression's syntax is invalid See also: Pattern offsetByCodePoints Added in API level 1 public int offsetByCodePoints (int index, int codePointOffset) Returns the index within this String that is offset from the given index by codePointOffset code points. Unpaired surrogates within the text range given by index and codePointOffset count as one code point each. Parameters index int: the index to be offset codePointOffset int: the offset in code points Returns int the index within this String Throws IndexOutOfBoundsException if index is negative or larger then the length of this String, or if codePointOffset is positive and the substring starting with index has fewer than codePointOffset code points, or if codePointOffset is negative and the substring before index has fewer than the absolute value of codePointOffset code points. regionMatches Added in API level 1 public boolean regionMatches (boolean ignoreCase, int toffset, String other, int ooffset, int len) Tests if two string regions are equal. A substring of this String object is compared to a substring of the argument other. The result is true if these substrings represent character sequences that are the same, ignoring case if and only if ignoreCase is true. The substring of this String object to be compared begins at index toffset and has length len. The substring of other to be compared begins at index ooffset and has length len. The result is false if and only if at least one of the following is true: toffset is negative. ooffset is negative. toffset+len is greater than the length of this String object. ooffset+len is greater than the length of the other argument. ignoreCase is false and there is some nonnegative integer k less than len such that: this.charAt(toffset+k) != other.charAt(ooffset+k) ignoreCase is true and there is some nonnegative integer k less than len such that: Character.toLowerCase(Character.toUpperCase(this.charAt(toffset+k))) != Character.toLowerCase(Character.toUpperCase(other.charAt(ooffset+k))) Note that this method does not take locale into account, and will result in unsatisfactory results for certain locales when ignoreCase is true. The Collator class provides locale-sensitive comparison. Parameters ignoreCase boolean: if true, ignore case when comparing characters. toffset int: the starting offset of the subregion in this string. other String: the string argument. ooffset int: the starting offset of the subregion in the string argument. len int: the number of characters to compare. Returns boolean true if the specified subregion of this string matches the specified subregion of the string argument; false otherwise. Whether the matching is exact or case insensitive depends on the ignoreCase argument. regionMatches Added in API level 1 public boolean regionMatches (int toffset, String other, int ooffset, int len) Tests if two string regions are equal. A substring of this String object is compared to a substring of the argument other. The result is true if these substrings represent identical character sequences. The substring of this String object to be compared begins at index toffset and has length len. The substring of other to be compared begins at index ooffset and has length len. The result is false if and only if at least one of the following is true: toffset is negative. ooffset is negative. toffset+len is greater than the length of this String object. ooffset+len is greater than the length of the other argument. There is some nonnegative integer k less than len such that: this.charAt(toffset + k) != other.charAt(ooffset + k) Note that this method does not take locale into account. The Collator class provides locale-sensitive comparison. Parameters toffset int: the starting offset of the subregion in this string. other String: the string argument. ooffset int: the starting offset of the subregion in the string argument. len int: the number of characters to compare. Returns boolean true if the specified subregion of this string exactly matches the specified subregion of the string argument; false otherwise. repeat Added in API level 33 public String repeat (int count) Returns a string whose value is the concatenation of this string repeated count times. If this string is empty or count is zero then the empty string is returned. Parameters count int: number of times to repeat Returns String A string composed of this string repeated count times or the empty string if this string is empty or count is zero Throws IllegalArgumentException if the count is negative. replace Added in API level 1 public String replace (CharSequence target, CharSequence replacement) Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence. The replacement proceeds from the beginning of the string to the end, for example, replacing "aa" with "b" in the string "aaa" will result in "ba" rather than "ab". Parameters target CharSequence: The sequence of char values to be replaced replacement CharSequence: The replacement sequence of char values Returns String The resulting string replace Added in API level 1 public String replace (char oldChar, char newChar) Returns a string resulting from replacing all occurrences of oldChar in this string with newChar. If the character oldChar does not occur in the character sequence represented by this String object, then a reference to this String object is returned. Otherwise, a String object is returned that represents a character sequence identical to the character sequence represented by this String object, except that every occurrence of oldChar is replaced by an occurrence of newChar. Examples: "mesquite in your cellar".replace('e', 'o') returns "mosquito in your collar" "the war of baronets".replace('r', 'y') returns "the way of bayonets" "sparring with a purple porpoise".replace('p', 't') returns "starring with a turtle tortoise" "JonL".replace('q', 'x') returns "JonL" (no change) Parameters oldChar char: the old character. newChar char: the new character. Returns String a string derived from this string by replacing every occurrence of oldChar with newChar. replaceAll Added in API level 1 public String replaceAll (String regex, String replacement) Replaces each substring of this string that matches the given regular expression with the given replacement. An invocation of this method of the form str.replaceAll(regex, repl) yields exactly the same result as the expression Pattern.compile(regex).matcher(str).replaceAll(repl) Note that backslashes (\) and dollar signs ($) in the replacement string may cause the results to be different than if it were being treated as a literal replacement string; see Matcher.replaceAll. Use Matcher.quoteReplacement(String) to suppress the special meaning of these characters, if desired. Parameters regex String: the regular expression to which this string is to be matched replacement String: the string to be substituted for each match Returns String The resulting String Throws PatternSyntaxException if the regular expression's syntax is invalid See also: Pattern replaceFirst Added in API level 1 public String replaceFirst (String regex, String replacement) Replaces the first substring of this string that matches the given regular expression with the given replacement. An invocation of this method of the form str.replaceFirst(regex, repl) yields exactly the same result as the expression Pattern.compile(regex).matcher(str).replaceFirst(repl) Note that backslashes (\) and dollar signs ($) in the replacement string may cause the results to be different than if it were being treated as a literal replacement string; see Matcher.replaceFirst(String). Use Matcher.quoteReplacement(String) to suppress the special meaning of these characters, if desired. Parameters regex String: the regular expression to which this string is to be matched replacement String: the string to be substituted for the first match Returns String The resulting String Throws PatternSyntaxException if the regular expression's syntax is invalid See also: Pattern split Added in API level 1 public String[] split (String regex) Splits this string around matches of the given regular expression. This method works as if by invoking the two-argument split method with the given expression and a limit argument of zero. Trailing empty strings are therefore not included in the resulting array. The string "boo:and:foo", for example, yields the following results with these expressions: Split examples showing regex and result Regex Result : { "boo", "and", "foo" } o { "b", "", ":and:f" } Parameters regex String: the delimiting regular expression Returns String[] the array of strings computed by splitting this string around matches of the given regular expression Throws PatternSyntaxException if the regular expression's syntax is invalid See also: Pattern split Added in API level 1 public String[] split (String regex, int limit) Splits this string around matches of the given regular expression. The array returned by this method contains each substring of this string that is terminated by another substring that matches the given expression or is terminated by the end of the string. The substrings in the array are in the order in which they occur in this string. If the expression does not match any part of the input then the resulting array has just one element, namely this string. When there is a positive-width match at the beginning of this string then an empty leading substring is included at the beginning of the resulting array. A zero-width match at the beginning however never produces such empty leading substring. The limit parameter controls the number of times the pattern is applied and therefore affects the length of the resulting array. If the limit is positive then the pattern will be applied at most limit - 1 times, the array's length will be no greater than limit, and the array's last entry will contain all input beyond the last matched delimiter. If the limit is zero then the pattern will be applied as many times as possible, the array can have any length, and trailing empty strings will be discarded. If the limit is negative then the pattern will be applied as many times as possible and the array can have any length. The string "boo:and:foo", for example, yields the following results with these parameters: Split example showing regex, limit, and result Regex Limit Result : 2 { "boo", "and:foo" } 5 { "boo", "and", "foo" } -2 { "boo", "and", "foo" } o 5 { "b", "", ":and:f", "", "" } -2 { "b", "", ":and:f", "", "" } 0 { "b", "", ":and:f" } An invocation of this method of the form str.split(regex, n) yields the same result as the expression Pattern.compile(regex).split(str, n) Parameters regex String: the delimiting regular expression limit int: the result threshold, as described above Returns String[] the array of strings computed by splitting this string around matches of the given regular expression Throws PatternSyntaxException if the regular expression's syntax is invalid See also: Pattern splitWithDelimiters Added in API level 37 public String[] splitWithDelimiters (String regex, int limit) Splits this string around matches of the given regular expression and returns both the strings and the matching delimiters. The array returned by this method contains each substring of this string that is terminated by another substring that matches the given expression or is terminated by the end of the string. Each substring is immediately followed by the subsequence (the delimiter) that matches the given expression, except for the last substring, which is not followed by anything. The substrings in the array and the delimiters are in the order in which they occur in the input. If the expression does not match any part of the input then the resulting array has just one element, namely this string. When there is a positive-width match at the beginning of this string then an empty leading substring is included at the beginning of the resulting array. A zero-width match at the beginning however never produces such empty leading substring nor the empty delimiter. The limit parameter controls the number of times the pattern is applied and therefore affects the length of the resulting array. If the limit is positive then the pattern will be applied at most limit - 1 times, the array's length will be no greater than 2 × limit - 1, and the array's last entry will contain all input beyond the last matched delimiter. If the limit is zero then the pattern will be applied as many times as possible, the array can have any length, and trailing empty strings will be discarded. If the limit is negative then the pattern will be applied as many times as possible and the array can have any length. The input "boo:::and::foo", for example, yields the following results with these parameters: Split example showing regex, limit, and result Regex Limit Result :+ 2 { "boo", ":::", "and::foo" } 5 { "boo", ":::", "and", "::", "foo" } -1 { "boo", ":::", "and", "::", "foo" } o 5 { "b", "o", "", "o", ":::and::f", "o", "", "o", "" } -1 { "b", "o", "", "o", ":::and::f", "o", "", "o", "" } 0 { "b", "o", "", "o", ":::and::f", "o", "", "o" } API Note: An invocation of this method of the form str.splitWithDelimiters(regex, n) yields the same result as the expression Pattern.compile(regex).ERROR(splitWithDelimiters/java.util.regex.Pattern#splitWithDelimiters(java.lang.CharSequence,int) splitWithDelimiters)(str, n) Parameters regex String: the delimiting regular expression limit int: the result threshold, as described above Returns String[] the array of strings computed by splitting this string around matches of the given regular expression, alternating substrings and matching delimiters startsWith Added in API level 1 public boolean startsWith (String prefix) Tests if this string starts with the specified prefix. Parameters prefix String: the prefix. Returns boolean true if the character sequence represented by the argument is a prefix of the character sequence represented by this string; false otherwise. Note also that true will be returned if the argument is an empty string or is equal to this String object as determined by the equals(Object) method. startsWith Added in API level 1 public boolean startsWith (String prefix, int toffset) Tests if the substring of this string beginning at the specified index starts with the specified prefix. Parameters prefix String: the prefix. toffset int: where to begin looking in this string. Returns boolean true if the character sequence represented by the argument is a prefix of the substring of this object starting at index toffset; false otherwise. The result is false if toffset is negative or greater than the length of this String object; otherwise the result is the same as the result of the expression this.substring(toffset).startsWith(prefix) strip Added in API level 33 public String strip () Returns a string whose value is this string, with all leading and trailing white space removed. If this String object represents an empty string, or if all code points in this string are white space, then an empty string is returned. Otherwise, returns a substring of this string beginning with the first code point that is not a white space up to and including the last code point that is not a white space. This method may be used to strip white space from the beginning and end of a string. Returns String a string whose value is this string, with all leading and trailing white space removed See also: Character.isWhitespace(int) stripIndent Added in API level 34 public String stripIndent () Returns a string whose value is this string, with incidental white space removed from the beginning and end of every line. Incidental white space is often present in a text block to align the content with the opening delimiter. For example, in the following code, dots represent incidental white space: String html = """ ..............<html> .............. <body> .............. <p>Hello, world</p> .............. </body> ..............</html> .............."""; This method treats the incidental white space as indentation to be stripped, producing a string that preserves the relative indentation of the content. Using | to visualize the start of each line of the string: |<html> | <body> | <p>Hello, world</p> | </body> |</html> First, the individual lines of this string are extracted. A line is a sequence of zero or more characters followed by either a line terminator or the end of the string. If the string has at least one line terminator, the last line consists of the characters between the last terminator and the end of the string. Otherwise, if the string has no terminators, the last line is the start of the string to the end of the string, in other words, the entire string. A line does not include the line terminator. Then, the minimum indentation (min) is determined as follows: For each non-blank line (as defined by String.isBlank()), the leading white space characters are counted. The leading white space characters on the last line are also counted even if blank. The min value is the smallest of these counts. For each non-blank line, min leading white space characters are removed, and any trailing white space characters are removed. Blank lines are replaced with the empty string. Finally, the lines are joined into a new string, using the LF character "\n" (U+000A) to separate lines. API Note: This method's primary purpose is to shift a block of lines as far as possible to the left, while preserving relative indentation. Lines that were indented the least will thus have no leading white space. The result will have the same number of line terminators as this string. If this string ends with a line terminator then the result will end with a line terminator. Implementation Requirements: This method treats all white space characters as having equal width. As long as the indentation on every line is consistently composed of the same character sequences, then the result will be as described above. Returns String string with incidental indentation removed and line terminators normalized See also: String.lines() String.isBlank() String.indent(int) Character.isWhitespace(int) stripLeading Added in API level 33 public String stripLeading () Returns a string whose value is this string, with all leading white space removed. If this String object represents an empty string, or if all code points in this string are white space, then an empty string is returned. Otherwise, returns a substring of this string beginning with the first code point that is not a white space up to to and including the last code point of this string. This method may be used to trim white space from the beginning of a string. Returns String a string whose value is this string, with all leading white space removed See also: Character.isWhitespace(int) stripTrailing Added in API level 33 public String stripTrailing () Returns a string whose value is this string, with all trailing white space removed. If this String object represents an empty string, or if all characters in this string are white space, then an empty string is returned. Otherwise, returns a substring of this string beginning with the first code point of this string up to and including the last code point that is not a white space. This method may be used to trim white space from the end of a string. Returns String a string whose value is this string, with all trailing white space removed See also: Character.isWhitespace(int) subSequence Added in API level 1 public CharSequence subSequence (int beginIndex, int endIndex) Returns a character sequence that is a subsequence of this sequence. An invocation of this method of the form str.subSequence(begin, end) behaves in exactly the same way as the invocation str.substring(begin, end) API Note: This method is defined so that the String class can implement the CharSequence interface. Parameters beginIndex int: the begin index, inclusive. endIndex int: the end index, exclusive. Returns CharSequence the specified subsequence. Throws IndexOutOfBoundsException if beginIndex or endIndex is negative, if endIndex is greater than length(), or if beginIndex is greater than endIndex substring Added in API level 1 public String substring (int beginIndex, int endIndex) Returns a string that is a substring of this string. The substring begins at the specified beginIndex and extends to the character at index endIndex - 1. Thus the length of the substring is endIndex-beginIndex. Examples: "hamburger".substring(4, 8) returns "urge" "smiles".substring(1, 5) returns "mile" Parameters beginIndex int: the beginning index, inclusive. endIndex int: the ending index, exclusive. Returns String the specified substring. Throws IndexOutOfBoundsException if the beginIndex is negative, or endIndex is larger than the length of this String object, or beginIndex is larger than endIndex. substring Added in API level 1 public String substring (int beginIndex) Returns a string that is a substring of this string. The substring begins with the character at the specified index and extends to the end of this string. Examples: "unhappy".substring(2) returns "happy" "Harbison".substring(3) returns "bison" "emptiness".substring(9) returns "" (an empty string) Parameters beginIndex int: the beginning index, inclusive. Returns String the specified substring. Throws IndexOutOfBoundsException if beginIndex is negative or larger than the length of this String object. toCharArray Added in API level 1 public char[] toCharArray () Converts this string to a new character array. Returns char[] a newly allocated character array whose length is the length of this string and whose contents are initialized to contain the character sequence represented by this string. toLowerCase Added in API level 1 public String toLowerCase () Converts all of the characters in this String to lower case using the rules of the default locale. This is equivalent to calling toLowerCase(Locale.getDefault()). Note: This method is locale sensitive, and may produce unexpected results if used for strings that are intended to be interpreted locale independently. Examples are programming language identifiers, protocol keys, and HTML tags. For instance, "TITLE".toLowerCase() in a Turkish locale returns "t\u0131tle", where '\u0131' is the LATIN SMALL LETTER DOTLESS I character. To obtain correct results for locale insensitive strings, use toLowerCase(Locale.ROOT). Returns String the String, converted to lowercase. See also: java.lang.String.toLowerCase(Locale) toLowerCase Added in API level 1 public String toLowerCase (Locale locale) Converts all of the characters in this String to lower case using the rules of the given Locale. Case mapping is based on the Unicode Standard version specified by the Character class. Since case mappings are not always 1:1 char mappings, the resulting String may be a different length than the original String. Examples of lowercase mappings are in the following table: Lowercase mapping examples showing language code of locale, upper case, lower case, and description Language Code of Locale Upper Case Lower Case Description tr (Turkish) \u0130 \u0069 capital letter I with dot above -> small letter i tr (Turkish) \u0049 \u0131 capital letter I -> small letter dotless i (all) French Fries french fries lowercased all chars in String (all) ΙΧΘΥΣ ιχθυσ lowercased all chars in String Parameters locale Locale: use the case transformation rules for this locale Returns String the String, converted to lowercase. See also: toLowerCase() toUpperCase() java.lang.String.toUpperCase(Locale) toString Added in API level 1 public String toString () This object (which is already a string!) is itself returned. Returns String the string itself. toUpperCase Added in API level 1 public String toUpperCase (Locale locale) Converts all of the characters in this String to upper case using the rules of the given Locale. Case mapping is based on the Unicode Standard version specified by the Character class. Since case mappings are not always 1:1 char mappings, the resulting String may be a different length than the original String. Examples of locale-sensitive and 1:M case mappings are in the following table. Examples of locale-sensitive and 1:M case mappings. Shows Language code of locale, lower case, upper case, and description. Language Code of Locale Lower Case Upper Case Description tr (Turkish) \u0069 \u0130 small letter i -> capital letter I with dot above tr (Turkish) \u0131 \u0049 small letter dotless i -> capital letter I (all) \u00df \u0053 \u0053 small letter sharp s -> two letters: SS (all) Fahrvergnügen FAHRVERGNÜGEN Parameters locale Locale: use the case transformation rules for this locale Returns String the String, converted to uppercase. See also: toUpperCase() toLowerCase() java.lang.String.toLowerCase(Locale) toUpperCase Added in API level 1 public String toUpperCase () Converts all of the characters in this String to upper case using the rules of the default locale. This method is equivalent to toUpperCase(Locale.getDefault()). Note: This method is locale sensitive, and may produce unexpected results if used for strings that are intended to be interpreted locale independently. Examples are programming language identifiers, protocol keys, and HTML tags. For instance, "title".toUpperCase() in a Turkish locale returns "T\u0130TLE", where '\u0130' is the LATIN CAPITAL LETTER I WITH DOT ABOVE character. To obtain correct results for locale insensitive strings, use toUpperCase(Locale.ROOT). Returns String the String, converted to uppercase. See also: java.lang.String.toUpperCase(Locale) transform Added in API level 34 public R transform (Function<? super String, ? extends R> f) This method allows the application of a function to this string. The function should expect a single String argument and produce an R result. Any exception thrown by f.apply() will be propagated to the caller. Parameters f Function: a function to apply Returns R the result of applying the function to this string See also: Function translateEscapes Added in API level 34 public String translateEscapes () Returns a string whose value is this string, with escape sequences translated as if in a string literal. Escape sequences are translated as follows; Translation Escape Name Translation \b backspace U+0008 \t horizontal tab U+0009 \n line feed U+000A \f form feed U+000C \r carriage return U+000D \s space U+0020 \" double quote U+0022 \' single quote U+0027 \\ backslash U+005C \0 - \377 octal escape code point equivalents \<line-terminator> continuation discard Implementation Note: This method does not translate Unicode escapes such as "\u2022". Unicode escapes are translated by the Java compiler when reading input characters and are not part of the string literal specification. Returns String String with escape sequences translated. Throws IllegalArgumentException when an escape sequence is malformed. trim Added in API level 1 public String trim () Returns a string whose value is this string, with all leading and trailing space removed, where space is defined as any character whose codepoint is less than or equal to 'U+0020' (the space character). If this String object represents an empty character sequence, or the first and last characters of character sequence represented by this String object both have codes that are not space (as defined above), then a reference to this String object is returned. Otherwise, if all characters in this string are space (as defined above), then a String object representing an empty string is returned. Otherwise, let k be the index of the first character in the string whose code is not a space (as defined above) and let m be the index of the last character in the string whose code is not a space (as defined above). A String object is returned, representing the substring of this string that begins with the character at index k and ends with the character at index m-that is, the result of this.substring(k, m + 1). This method may be used to trim space (as defined above) from the beginning and end of a string. Returns String a string whose value is this string, with all leading and trailing space removed, or this string if it has no leading or trailing space. valueOf Added in API level 1 public static String valueOf (boolean b) Returns the string representation of the boolean argument. Parameters b boolean: a boolean. Returns String if the argument is true, a string equal to "true" is returned; otherwise, a string equal to "false" is returned. valueOf Added in API level 1 public static String valueOf (double d) Returns the string representation of the double argument. The representation is exactly the one returned by the Double.toString method of one argument. Parameters d double: a double. Returns String a string representation of the double argument. See also: Double.toString(double) valueOf Added in API level 1 public static String valueOf (char[] data, int offset, int count) Returns the string representation of a specific subarray of the char array argument. The offset argument is the index of the first character of the subarray. The count argument specifies the length of the subarray. The contents of the subarray are copied; subsequent modification of the character array does not affect the returned string. Parameters data char: the character array. offset int: initial offset of the subarray. count int: length of the subarray. Returns String a String that contains the characters of the specified subarray of the character array. Throws IndexOutOfBoundsException if offset is negative, or count is negative, or offset+count is larger than data.length. valueOf Added in API level 1 public static String valueOf (float f) Returns the string representation of the float argument. The representation is exactly the one returned by the Float.toString method of one argument. Parameters f float: a float. Returns String a string representation of the float argument. See also: Float.toString(float) valueOf Added in API level 1 public static String valueOf (int i) Returns the string representation of the int argument. The representation is exactly the one returned by the Integer.toString method of one argument. Parameters i int: an int. Returns String a string representation of the int argument. See also: Integer.toString(int, int) valueOf Added in API level 1 public static String valueOf (char c) Returns the string representation of the char argument. Parameters c char: a char. Returns String a string of length 1 containing as its single character the argument c. valueOf Added in API level 1 public static String valueOf (long l) Returns the string representation of the long argument. The representation is exactly the one returned by the Long.toString method of one argument. Parameters l long: a long. Returns String a string representation of the long argument. See also: Long.toString(long) valueOf Added in API level 1 public static String valueOf (Object obj) Returns the string representation of the Object argument. Parameters obj Object: an Object. Returns String if the argument is null, then a string equal to "null"; otherwise, the value of obj.toString() is returned. See also: Object.toString() valueOf Added in API level 1 public static String valueOf (char[] data) Returns the string representation of the char array argument. The contents of the character array are copied; subsequent modification of the character array does not affect the returned string. Parameters data char: the character array. Returns String a String that contains the characters of the character array. Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates. Last updated 2026-03-26 UTC. [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-26 UTC."],[],[]] X Follow @AndroidDev on X YouTube Check out Android Developers on YouTube LinkedIn Connect with the Android Developers community on LinkedIn More Android Android Android for Enterprise Security Source News Blog Podcasts Discover Gaming Machine Learning Health & Fitness Camera & Media Privacy 5G Android Devices Large screens Wear OS ChromeOS devices Android for cars Android TV Releases Android 17 Android 16 Android 15 Android 14 Android 13 Android 12 Android 11 Documentation and Downloads Android Studio guide Developers guides API reference Download Studio Android NDK Support Report platform bug Report documentation bug Google Play support Join research studies Android Chrome Firebase Google Cloud Platform All products Privacy License Brand guidelines Manage cookies Get news and tips by email Subscribe English Deutsch Español – América Latina Français Indonesia Polski Português – Brasil Tiếng Việt 中文 – 简体 日本語 한국어