### Setup VideoCapture with Recorder Output Source: https://developer.android.com/reference/androidx/camera/video/Recorder.Builder Demonstrates how to initialize VideoCapture with a Recorder instance as its output. This setup is necessary before preparing any recordings. ```Java ProcessCameraProvider cameraProvider = ...; CameraSelector cameraSelector = ...; ... // Create our preview to show on screen Preview preview = new Preview.Builder().build(); // Create the video capture use case with a Recorder as the output VideoCapture videoCapture = VideoCapture.withOutput(new Recorder.Builder().build()); // Bind use cases to Fragment/Activity lifecycle cameraProvider.bindToLifecycle(this, cameraSelector, preview, videoCapture); ``` -------------------------------- ### Example: Building OutputFileOptions for MediaStore Source: https://developer.android.com/reference/androidx/camera/core/ImageCapture.OutputFileOptions.Builder This example demonstrates how to create ImageCapture.OutputFileOptions using the MediaStore builder, including setting display name and MIME type. ```Java ContentValues contentValues = new ContentValues(); contentValues.put(MediaStore.MediaColumns.DISPLAY_NAME, "NEW_IMAGE"); contentValues.put(MediaStore.MediaColumns.MIME_TYPE, "image/jpeg"); ImageCapture.OutputFileOptions options = new ImageCapture.OutputFileOptions.Builder( getContentResolver(), MediaStore.Images.Media.EXTERNAL_CONTENT_URI, contentValues).build(); ``` -------------------------------- ### MapWithContentTemplate Migration Example (Java) Source: https://developer.android.com/reference/androidx/car/app/navigation/model/MapTemplate.Builder An example demonstrating the migration from MapTemplate to MapWithContentTemplate, showing how to structure the content using PaneTemplate. ```java MapWithContentTemplate template = new MapWithContentTemplate.Builder() .setContentTemplate(new PaneTemplate.Builder(paneBuilder.build()) .setHeader(header) .build()) .setActionStrip(actionStrip) .setMapController(mapController) .build(); ``` -------------------------------- ### Prepare Recording with MediaStoreOutputOptions Source: https://developer.android.com/reference/androidx/camera/video/Recorder.Builder Prepares a video recording that will be saved to MediaStore. Use this to configure output options before starting the recording. Multiple PendingRecordings can be prepared, but only one can be started per Recorder instance. ```java public @NonNull PendingRecording prepareRecording( @NonNull Context context, @NonNull MediaStoreOutputOptions mediaStoreOutputOptions ) ``` -------------------------------- ### Kotlin Example using runWithMeasurementDisabled Source: https://developer.android.com/reference/androidx/benchmark/MicrobenchmarkScope Demonstrates how to use runWithMeasurementDisabled in Kotlin to exclude setup code from measurement within a benchmark. ```kotlin import androidx.benchmark.junit4.measureRepeated @Test fun bitmapProcessing() = benchmarkRule.measureRepeated { val input: Bitmap = runWithMeasurementDisabled { constructTestBitmap() } processBitmap(input) } ``` -------------------------------- ### startInstrumentation Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Starts instrumentation. ```APIDOC ## startInstrumentation ### Description Starts instrumentation. ### Method N/A (Method signature) ### Endpoint N/A ### Parameters - **className** (ComponentName) - Required - The ComponentName of the instrumentation. - **profileFile** (String) - Optional - The profile file to use. - **arguments** (Bundle) - Optional - Arguments for the instrumentation. ### Response #### Success Response - **boolean**: True if instrumentation was started successfully, false otherwise. ``` -------------------------------- ### startService Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Starts a service. ```APIDOC ## startService ### Description Starts a service. ### Method N/A (Method signature) ### Endpoint N/A ### Parameters - **service** (Intent) - Required - The intent for the service to start. ### Response #### Success Response - **ComponentName**: The ComponentName of the started service. ``` -------------------------------- ### MapTemplate Builder Example (Java) Source: https://developer.android.com/reference/androidx/car/app/navigation/model/MapTemplate.Builder An example of how to build a MapTemplate using its builder, demonstrating the use of setPane, setActionStrip, setHeader, and setMapController. ```java MapTemplate.Builder builder = new MapTemplate.Builder() .setPane(paneBuilder.build()) .setActionStrip(actionStrip) .setHeader(header) .setMapController(mapController) .build(); ``` -------------------------------- ### startActivity Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Starts an activity. ```APIDOC ## startActivity ### Description Starts an activity. ### Method N/A (Method signature) ### Endpoint N/A ### Parameters - **intent** (Intent) - Required - The intent to start. ### Response None ``` -------------------------------- ### Example BaseAdapter Implementation with ThemedSpinnerAdapter.Helper Source: https://developer.android.com/reference/androidx/appcompat/widget/ThemedSpinnerAdapter.Helper An example of how to implement a custom BaseAdapter using ThemedSpinnerAdapter.Helper to manage themed dropdown views. This demonstrates inflating dropdown views with a theme-aware LayoutInflater and handling theme changes. ```java public class MyAdapter extends BaseAdapter implements ThemedSpinnerAdapter { private final ThemedSpinnerAdapter.Helper mDropDownHelper; public CheeseAdapter(Context context) { mDropDownHelper = new ThemedSpinnerAdapter.Helper(context); // ... } @Override public View getDropDownView(int position, View convertView, ViewGroup parent) { View view; if (convertView == null) { // Inflate the drop down using the helper's LayoutInflater LayoutInflater inflater = mDropDownHelper.getDropDownViewInflater(); view = inflater.inflate(R.layout.my_dropdown, parent, false); } // ... } @Override public void setDropDownViewTheme(@Nullable Resources.Theme theme) { // Pass the new theme to the helper mDropDownHelper.setDropDownViewTheme(theme); } @Override public Resources.Theme getDropDownViewTheme() { // Return the helper's value return mDropDownHelper.getDropDownViewTheme(); } } ``` -------------------------------- ### startForegroundService Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Starts a foreground service. ```APIDOC ## startForegroundService ### Description Starts a foreground service. ### Method N/A (Method signature) ### Endpoint N/A ### Parameters - **service** (Intent) - Required - The intent for the service to start. ### Response #### Success Response - **ComponentName**: The ComponentName of the started service. ``` -------------------------------- ### startActivities Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Starts a sequence of activities. ```APIDOC ## startActivities ### Description Starts a sequence of activities. ### Method N/A (Method signature) ### Endpoint N/A ### Parameters - **intents** (Intent[]) - Required - An array of intents to start. ### Response None ``` -------------------------------- ### Prepare Recording to File Source: https://developer.android.com/reference/androidx/camera/video/Recorder.Builder Prepares a recording to be saved to a File. Multiple calls generate independent PendingRecordings. The recording starts when 'start' is called. ```java public @NonNull PendingRecording prepareRecording( @NonNull Context context, @NonNull FileOutputOptions fileOutputOptions ) ``` -------------------------------- ### startIntentSender Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Starts an IntentSender. ```APIDOC ## startIntentSender ### Description Starts an IntentSender. ### Method N/A (Method signature) ### Endpoint N/A ### Parameters - **intent** (IntentSender) - Required - The IntentSender to start. - **fillInIntent** (Intent) - Optional - An intent to fill in the IntentSender. - **flagsMask** (int) - Required - A mask for the flags. - **flagsValues** (int) - Required - The flag values. - **extraFlags** (int) - Required - Extra flags. ### Response None ``` -------------------------------- ### startActionMode Source: https://developer.android.com/reference/androidx/appcompat/widget/AppCompatImageView Starts an action mode with the given callback. ```APIDOC ## startActionMode ### Description Starts an action mode with the given callback. ### Method ActionMode ### Parameters * **callback** (ActionMode.Callback) - The callback to use for the action mode. ### Returns The ActionMode that was started, or null if it could not be started. ``` -------------------------------- ### Kotlin Usage Example for ExtensionSessionConfig Source: https://developer.android.com/reference/androidx/camera/extensions/ExtensionSessionConfig.Builder Demonstrates how to create and bind an ExtensionSessionConfig for a specific extension mode like NIGHT. Ensure the extension is available before creating the config. This example requires a coroutine scope. ```kotlin val extensionsManager = ExtensionsManager.getInstanceAsync(context, cameraProvider).await() val cameraSelector = CameraSelector.DEFAULT_BACK_CAMERA if (extensionsManager.isExtensionAvailable(cameraSelector, ExtensionMode.NIGHT)) { // This is the correct time to create an ExtensionSessionConfig val imageCapture = ImageCapture.Builder().build() val preview = Preview.Builder().build() val config = ExtensionSessionConfig.Builder( ExtensionMode.NIGHT, extensionsManager ) .addUseCase(preview) .addUseCase(imageCapture) .build() // Now it's safe to bind the configuration cameraProvider.bindToLifecycle(lifecycleOwner, cameraSelector, config) } else { // Handle the case where the extension is not available. } ``` -------------------------------- ### getInitializationFuture Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Gets a ListenableFuture that completes when camera initialization completes. ```APIDOC ## getInitializationFuture ### Description Gets a `ListenableFuture` that completes when the camera has finished its initialization process. This can be used to ensure that camera operations are not attempted before the camera is ready. ### Method `@NonNull ListenableFuture` ### Parameters None ### Response #### Success Response (200) - **ListenableFuture** - A future that completes when initialization is done. ``` -------------------------------- ### prepareRecording Source: https://developer.android.com/reference/androidx/camera/video/Recorder.Builder Prepares a recording that will be saved to a MediaStore. The provided MediaStoreOutputOptions specifies the options which will be used to save the recording to a MediaStore. Calling this method multiple times will generate multiple PendingRecordings, each of the recordings can be used to adjust per-recording settings individually. The recording will not begin until start is called. Only a single pending recording can be started per Recorder instance. ```APIDOC ## prepareRecording ### Description Prepares a recording that will be saved to a MediaStore. The provided MediaStoreOutputOptions specifies the options which will be used to save the recording to a MediaStore. Calling this method multiple times will generate multiple PendingRecordings, each of the recordings can be used to adjust per-recording settings individually. The recording will not begin until start is called. Only a single pending recording can be started per Recorder instance. ### Method ```java public @NonNull PendingRecording prepareRecording( @NonNull Context context, @NonNull MediaStoreOutputOptions mediaStoreOutputOptions ) ``` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **context** (@NonNull Context) - the context used to enforce runtime permissions, interface with the media scanner service, and attribute access to permission protected data, such as audio. If using this context to audit audio access on API level 31+, a context created with `createAttributionContext` should be used. - **mediaStoreOutputOptions** (@NonNull MediaStoreOutputOptions) - the options that configures how the output will be handled. ### Returns - **@NonNull PendingRecording** - a `PendingRecording` that is associated with this Recorder. ### See also - `MediaStoreOutputOptions` ``` -------------------------------- ### NAVIGATION_STARTED Source: https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsCallback Sent when the tab has started loading a page. ```APIDOC ## NAVIGATION_STARTED ### Description Sent when the tab has started loading a page. ### Value 1 ``` -------------------------------- ### startAnimation Source: https://developer.android.com/reference/androidx/appcompat/widget/AppCompatImageView Starts the given animation on this view. ```APIDOC ## startAnimation ### Description Starts the given animation on this view. ### Method void ### Parameters * **animation** (Animation) - The animation to start. ``` -------------------------------- ### Get Start Time in Milliseconds Source: https://developer.android.com/reference/androidx/appsearch/builtintypes/Timer Returns the timer's start time in milliseconds, based on the currentTimeMillis time base. This time is set when a new or reset timer begins and is unaffected by pausing or resuming. ```Java public long getStartTimeMillis() ``` -------------------------------- ### Get Longitude from CarLocation (Java) Source: https://developer.android.com/reference/androidx/car/app/model/CarLocation Retrieves the longitude value of the CarLocation in degrees. This method is available starting from version 1.0.0. ```java public double getLongitude() ``` -------------------------------- ### Get Latitude from CarLocation (Java) Source: https://developer.android.com/reference/androidx/car/app/model/CarLocation Retrieves the latitude value of the CarLocation in degrees. This method is available starting from version 1.0.0. ```java public double getLatitude() ``` -------------------------------- ### Setup and Binding LifecycleCameraController Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Demonstrates how to set up and bind a LifecycleCameraController to a LifecycleOwner and PreviewView. This is typically done during application startup or when a camera preview is needed. ```java // Setup. CameraController controller = new LifecycleCameraController(context); controller.bindToLifecycle(lifecycleOwner); PreviewView previewView = findViewById(R.id.preview_view); previewView.setController(controller); ``` -------------------------------- ### Get Actions - ActionStrip (Java) Source: https://developer.android.com/reference/androidx/car/app/model/ActionStrip.Builder Retrieves the list of Actions contained within the ActionStrip. This method is available starting from version 1.0.0. ```java public @NonNull List getActions() ``` -------------------------------- ### connectAndInitialize Source: https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsClient Connects to the Custom Tabs warmup service and initializes the browser. Returns true if the connection and initialization were successful. ```APIDOC ## connectAndInitialize ### Description Connects to the Custom Tabs warmup service, and initializes the browser. ### Method ```java public static boolean connectAndInitialize(@NonNull Context context, @NonNull String packageName) ``` ### Parameters #### Path Parameters - **context** (Context) - Required - The application context. - **packageName** (String) - Required - The package name of the Custom Tabs service to connect to. ### Response #### Success Response - **boolean** - True if the connection and initialization were successful, false otherwise. ``` -------------------------------- ### Get URL Source: https://developer.android.com/reference/androidx/appsearch/builtintypes/Thing Retrieves the deeplink URL for the Thing. This URL can be used to navigate directly to the item's representation, for example, in a web browser or app. ```java public @Nullable String getUrl() ``` -------------------------------- ### Get Zoom State Source: https://developer.android.com/reference/androidx/camera/core/CameraInfo Returns a LiveData object representing the current ZoomState. This LiveData is updated when zoom is changed via setZoomRatio or setLinearZoom, or when a camera starts up. ```Java abstract @NonNull LiveData getZoomState() ``` -------------------------------- ### invalidate Source: https://developer.android.com/reference/androidx/car/app/AppManager Requests the current template to be invalidated, which eventually triggers a call to `onGetTemplate` to get the new template to display. This method is available starting from API level 1.0.0. ```APIDOC ## invalidate ### Description Requests the current template to be invalidated, which eventually triggers a call to `onGetTemplate` to get the new template to display. ### Method `void` ### Endpoint `invalidate()` ### Throws - `androidx.car.app.HostException` - if the remote call fails ``` -------------------------------- ### Get First Action Of Type - ActionStrip (Java) Source: https://developer.android.com/reference/androidx/car/app/model/ActionStrip.Builder Returns the first Action that matches the specified action type. Returns null if no matching Action is found. This method is available starting from version 1.0.0. ```java public @Nullable Action getFirstActionOfType(int actionType) ``` -------------------------------- ### getStartTimeMillis Source: https://developer.android.com/reference/androidx/appsearch/builtintypes/Timer Returns the start time in milliseconds using the currentTimeMillis time base. The start time is the first time that a new Timer, or a Timer that has been reset is started. Pausing and resuming should not change its start time. ```APIDOC ## getStartTimeMillis ### Description Returns the start time in milliseconds using the `currentTimeMillis` time base. The start time is the first time that a new Timer, or a Timer that has been reset is started. Pausing and resuming should not change its start time. ### Method public long getStartTimeMillis() ### Returns (long) The start time in milliseconds. ``` -------------------------------- ### Get Description Source: https://developer.android.com/reference/androidx/appsearch/builtintypes/Thing Retrieves the description of the Thing. Use this method to get a textual explanation or summary of the item. ```java public @Nullable String getDescription() ``` -------------------------------- ### prepareRecording (FileOutputOptions) Source: https://developer.android.com/reference/androidx/camera/video/Recorder.Builder Prepares a video recording to be saved to a File. Multiple PendingRecordings can be generated, and each can be used to adjust per-recording settings individually. The recording will not begin until 'start' is called. ```APIDOC ## prepareRecording (FileOutputOptions) ### Description Prepares a video recording that will be saved to a `File`. The provided `FileOutputOptions` specifies the file to use. Multiple `PendingRecording` instances can be created, allowing for individual adjustment of recording settings. The actual recording process begins only after `start` is invoked. ### Method ```java public @NonNull PendingRecording prepareRecording( @NonNull Context context, @NonNull FileOutputOptions fileOutputOptions ) ``` ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response - **PendingRecording** (`@NonNull PendingRecording`) - A `PendingRecording` that is associated with this Recorder. #### Response Example None ``` -------------------------------- ### Get Sensor Rotation Degrees Source: https://developer.android.com/reference/androidx/camera/core/CameraInfo Get the sensor rotation in degrees relative to the device's natural orientation. ```java abstract int getSensorRotationDegrees() ``` -------------------------------- ### TransitionAdapter Source: https://developer.android.com/reference/androidx/constraintlayout/classes No description available. ```APIDOC ## Class: TransitionAdapter ### Description No description available. ### Class TransitionAdapter ``` -------------------------------- ### Get Name Source: https://developer.android.com/reference/androidx/appsearch/builtintypes/Thing Retrieves the primary name of the Thing. Use this method to get the main identifier or title of the item. ```java public @Nullable String getName() ``` -------------------------------- ### getSynchronousResult for RequestPermission Source: https://developer.android.com/reference/androidx/activity/result/contract/ActivityResultContracts.TakeVideo Optionally provides a synchronous result, bypassing the need to start an activity. Returns null if the activity should be started. ```java public ActivityResultContract.SynchronousResult<@NonNull Boolean> getSynchronousResult(@NonNull Context context, @NonNull String input) ``` -------------------------------- ### Using KDoc for AppFunction Description Source: https://developer.android.com/reference/androidx/appfunctions/service/AppFunction Example demonstrating how to use KDoc annotations to automatically populate function and parameter descriptions. ```kotlin /** * Creates a new note with a given title and content. * * @param title The title of the note. * @param content The main body or text of the note. * @return The created note. * @throws IllegalArgumentException if the `title` or `content` is empty or too long. */ @AppFunction(isDescribedByKDoc = true) fun CreateNote(title: String, content: String): Note { .. } ``` -------------------------------- ### MetricCapture captureStart Method Source: https://developer.android.com/reference/androidx/benchmark/MetricCapture Abstract method to start collecting data for a run. It is called at the beginning of each run and receives the current time in nanoseconds. ```java public abstract void captureStart(long timeNs) ``` -------------------------------- ### Remove Multiple Elements from Start Source: https://developer.android.com/reference/androidx/collection/CircularArray Removes a specified number of elements from the start of the CircularArray. If the count is less than or equal to 0, no elements are removed. ```java public final void removeFromStart(int count) ``` -------------------------------- ### captureStart Source: https://developer.android.com/reference/androidx/benchmark/MetricCapture Starts collecting data for a benchmark run. This method is called at the beginning of each run and can be used to initialize timing metrics. ```APIDOC ## captureStart ### Description Starts collecting data for a run. Called at the start of each run. ### Method abstract void ### Endpoint N/A (Method call) ### Parameters #### Path Parameters * **timeNs** (long) - Required - Current time, just before starting metrics. Can be used directly to drive a timing metric produced. ``` -------------------------------- ### connectAndInitialize Source: https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsClient Connects to the Custom Tabs warmup service and initializes the browser. This convenience method connects to the service and immediately warms up the Custom Tabs implementation. ```APIDOC ## connectAndInitialize ### Description Connects to the Custom Tabs warmup service, and initializes the browser. This convenience method connects to the service, and immediately warms up the Custom Tabs implementation. Since service connection is asynchronous, the return code is not the return code of warmup. This call is optional, and clients are encouraged to connect to the service, call `warmup()` and create a session. In this case, calling this method is not necessary. ### Method ```java public static boolean connectAndInitialize(@NonNull Context context, @NonNull String packageName) ``` ### Parameters #### Path Parameters - **context** (`Context`) - Required - Context to use to connect to the remote service. - **packageName** (`String`) - Required - Package name of the target implementation. ### Returns - **boolean** - Whether the binding was successful. ``` -------------------------------- ### Example Usage of CarIconSpan Source: https://developer.android.com/reference/androidx/car/app/model/CarIconSpan This example demonstrates creating a SpannableString and setting a CarIconSpan to replace a portion of the text with an icon. The icon is created from a resource. ```Java SpannableString string = new SpannableString("Turn right on 520 East"); string.setSpan( CarIconSpan.create(new CarIcon.Builder( IconCompat.createWithResource(getCarContext(), R.drawable.ic_520_highway))), 14, 17, SPAN_INCLUSIVE_EXCLUSIVE); ``` -------------------------------- ### Get Mandatory System Gesture Insets (Deprecated) Source: https://developer.android.com/reference/androidx/core/view/WindowInsetsCompat.Type Deprecated method to get mandatory system gesture insets. Use getInsets with mandatorySystemGestures instead. ```java public @NonNull Insets ~~getMandatorySystemGestureInsets~~() ``` -------------------------------- ### PickVisualMediaRequest Constructor (1.10.0) Source: https://developer.android.com/reference/androidx/activity/result/PickVisualMediaRequestKt Creates a request for a PickMultipleVisualMedia or PickVisualMedia Activity Contract with specified accent color, media type, maximum items, selection order, and default tab. ```APIDOC ## PickVisualMediaRequest(long accentColor, ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab) ### Description Creates a request for a `PickMultipleVisualMedia` or `androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia` Activity Contract. ### Parameters #### Path Parameters - None #### Query Parameters - None #### Request Body - None ### Parameters - **accentColor** (long) - color long to customize picker accent color. Note that the support for this parameter was added in API level 35 / R ext 12 and applies the default behavior for older versions. Also see `android.provider.MediaStore.EXTRA_PICK_IMAGES_ACCENT_COLOR` - **mediaType** (ActivityResultContracts.PickVisualMedia.VisualMediaType) - Required - type to go into the PickVisualMediaRequest - **maxItems** (int) - Required - limit the number of selectable items when using `PickMultipleVisualMedia` - **isOrderedSelection** (boolean) - Optional - whether the user can control the order of selected media when using `PickMultipleVisualMedia` (defaults to false) - **defaultTab** (ActivityResultContracts.PickVisualMedia.DefaultTab) - Required - the tab to initially open the picker in (defaults to `DefaultTab.PhotosTab`). Note that the support for this parameter was added in API level 35 / R ext 12 and applies the default behavior for older versions. Also see `android.provider.MediaStore.EXTRA_PICK_IMAGES_LAUNCH_TAB` ### Returns - **PickVisualMediaRequest** - a PickVisualMediaRequest that contains the given input ``` -------------------------------- ### onExtraCallbackWithResult Example Usage Source: https://developer.android.com/reference/androidx/browser/auth/AuthTabCallback Demonstrates how to return a result from onExtraCallbackWithResult and how the caller can check for success. ```java Bundle result = new Bundle(); result.putString("message", message); if (success) result.putBoolean(CustomTabsService#KEY_SUCCESS, true); return result; ``` ```java Bundle result = extraCallbackWithResult(callbackName, args); if (result.getBoolean(CustomTabsService#KEY_SUCCESS)) { // callback was successfully handled } ``` -------------------------------- ### Event Builder Constructor with Namespace, ID, and Start Date Source: https://developer.android.com/reference/androidx/appsearch/builtintypes/Event Use this constructor to create a new Event.Builder with essential information like namespace, ID, and start date. ```java public Builder( @NonNull String namespace, @NonNull String id, @NonNull Instant startDate ) ``` -------------------------------- ### Connect and Initialize Custom Tabs Source: https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsClient Connects to the Custom Tabs warmup service and initializes the browser. This is a preparatory step before launching Custom Tabs. ```java static boolean connectAndInitialize(@NonNull Context context, @NonNull String packageName) ``` -------------------------------- ### Get Intrinsic Zoom Ratio Source: https://developer.android.com/reference/androidx/camera/core/CameraInfo Get the intrinsic zoom ratio of the camera, calculated based on focal length and sensor size. This is an approximate value and may not be perfectly accurate. ```java default @FloatRange(from = 0, fromInclusive = false) float getIntrinsicZoomRatio() ``` -------------------------------- ### HostInfo Constructor Source: https://developer.android.com/reference/androidx/car/app/HostInfo Constructs an instance of the HostInfo from the required package name, UID and API level. ```APIDOC ## HostInfo Constructor ### Description Constructs an instance of the HostInfo from the required package name, UID and API level. ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) None #### Response Example None ``` -------------------------------- ### getRowStride() Method - Java Source: https://developer.android.com/reference/androidx/camera/core/ImageProxy Returns the row stride for the image plane. This indicates the number of bytes between the start of one row and the start of the next row. This method is part of the ImageProxy.PlaneProxy interface. ```Java abstract int getRowStride() ``` -------------------------------- ### HostInfo Constructor (Java) Source: https://developer.android.com/reference/androidx/car/app/HostInfo Constructs an instance of HostInfo with the host's package name and UID. ```java public HostInfo(@NonNull String packageName, int uid) ``` -------------------------------- ### getSystemWindowInsetRight Source: https://developer.android.com/reference/androidx/core/view/WindowInsetsCompat.Type Returns the right system window inset. ```APIDOC ## getSystemWindowInsetRight() ### Description Returns the right system window inset. ### Returns The right system window inset in pixels. ``` -------------------------------- ### WindowInsetsCompat Constructor Source: https://developer.android.com/reference/androidx/core/view/WindowInsetsCompat.Type Constructs a new WindowInsetsCompat instance. ```APIDOC ## Public constructors ### WindowInsetsCompat Added in 1.1.0 ```java public WindowInsetsCompat(@Nullable WindowInsetsCompat src) ``` Constructs a new WindowInsetsCompat, copying all values from a source WindowInsetsCompat. Parameters --- `@Nullable WindowInsetsCompat src` | source from which values are copied ``` -------------------------------- ### PickVisualMediaRequest Constructor (1.11.0) Source: https://developer.android.com/reference/androidx/activity/result/PickVisualMediaRequestKt Creates a request for a PickMultipleVisualMedia or PickVisualMedia Activity Contract with media capabilities, media type, maximum items, selection order, and default tab. Requires API level 33. ```APIDOC ## PickVisualMediaRequest(ActivityResultContracts.PickVisualMedia.MediaCapabilities mediaCapabilitiesForTranscoding, ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab) ### Description Creates a request for a `PickMultipleVisualMedia` or `androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia` Activity Contract. ### Parameters #### Path Parameters - None #### Query Parameters - None #### Request Body - None ### Parameters - **mediaCapabilitiesForTranscoding** (ActivityResultContracts.PickVisualMedia.MediaCapabilities) - the `MediaCapabilities` that the application can handle. - **mediaType** (ActivityResultContracts.PickVisualMedia.VisualMediaType) - Required - type to go into the PickVisualMediaRequest - **maxItems** (int) - Required - limit the number of selectable items when using `PickMultipleVisualMedia` - **isOrderedSelection** (boolean) - Optional - whether the user can control the order of selected media when using `PickMultipleVisualMedia` (defaults to false) - **defaultTab** (ActivityResultContracts.PickVisualMedia.DefaultTab) - Required - the tab to initially open in the picker (defaults to `DefaultTab.PhotosTab`) ### Returns - **PickVisualMediaRequest** - a PickVisualMediaRequest that contains the given input ``` -------------------------------- ### getPixelStride() Method - Java Source: https://developer.android.com/reference/androidx/camera/core/ImageProxy Returns the pixel stride for the image plane. This indicates the number of bytes between the start of one pixel and the start of the next pixel in the same row. This method is part of the ImageProxy.PlaneProxy interface. ```Java abstract int getPixelStride() ``` -------------------------------- ### Example: Simple API Level Check (Java) Source: https://developer.android.com/reference/androidx/annotation/ChecksSdkIntAtLeast Demonstrates a simple check to see if the SDK version is at least Android O (API level 26). ```java // Simple version check @ChecksSdkIntAtLeast(api = Build.VERSION_CODES.O) public static boolean isAtLeastO() { return Build.VERSION.SDK_INT >= 26; } ``` -------------------------------- ### PickVisualMediaRequest Constructor with MediaCapabilities (API 33+) Source: https://developer.android.com/reference/androidx/activity/result/PickVisualMediaRequestKt Creates a request for PickMultipleVisualMedia or PickVisualMedia, requiring API level 33 or higher. Allows specifying media capabilities for transcoding, media type, max items, ordered selection, and default tab. ```java @RequiresApi(value = 33) public static final @NonNull PickVisualMediaRequest PickVisualMediaRequest( ActivityResultContracts.PickVisualMedia.MediaCapabilities mediaCapabilitiesForTranscoding, @NonNull ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, @NonNull ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab ) ``` -------------------------------- ### Custom TraceMetric Implementation Example Source: https://developer.android.com/reference/androidx/benchmark/macro/TraceMetric Example of a custom TraceMetric implementation that captures the duration of the first 'activityResume' trace section for a target package. This snippet demonstrates how to query trace data and return measurements. ```kotlin class ActivityResumeMetric : TraceMetric() { override fun getMeasurements( captureInfo: CaptureInfo, traceSession: TraceProcessor.Session ): List { val rowSequence = traceSession.query( """ SELECT slice.name as name, slice.ts as ts, slice.dur as dur FROM slice INNER JOIN thread_track on slice.track_id = thread_track.id INNER JOIN thread USING(utid) INNER JOIN process USING(upid) WHERE process.name LIKE ${captureInfo.targetPackageName} AND slice.name LIKE "activityResume" """.trimIndent() ) // this metric queries a single slice type to produce submetrics, but could be extended // to capture timing of every component of activity lifecycle val activityResultNs = rowSequence.firstOrNull()?.double("dur") return if (activityResultNs != null) { listOf(Measurement("activityResumeMs", activityResultNs / 1_000_000.0)) } else { emptyList() } } } ``` -------------------------------- ### Launch Authentication Source: https://developer.android.com/reference/androidx/biometric/AuthenticationResultLauncher Use the launch() method to initiate an authentication. This requires an AuthenticationRequest input and can only be called after the Activity or Fragment's Lifecycle has reached CREATED. ```java abstract void launch(@NonNull AuthenticationRequest input) ``` -------------------------------- ### getStartupMode Method (Java) Source: https://developer.android.com/reference/androidx/benchmark/macro/Metric.Measurement Retrieves the StartupMode for the target application. Returns null if the app was not forced to launch in a specific state. ```java public final StartupMode getStartupMode() ``` -------------------------------- ### StartupTimingMetric Constructor Source: https://developer.android.com/reference/androidx/benchmark/macro/StartupTimingMetric Constructs a new StartupTimingMetric. This metric captures app startup timing metrics. ```APIDOC ## StartupTimingMetric() ### Description Constructs a new StartupTimingMetric. This metric captures app startup timing metrics, specifically `timeToInitialDisplayMs` and `timeToFullDisplayMs`. ### Method ```java public StartupTimingMetric() ``` ### Parameters This constructor does not take any parameters. ### Response This constructor does not return a value. ``` -------------------------------- ### startNestedScroll Source: https://developer.android.com/reference/androidx/appcompat/widget/AppCompatImageView Starts a nested scrolling operation. ```APIDOC ## startNestedScroll ### Description Starts a nested scrolling operation. ### Method boolean ### Parameters * **axes** (int) - The axes for nested scrolling. ### Returns True if nested scrolling was started, false otherwise. ``` -------------------------------- ### PickVisualMediaRequest Constructor (mediaType, maxItems, isOrderedSelection, defaultTab) Source: https://developer.android.com/reference/androidx/activity/result/PickVisualMediaRequestKt Creates a request for PickMultipleVisualMedia or PickVisualMedia Activity Contract. Use this to specify the media type, maximum selectable items, selection order, and the default tab for the picker. ```java public final class PickVisualMediaRequestKt ``` ```java public static final @NonNull PickVisualMediaRequest PickVisualMediaRequest( @NonNull ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, @NonNull ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab ) ``` ```java public static final @NonNull PickVisualMediaRequest PickVisualMediaRequest( long accentColor, @NonNull ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, @NonNull ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab ) ``` ```java @RequiresApi(value = 33) public static final @NonNull PickVisualMediaRequest PickVisualMediaRequest( ActivityResultContracts.PickVisualMedia.MediaCapabilities mediaCapabilitiesForTranscoding, @NonNull ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, @NonNull ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab ) ``` ```java @RequiresApi(value = 33) public static final @NonNull PickVisualMediaRequest PickVisualMediaRequest( ActivityResultContracts.PickVisualMedia.MediaCapabilities mediaCapabilitiesForTranscoding, long accentColor, @NonNull ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, @NonNull ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab ) ``` ```java public static final @NonNull PickVisualMediaRequest PickVisualMediaRequest( @NonNull ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, @NonNull ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab ) ``` -------------------------------- ### getQualitySelector Source: https://developer.android.com/reference/androidx/camera/video/Recorder.Builder Gets the quality selector of this Recorder. ```APIDOC ## getQualitySelector ### Description Gets the quality selector of this Recorder. ### Returns - `@NonNull QualitySelector`: The quality selector of this Recorder. ``` -------------------------------- ### getVideoCaptureDynamicRange Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Gets the DynamicRange for video capture. ```APIDOC ## getVideoCaptureDynamicRange ### Description Gets the `DynamicRange` that is currently configured for video capture. This affects the range of brightness and color that can be recorded. ### Method `@NonNull DynamicRange` ### Parameters None ### Response #### Success Response (200) - **DynamicRange** - The current `DynamicRange` for video capture. ``` -------------------------------- ### MotionScene.Transition.TransitionOnClick Source: https://developer.android.com/reference/androidx/constraintlayout/classes No description available. ```APIDOC ## Class: MotionScene.Transition.TransitionOnClick ### Description No description available. ### Class MotionScene.Transition.TransitionOnClick ``` -------------------------------- ### getImageCaptureFlashMode Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Gets the flash mode for ImageCapture. ```APIDOC ## getImageCaptureFlashMode ### Description Gets the flash mode that is currently configured for `ImageCapture`. ### Method `int` ### Parameters None ### Response #### Success Response (200) - **int** - The current flash mode for `ImageCapture`. ``` -------------------------------- ### AppInfo Constructor Source: https://developer.android.com/reference/androidx/car/app/AppInfo Creates an instance of AppInfo with the provided version information. ```APIDOC ## AppInfo Constructor ### Description Creates an instance of `AppInfo` with the provided version information. ### Parameters * **minCarAppApiLevel** (int) - The minimal API level that can work with an app built with the library. * **latestCarAppApiLevel** (int) - The latest API level the library supports. * **libraryVersion** (String) - The library artifact version. ``` -------------------------------- ### Create AppCompat View (Simplified) Source: https://developer.android.com/reference/androidx/appcompat/app/AppCompatViewInflater Creates an AppCompat-compatible widget with a simplified signature. This method is protected and intended for internal use. ```java protected @Nullable View createView(Context context, String name, AttributeSet attrs) ``` -------------------------------- ### getCameraSelector Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Gets the currently configured CameraSelector. ```APIDOC ## getCameraSelector ### Description Gets the `CameraSelector` that is currently configured for the camera. ### Method `@NonNull CameraSelector` ### Parameters None ### Response #### Success Response (200) - **CameraSelector** - The current `CameraSelector`. ``` -------------------------------- ### Get Assets Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Retrieves the AssetManager for this context. ```java public AssetManager getAssets() ``` -------------------------------- ### connectAndInitialize Source: https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsClient Connects to the CustomTabsService and initializes it. This is a comprehensive method for establishing a connection and preparing the service for use. ```APIDOC ## connectAndInitialize ### Description Connects to the CustomTabsService and initializes it. This is a comprehensive method for establishing a connection and preparing the service for use. ### Method (Not specified in source) ### Endpoint (Not specified in source) ### Parameters (No parameters specified in source) ### Request Example (No request example specified in source) ### Response #### Success Response (No success response specified in source) #### Response Example (No response example specified in source) ``` -------------------------------- ### Pointer and State Methods Source: https://developer.android.com/reference/androidx/appcompat/widget/LinearLayoutCompat.LayoutParams Methods for setting pointer icons, pressed state, and render effects. ```APIDOC ## setPointerIcon ### Description Sets the pointer icon for this view. ### Method `void` ### Parameters - **pointerIcon** (PointerIcon) - The pointer icon. ``` ```APIDOC ## setPreferKeepClear ### Description Sets whether to prefer keeping the clear area. ### Method `final void` ### Parameters - **preferKeepClear** (boolean) - True to prefer keeping the clear area. ``` ```APIDOC ## setPreferKeepClearRects ### Description Sets the rectangles to prefer keeping clear. ### Method `final void` ### Parameters - **rects** (List) - A list of rectangles. ``` ```APIDOC ## setPressed ### Description Sets the pressed state of this view. ### Method `void` ### Parameters - **pressed** (boolean) - True to set the pressed state. ``` ```APIDOC ## setRenderEffect ### Description Sets the render effect for this view. ### Method `void` ### Parameters - **renderEffect** (RenderEffect) - The render effect. ``` ```APIDOC ## setRevealOnFocusHint ### Description Sets whether to reveal on focus hint. ### Method `final void` ### Parameters - **revealOnFocus** (boolean) - True to reveal on focus hint. ``` ```APIDOC ## setRight ### Description Sets the right boundary of this view. ### Method `final void` ### Parameters - **right** (int) - The right position. ``` -------------------------------- ### getAction Method Source: https://developer.android.com/reference/androidx/car/app/model/signin/ProviderSignInMethod Returns the Action the user can use to initiate the sign-in with a given provider. ```APIDOC ## getAction() ### Description Returns the `Action` the user can use to initiate the sign-in with a given provider. ### Returns * `@NonNull Action` - The action to initiate sign-in. ``` -------------------------------- ### get Source: https://developer.android.com/reference/androidx/collection/CircularArray Retrieves the element at the specified index in the CircularArray. ```APIDOC ## get ### Description Gets the nth (0 <= n <= size()-1) element of the `CircularArray`. ### Parameters * `index` (int) - The zero-based element index in the `CircularArray`. ### Returns * `@NonNull E` - The nth element. ### Throws * `IndexOutOfBoundsException` - if n < 0 or n >= size() ``` -------------------------------- ### QRCodeSignInMethod constructor Source: https://developer.android.com/reference/androidx/car/app/model/signin/QRCodeSignInMethod Returns a QRCodeSignInMethod instance. ```APIDOC ## QRCodeSignInMethod(@NonNull Uri uri) ### Description Returns a `QRCodeSignInMethod` instance. ### Parameters #### Path Parameters - **uri** (Uri) - Required - the URL to be used in creating a QR Code. ### Throws - **java.lang.NullPointerException** - if url is null ``` -------------------------------- ### getVideoCapabilitiesSource Source: https://developer.android.com/reference/androidx/camera/video/Recorder.Builder Gets the video capabilities source of this Recorder. ```APIDOC ## getVideoCapabilitiesSource ### Description Gets the video capabilities source of this Recorder. ### Returns - `int`: The video capabilities source. ``` -------------------------------- ### Create Global Search Session Async Source: https://developer.android.com/reference/androidx/appsearch/playservicesstorage/PlayServicesStorage.SearchContext Opens a new GlobalSearchSession on this storage. Requires a GlobalSearchContext containing all necessary information. ```java public static @NonNull ListenableFuture createGlobalSearchSessionAsync( @NonNull PlayServicesStorage.GlobalSearchContext context ) ``` -------------------------------- ### getVideoCaptureMirrorMode Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Gets the mirror mode for video capture. ```APIDOC ## getVideoCaptureMirrorMode ### Description Gets the mirror mode that is currently configured for video capture. This determines if the video output is mirrored horizontally. ### Method `int` ### Parameters None ### Response #### Success Response (200) - **int** - The current mirror mode for video capture. ``` -------------------------------- ### PerfettoConfig.Text Constructor Source: https://developer.android.com/reference/androidx/benchmark/perfetto/PerfettoConfig Initializes a new instance of the PerfettoConfig.Text class with a given text proto representation. Use this constructor when you have a Perfetto configuration as a string. ```java public Text(@NonNull String text) ``` -------------------------------- ### toWindowInsetsCompat Source: https://developer.android.com/reference/androidx/core/view/WindowInsetsCompat.Type Returns a WindowInsetsCompat instance from the underlying WindowInsets instance. ```APIDOC ## toWindowInsetsCompat(@NonNull WindowInsets insets) ### Description Returns a `WindowInsetsCompat` instance from the underlying `WindowInsets` instance. ### Parameters * `insets` (WindowInsets) - Required - The `WindowInsets` instance to convert. ### Returns A `WindowInsetsCompat` instance. ``` -------------------------------- ### getImageAnalysisOutputImageFormat Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Gets the output image format for ImageAnalysis. ```APIDOC ## getImageAnalysisOutputImageFormat ### Description Gets the output image format for `ImageAnalysis`. This specifies the format of the images provided to the analyzer. ### Method `int` ### Parameters None ### Response #### Success Response (200) - **int** - The output image format. ``` -------------------------------- ### toWindowInsetsCompat Source: https://developer.android.com/reference/androidx/core/view/WindowInsetsCompat.Type Returns a WindowInsetsCompat instance from the underlying WindowInsets instance. ```APIDOC ## toWindowInsetsCompat(@NonNull WindowInsetsCompat insets) ### Description Returns a `WindowInsetsCompat` instance from the underlying `WindowInsetsCompat` instance. ### Parameters * `insets` (WindowInsetsCompat) - Required - The `WindowInsetsCompat` instance to convert. ### Returns A `WindowInsetsCompat` instance. ``` -------------------------------- ### getImageAnalysisImageQueueDepth Source: https://developer.android.com/reference/androidx/camera/view/LifecycleCameraController Gets the image queue depth of ImageAnalysis. ```APIDOC ## getImageAnalysisImageQueueDepth ### Description Gets the image queue depth of `ImageAnalysis`. This is the maximum number of images that can be held in the queue before older images are dropped. ### Method `int` ### Parameters None ### Response #### Success Response (200) - **int** - The image queue depth. ``` -------------------------------- ### getLibraryDisplayVersion Source: https://developer.android.com/reference/androidx/car/app/AppInfo Gets the string representation of the library version. ```APIDOC ## getLibraryDisplayVersion ### Description String representation of library version. This version string is opaque and not meant to be parsed. ### Returns (@NonNull String) The library artifact version. ``` -------------------------------- ### createView(View parent, String name, Context context, AttributeSet attrs, boolean inheritContext, boolean readAndroidTheme, boolean readAppTheme, boolean wrapContext) Source: https://developer.android.com/reference/androidx/appcompat/app/AppCompatViewInflater Creates an AppCompat-compatible widget by automatically "substituting" all usages of core Android widgets with the AppCompat extensions of those widgets. ```APIDOC ## createView(View parent, String name, Context context, AttributeSet attrs, boolean inheritContext, boolean readAndroidTheme, boolean readAppTheme, boolean wrapContext) ### Description Creates an AppCompat-compatible widget by automatically "substituting" all usages of core Android widgets with the AppCompat extensions of those widgets. This method also backports the `android:theme` functionality for any inflated widgets, including theme inheritance from its parent. ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Method None (This is a Java method) ### Endpoint None (This is a Java method) ### Request Example None ### Response #### Success Response (200) - **View** (View) - The created AppCompat-compatible widget. #### Response Example None ``` -------------------------------- ### Get Theme Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Retrieves the current theme for this context. ```java public Resources.Theme getTheme() ``` -------------------------------- ### AppFunction Constructor Source: https://developer.android.com/reference/androidx/appfunctions/service/AppFunction Initializes a new AppFunction with specified enabled and KDoc description settings. ```java public AppFunction(boolean isEnabled, boolean isDescribedByKDoc) ``` -------------------------------- ### Get Resources Source: https://developer.android.com/reference/androidx/appcompat/view/ContextThemeWrapper Retrieves the Resources object for this context. ```java public Resources getResources() ``` -------------------------------- ### BaseCarAppActivity() Source: https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity Public constructor for BaseCarAppActivity. Initializes a new instance of the class. ```APIDOC ## BaseCarAppActivity() ### Description Public constructor for BaseCarAppActivity. Initializes a new instance of the class. ### Method Constructor ### Parameters None ``` -------------------------------- ### removeFromStart Source: https://developer.android.com/reference/androidx/collection/CircularArray Removes a specified number of elements from the start of the CircularArray. ```APIDOC ## removeFromStart ### Description Removes multiple elements from the front of the `CircularArray`. Ignores the operation when `count` is less than or equal to 0. ### Parameters * `count` (int) - The number of elements to remove from the start. ``` -------------------------------- ### Warm up the browser process Source: https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsClient Call this method to pre-initialize the browser application in the background, which significantly speeds up URL opening. It is asynchronous and can be called multiple times. The flags parameter is reserved for future use. ```Java public boolean warmup(long flags) ``` -------------------------------- ### PickVisualMediaRequest Constructor (API 35+) Source: https://developer.android.com/reference/androidx/activity/result/PickVisualMediaRequestKt Creates a request for PickMultipleVisualMedia or PickVisualMedia. Supports customization of accent color, media type, max items, ordered selection, and default tab. Accent color and default tab support require API level 35 or higher. ```java public static final @NonNull PickVisualMediaRequest PickVisualMediaRequest( long accentColor, @NonNull ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType, @IntRange(from = 2) int maxItems, boolean isOrderedSelection, @NonNull ActivityResultContracts.PickVisualMedia.DefaultTab defaultTab ) ``` -------------------------------- ### setLapNumber Source: https://developer.android.com/reference/androidx/appsearch/builtintypes/StopwatchLap.Builder Sets the position of the current StopwatchLap, starting at 1. ```APIDOC ## setLapNumber ### Description Sets the position of the current `StopwatchLap`, starting at 1. ### Method `@NonNull T setLapNumber(int lapNumber)` ### Parameters * **lapNumber** (`int`) - The position of the lap, starting at 1. ``` -------------------------------- ### startNestedScroll Source: https://developer.android.com/reference/androidx/appcompat/widget/AppCompatRatingBar Starts a nested scrolling operation in the specified axes. ```APIDOC ## startNestedScroll ### Description Starts a nested scrolling operation in the specified axes. ### Method N/A (SDK Method) ### Parameters * **axes** (int) - The axes in which to start scrolling (e.g., SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_VERTICAL). ### Request Example N/A ### Response #### Success Response * **return value** (boolean) - True if nested scrolling was started, false otherwise. ### Response Example N/A ``` -------------------------------- ### AppCompatRadioButton Constructor with Context Source: https://developer.android.com/reference/androidx/appcompat/widget/AppCompatRadioButton Initializes a new instance of the AppCompatRadioButton class with the provided context. This is the basic constructor. ```Java public AppCompatRadioButton(Context context) ``` -------------------------------- ### Get CarIconSpan Alignment Source: https://developer.android.com/reference/androidx/car/app/model/CarIconSpan Retrieves the alignment setting for this CarIconSpan. ```java public int getAlignment() ```