### GET getPaddingStart Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the start padding of this view. ```APIDOC ## GET getPaddingStart ### Description Gets the start padding of this view. Padding is the space the view reserves inside of its own bounds, relative to the layout direction. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The start padding, in pixels. #### Response Example N/A ``` -------------------------------- ### Start Activity Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-aliucord-page/index Initiates a new activity. Overloads support starting an activity with or without additional bundle arguments for context. ```kotlin open fun startActivity(p0: Intent?) ``` ```kotlin open fun startActivity(p0: Intent?, @Nullable p1: Bundle?) ``` -------------------------------- ### Activity Launching and Intent Handling Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-app-fragment-proxy/index Methods for starting activities and intents, including starting them for results and handling intent sender operations. ```kotlin open fun startActivity(p: Intent) open fun startActivity(intent: Intent) open fun startActivity(intent: Intent, @Nullable options: Bundle) open fun startActivityForResult(p: Intent, p1: Int) open fun startActivityForResult(intent: Intent, requestCode: Int) open fun startActivityForResult( intent: Intent, requestCode: Int, @Nullable options: Bundle) open fun startIntentSenderForResult( p: IntentSender, p1: Int, p2: Intent, p3: Int, p4: Int, p5: Int, p6: Bundle) open fun startIntentSenderForResult( intent: IntentSender, requestCode: Int, @Nullable fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int, @Nullable options: Bundle) ``` -------------------------------- ### Start Activity Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-input-dialog/index Starts a new activity. This can be used to launch other applications or components within the same application. ```kotlin open fun startActivity(p: Intent) ``` -------------------------------- ### startActivity Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-fragment-proxy/index Start a new activity with a given Intent. ```APIDOC ## startActivity ### Description Start a new activity with a given Intent. ### Method `Void` (Assumed POST or similar based on context) ### Endpoint `/websites/aliucord_github_io_dokka_html/startActivity` ### Parameters #### Query Parameters - **intent** (Intent) - Required - The Intent specifying the activity to start. - **options** (Bundle) - Optional - Additional options for starting the activity. ### Response #### Success Response (200) - **status** (string) - Indicates the operation was successful. #### Response Example ```json { "status": "success" } ``` ``` -------------------------------- ### Start Postponed Enter Transition Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-input-dialog/index Starts the postponed enter transition for the fragment. This is used when an enter transition has been deferred and needs to be manually started. ```kotlin open fun startPostponedEnterTransition() ``` -------------------------------- ### Start Activity for Result Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-input-dialog/index Starts an activity and expects a result back. This is commonly used for tasks like picking a contact or taking a photo. ```kotlin open fun startActivityForResult(p: Intent, p1: Int) ``` -------------------------------- ### GET Request with URL Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord/-http/-request/-request Constructs a GET request directly from a URL string. This is a simpler way to initiate a GET request when the URL is already defined. ```APIDOC ## GET /websites/aliucord_github_io_dokka_html ### Description Builds a GET request with the specified url. ### Method GET ### Endpoint /websites/aliucord_github_io_dokka_html ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```json { "url": "string" } ``` ### Response #### Success Response (200) None specified in the provided documentation. #### Response Example None specified in the provided documentation. ### Throws - IOException: If an I/O exception occurs. ``` -------------------------------- ### Get Compound Padding Start (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Gets the padding at the start of the compound drawable area, respecting layout direction. ```kotlin open fun getCompoundPaddingStart(): Int ``` -------------------------------- ### Get Total Padding Start (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Retrieves the total start padding of the view. This accounts for layout direction (LTR/RTL). ```kotlin open fun getTotalPaddingStart(): Int ``` -------------------------------- ### Setup Dialog Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-input-dialog/index Sets up the dialog associated with the fragment. This method is typically called by the system during the fragment's lifecycle. ```kotlin open fun setupDialog(p: Dialog, p1: Int) ``` -------------------------------- ### Main Class Initialization Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord/-main/index Details the constructor and initialization functions for the Main class, which is central to starting Aliucord. ```APIDOC ## Main Class ### Description The `Main` class is the entry point for Aliucord initialization and manages core application states. ### Constructor #### `Main()` ### Properties #### `initialized` (Boolean) - **Description**: Indicates whether Aliucord has been fully initialized. - **Type**: Boolean - **Access**: Open var #### `logger` (Logger) - **Description**: Provides access to the Aliucord logger instance. - **Type**: Logger - **Access**: Val #### `preInitialized` (Boolean) - **Description**: Indicates whether Aliucord has undergone pre-initialization steps. - **Type**: Boolean - **Access**: Open var ### Functions #### `init(activity: AppActivity)` - **Description**: Aliucord's main initialization hook. This function should be called to fully set up Aliucord. - **Parameters**: - **activity** (AppActivity) - The main activity context for initialization. - **Access**: Open fun #### `preInit(activity: AppActivity)` - **Description**: Aliucord's pre-initialization hook. This function is called before the main initialization process. - **Parameters**: - **activity** (AppActivity) - The main activity context for pre-initialization. - **Access**: Open fun ``` -------------------------------- ### Get Selection Start - Kotlin Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Retrieves the start index of the current text selection within the view. This defines the beginning of the selected text range. ```kotlin open fun getSelectionStart(): Int ``` -------------------------------- ### Get Shift Drawing Offset For Start Overhang - Kotlin Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Determines if the drawing offset should be shifted for the start overhang. This is likely related to custom drawing or layout optimizations. ```kotlin open fun getShiftDrawingOffsetForStartOverhang(): Boolean ``` -------------------------------- ### Get Padding Start - Kotlin Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Retrieves the padding value applied to the start edge of the view, respecting layout direction (e.g., left for LTR, right for RTL). ```kotlin open fun getPaddingStart(): Int ``` -------------------------------- ### On Prepare Options Menu (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-confirm-dialog/index Callback method to prepare the options menu before it is displayed. This open Kotlin function receives the Menu object and allows for dynamic changes. ```kotlin open fun onPrepareOptionsMenu(p: Menu) ``` -------------------------------- ### startActivity Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-plugins/index Starts a new activity. ```APIDOC ## startActivity ### Description Starts a new activity. ### Method POST ### Endpoint /startActivity ### Parameters #### Request Body - **p** (Intent) - Required - The intent to start the activity. ### Request Example ```json { "p": "" } ``` ### Response #### Success Response (200) - **message** (String) - Indicates the activity was started successfully. #### Response Example ```json { "message": "Activity started successfully." } ``` ``` -------------------------------- ### View Padding Properties Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-toolbar-button/index Convenient properties to get and set the start and top padding of a View. ```APIDOC ## View Padding Properties ### Description Convenient properties to get and set the start and top padding of a View. ### Method N/A (Properties) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - View.startPadding (Int) - Gets or sets the start padding (left on LTR, right on RTL). - View.topPadding (Int) - Gets or sets the top padding. #### Response Example ```json { "View.startPadding": 10, "View.topPadding": 5 } ``` ``` -------------------------------- ### Get Scroll Indicators Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-divider/index Retrieves the indicators that are currently visible for scrolling. This can include start, end, or other scroll-related indicators. ```kotlin open fun getScrollIndicators(): Int ``` -------------------------------- ### On Create Options Menu (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-confirm-dialog/index Callback method to create the options menu. This open Kotlin function receives the Menu and MenuInflater. ```kotlin open fun onCreateOptionsMenu(p: Menu, p1: MenuInflater) ``` -------------------------------- ### Callback and Listener Registration Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-settings-page/index This section contains functions for registering various callbacks and listeners. It includes methods for handling back presses, new intents, start enter transition events, and permission rationale. ```kotlin setOnBackPressed fun setOnBackPressed(p: Func0) setOnBackPressed$default open fun setOnBackPressed$default( p: AppFragment, p1: Func0, p2: Int, p3: Int, p4: Any) setOnNewIntentListener fun setOnNewIntentListener(p: (in Intent) -> Unit) setOnStartEnterTransitionListener open fun setOnStartEnterTransitionListener( p: Fragment.OnStartEnterTransitionListener) shouldShowRequestPermissionRationale open fun shouldShowRequestPermissionRationale(p: String): Boolean ``` -------------------------------- ### View Padding Properties in Kotlin Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-text-input/index Defines convenient properties for getting and setting the start and right padding of a View. These properties abstract away the complexities of handling different text directions (LTR/RTL) for start padding. They are direct accesses to the view's padding properties. ```kotlin var View.rightPadding: Int Convenient property to get and set right padding ``` ```kotlin var View.startPadding: Int Convenient property to get and set start padding (left on ltr, right on rtl) ``` -------------------------------- ### Get Scroll Bar Fade Delay Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-divider/index Retrieves the default delay before the scroll bar starts to fade out. This affects the user experience of scrollable content. ```kotlin open fun getScrollBarDefaultDelayBeforeFade(): Int ``` -------------------------------- ### startIntentSenderForResult Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-fragment-proxy/index Start a set of activities for which you would like a result when it finishes. ```APIDOC ## startIntentSenderForResult ### Description Start a set of activities for which you would like a result when it finishes. ### Method `Void` (Assumed POST or similar based on context) ### Endpoint `/websites/aliucord_github_io_dokka_html/startIntentSenderForResult` ### Parameters #### Query Parameters - **intent** (IntentSender) - Required - The IntentSender to start. - **requestCode** (Int) - Required - The integer request code originally supplied to startIntentSenderForResult(), allowing you to associate the result back to the original call. - **fillInIntent** (Intent) - Optional - An Intent to be merged with the IntentSender. - **flagsMask** (Int) - Required - A mask of the flags in the Intent. - **flagsValues** (Int) - Required - The values of the flags in the Intent. - **extraFlags** (Int) - Required - The extra flags to be set on the Intent. - **options** (Bundle) - Optional - Additional options for starting the activity. ### Response #### Success Response (200) - **status** (string) - Indicates the operation was successful. #### Response Example ```json { "status": "success" } ``` ``` -------------------------------- ### On Create Context Menu (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-confirm-dialog/index Callback method to build and manage a context menu. This open Kotlin function receives the ContextMenu, View, and ContextMenuInfo. ```kotlin open fun onCreateContextMenu(p: ContextMenu, p1: View, p2: ContextMenu.ContextMenuInfo) ``` -------------------------------- ### Get Compound Drawables Relative (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Retrieves the compound drawables (start, top, end, bottom) set on the view, respecting layout direction. ```kotlin open fun getCompoundDrawablesRelative(): Array ``` -------------------------------- ### Get Drawing Time (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Retrieves the time elapsed since the view started drawing. This can be useful for performance analysis. The method returns a Long value representing the time in milliseconds. ```kotlin open fun getDrawingTime(): Long ``` -------------------------------- ### Activity Lifecycle Methods Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-settings-page/index Documentation for various activity lifecycle callback methods, including pausing, resuming, starting, stopping, and state saving. ```APIDOC ## Activity Lifecycle Methods ### Description Provides documentation for core Android activity lifecycle methods. These methods are called by the system during various stages of an activity's life. ### Methods - `onPause()` - `onResume()` - `onStart()` - `onStop()` - `onSaveInstanceState(p: Bundle)` - `performPause()` - `performResume()` - `performStart()` - `performStop()` - `performSaveInstanceState(p: Bundle)` ``` -------------------------------- ### View Padding Extension Properties (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-divider/index Provides convenient extension properties for the `View` class in Kotlin, allowing easy getting and setting of start and top padding. 'startPadding' considers RTL layout. ```kotlin var View.startPadding: Int Convenient property to get and set start padding (left on ltr, right on rtl) var View.topPadding: Int Convenient property to get and set top padding ``` -------------------------------- ### Get Support Compound Drawables Tint List (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Retrieves the ColorStateList for tinting the compound drawables (e.g., start, end, top, bottom) of a TextView. Supports dynamic tinting. ```kotlin open fun getSupportCompoundDrawablesTintList(): ColorStateList ``` -------------------------------- ### startActivityForResult Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-plugins/index Starts a new activity and expects a result back. ```APIDOC ## startActivityForResult ### Description Starts a new activity and expects a result back. ### Method POST ### Endpoint /startActivityForResult ### Parameters #### Request Body - **p** (Intent) - Required - The intent to start the activity. - **p1** (Integer) - Required - The request code. ### Request Example ```json { "p": "", "p1": 1001 } ``` ### Response #### Success Response (200) - **message** (String) - Indicates the activity was started successfully. #### Response Example ```json { "message": "Activity started for result successfully." } ``` ``` -------------------------------- ### View Padding Properties Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Provides convenient extension properties for getting and setting padding on Views. `rightPadding` allows direct access to the right padding, while `startPadding` handles padding for the start of the view, respecting layout direction (LTR/RTL). ```kotlin var View.rightPadding: Int var View.startPadding: Int ``` -------------------------------- ### AliucordPage Constructor Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-aliucord-page/index Initializes a new instance of the AliucordPage class. This constructor does not require any parameters. ```kotlin class AliucordPage : SettingsPage constructor() ``` -------------------------------- ### View Padding Properties in Kotlin Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-danger-button/index Provides convenient extension properties for Android Views to get and set padding values. These properties simplify padding management by offering direct access to start and right padding. ```kotlin var View.rightPadding: Int // Convenient property to get and set right padding ``` ```kotlin var View.startPadding: Int // Convenient property to get and set start padding (left on ltr, right on rtl) ``` -------------------------------- ### Fragment Lifecycle: onPrepareOptionsMenu() Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-fragment-proxy/index Called to prepare the options menu before it's displayed. This method is invoked just before the options menu is shown, allowing for dynamic updates to menu items. It receives the `Menu` object. ```kotlin open fun onPrepareOptionsMenu(@NonNull menu: Menu) ``` -------------------------------- ### Access and Set View Padding Properties in Kotlin Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.utils/-view-utils/index Provides convenient properties to get and set padding for individual sides of an Android View. Includes properties for top, bottom, left, right, start, end, and general padding. 'startPadding' and 'endPadding' adapt to right-to-left layouts. ```kotlin var View.bottomPadding: Int var View.endPadding: Int var View.leftPadding: Int var View.padding: Padding var View.rightPadding: Int var View.startPadding: Int var View.topPadding: Int ``` -------------------------------- ### InstallMetadata Constructor and Properties Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.updater/-manager-build/-install-metadata/index Details the constructor and properties of the InstallMetadata data class. ```APIDOC ## InstallMetadata ### Description Represents metadata for an installation, including details about custom managers and version information for injectors and patches. ### Constructor **InstallMetadata**( customManager: Boolean, managerVersion: SemVer, injectorVersion: SemVer, patchesVersion: SemVer) ### Properties - **customManager** (Boolean) - Indicates if a custom manager is used. - **managerVersion** (SemVer) - The version of the manager. - **injectorVersion** (SemVer) - The version of the injector. - **patchesVersion** (SemVer) - The version of the patches. ### Request Example ```json { "customManager": true, "managerVersion": "1.2.3", "injectorVersion": "4.5.6", "patchesVersion": "7.8.9" } ``` ### Response Example ```json { "customManager": true, "managerVersion": "1.2.3", "injectorVersion": "4.5.6", "patchesVersion": "7.8.9" } ``` ``` -------------------------------- ### Fragment Lifecycle: onStart() Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-fragment-proxy/index Called when the fragment is visible to the user. This method is invoked after `onCreate` and before `onResume`. It's a good place to start UI-related operations that should run when the fragment is visible. ```kotlin open fun onStart() ``` -------------------------------- ### Fragment Registration and Permissions in Aliucord Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-fragment-proxy/index This snippet includes methods for registering context menus for views and requesting runtime permissions in Aliucord. These are essential for interactive user experiences and security. ```kotlin registerForContextMenu open fun registerForContextMenu(@NonNull view: View) requestPermissions fun requestPermissions(p: Array, p1: Int) ``` -------------------------------- ### GET Request with QueryBuilder Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord/-http/-request/-request Constructs a GET request using a provided Http.QueryBuilder. This method is useful for building complex GET requests with multiple query parameters. ```APIDOC ## GET /websites/aliucord_github_io_dokka_html ### Description Builds a GET request with the specified QueryBuilder. ### Method GET ### Endpoint /websites/aliucord_github_io_dokka_html ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example ```json { "builder": "Http.QueryBuilder" } ``` ### Response #### Success Response (200) None specified in the provided documentation. #### Response Example None specified in the provided documentation. ### Throws - IOException: If an I/O exception occurs. ``` -------------------------------- ### Permission and UI Interaction Methods Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-confirm-dialog/index This section includes methods for checking permission rationale, showing dialogs, handling keyboard input, and starting activities. ```APIDOC ## Permission and UI Interaction Methods This section includes methods for checking permission rationale, showing dialogs, handling keyboard input, and starting activities. ### `shouldShowRequestPermissionRationale(p: String): Boolean` - **Method**: `open fun` - **Description**: Checks if the system should show a rationale for a permission request. - **Parameters**: - `p` (String) - Required - The permission to check. - **Returns**: `Boolean` - True if a rationale should be shown, false otherwise. ### `show(p: FragmentManager, p1: String)` - **Method**: `open fun` - **Description**: Shows the dialog using a FragmentManager. - **Parameters**: - `p` (FragmentManager) - Required - The FragmentManager to use. - `p1` (String) - Required - The tag for the dialog. ### `show(p: FragmentTransaction, p1: String): Int` - **Method**: `open fun` - **Description**: Shows the dialog using a FragmentTransaction. - **Parameters**: - `p` (FragmentTransaction) - Required - The FragmentTransaction to use. - `p1` (String) - Required - The tag for the dialog. - **Returns**: `Int` - A request code. ### `showKeyboard(p: View)` - **Method**: `fun` - **Description**: Shows the soft keyboard for a given view. - **Parameters**: - `p` (View) - Required - The view to show the keyboard for. ### `showNow(p: FragmentManager, p1: String)` - **Method**: `open fun` - **Description**: Shows the dialog immediately using a FragmentManager. - **Parameters**: - `p` (FragmentManager) - Required - The FragmentManager to use. - `p1` (String) - Required - The tag for the dialog. ### `startActivity(p: Intent)` - **Method**: `open fun` - **Description**: Starts an activity. - **Parameters**: - `p` (Intent) - Required - The Intent to start. ### `startActivityForResult(p: Intent, p1: Int)` - **Method**: `open fun` - **Description**: Starts an activity for a result. - **Parameters**: - `p` (Intent) - Required - The Intent to start. - `p1` (Int) - Required - The request code. ### `startIntentSenderForResult(p: IntentSender, p1: Int, p2: Intent, p3: Int, p4: Int, p5: Int, p6: Bundle)` - **Method**: `open fun` - **Description**: Starts an IntentSender for a result. - **Parameters**: - `p` (IntentSender) - Required - The IntentSender to start. - `p1` (Int) - Required - The request code. - `p2` (Intent) - Required - The fillInIntent. - `p3` (Int) - Required - Flags related to the IntentSender. - `p4` (Int) - Required - Flags related to the IntentSender. - `p5` (Int) - Required - Flags related to the IntentSender. - `p6` (Bundle) - Required - Options for the IntentSender. ### `startPostponedEnterTransition()` - **Method**: `open fun` - **Description**: Starts the postponed enter transition. ### `toString(): String` - **Method**: `open fun` - **Description**: Returns a string representation of the object. - **Returns**: `String` - The string representation. ### `unregisterForContextMenu(p: View)` - **Method**: `open fun` - **Description**: Unregisters a context menu for a view. - **Parameters**: - `p` (View) - Required - The view to unregister the context menu from. ``` -------------------------------- ### GET getParent Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the parent of this view. ```APIDOC ## GET getParent ### Description Gets the parent of this view in the view hierarchy. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **ViewParent** (ViewParent) - The parent of the view. #### Response Example N/A ``` -------------------------------- ### GET getPendingCredentialRequest Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the pending credential request. ```APIDOC ## GET getPendingCredentialRequest ### Description Returns the pending credential request, if any. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **GetCredentialRequest** (GetCredentialRequest) - The pending credential request. #### Response Example N/A ``` -------------------------------- ### startIntentSenderForResult Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-plugins/index Starts an intent sender and expects a result back. ```APIDOC ## startIntentSenderForResult ### Description Starts an intent sender and expects a result back. ### Method POST ### Endpoint /startIntentSenderForResult ### Parameters #### Request Body - **p** (IntentSender) - Required - The intent sender to start. - **p1** (Integer) - Required - The request code. - **p2** (Intent) - Optional - Additional intents. - **p3** (Integer) - Optional - Flags for the intents. - **p4** (Integer) - Optional - Flags for the sender. - **p5** (Integer) - Optional - Flags for the sender. - **p6** (Bundle) - Optional - Additional bundle data. ### Request Example ```json { "p": "", "p1": 1002, "p2": "", "p3": 1, "p4": 1, "p5": 1, "p6": "" } ``` ### Response #### Success Response (200) - **message** (String) - Indicates the intent sender was started successfully. #### Response Example ```json { "message": "Intent sender started for result successfully." } ``` ``` -------------------------------- ### Android Initialization and State Management Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-aliucord-page/index Methods related to the fundamental initialization and state management of Android components. Includes attaching, detaching, and performing core creation steps. ```kotlin performAttach open fun performAttach() performConfigurationChanged open fun performConfigurationChanged(@NonNull p0: Configuration) performCreate open fun performCreate(p0: Bundle?) performDestroy open fun performDestroy() performDetach open fun performDetach() performGetLayoutInflater @NonNull open fun performGetLayoutInflater( @Nullable p0: Bundle?): LayoutInflater performLowMemory open fun performLowMemory() performMultiWindowModeChanged open fun performMultiWindowModeChanged(p0: Boolean) performPause open fun performPause() performPictureInPictureModeChanged open fun performPictureInPictureModeChanged(p0: Boolean) performPrimaryNavigationFragmentChanged open fun performPrimaryNavigationFragmentChanged() performResume open fun performResume() performSaveInstanceState open fun performSaveInstanceState(p0: Bundle?) performStart open fun performStart() performStop open fun performStop() ``` -------------------------------- ### GET getPendingCredentialCallback Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the pending credential callback. ```APIDOC ## GET getPendingCredentialCallback ### Description Returns the pending credential callback, if any. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **OutcomeReceiver** (OutcomeReceiver) - The pending credential callback. #### Response Example N/A ``` -------------------------------- ### GET getPaddingTop Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the top padding of this view. ```APIDOC ## GET getPaddingTop ### Description Gets the top padding of this view. Padding is the space the view reserves inside of its own bounds. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The top padding, in pixels. #### Response Example N/A ``` -------------------------------- ### startPostponedEnterTransition Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-plugins/index Starts a postponed enter transition. ```APIDOC ## startPostponedEnterTransition ### Description Starts a postponed enter transition. ### Method POST ### Endpoint /startPostponedEnterTransition ### Response #### Success Response (200) - **message** (String) - Indicates the transition was started successfully. #### Response Example ```json { "message": "Postponed enter transition started." } ``` ``` -------------------------------- ### GET getPaddingRight Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the right padding of this view. ```APIDOC ## GET getPaddingRight ### Description Gets the right padding of this view. Padding is the space the view reserves inside of its own bounds. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The right padding, in pixels. #### Response Example N/A ``` -------------------------------- ### Create and Build MessageEmbed using MessageEmbedBuilder Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.entities/-message-embed-builder/index Demonstrates how to instantiate MessageEmbedBuilder, set various properties, and finally build the MessageEmbed object. This involves chaining method calls for a concise syntax. ```kotlin val embedBuilder = MessageEmbedBuilder() .setTitle("My Embed Title") .setDescription("This is the description of my embed.") .setColor(0xFF0000) // Red color .setAuthor("Author Name", "https://example.com/icon.png") .setImage("https://example.com/image.png") .setThumbnail("https://example.com/thumbnail.png") .setFooter("This is the footer text", "https://example.com/footer_icon.png") .addField("Field 1", "Value 1", true) .addField("Field 2", "Value 2", false) .setUrl("https://example.com") .setTimestamp(System.currentTimeMillis()) val messageEmbed = embedBuilder.build() ``` -------------------------------- ### GET getPaddingLeft Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the left padding of this view. ```APIDOC ## GET getPaddingLeft ### Description Gets the left padding of this view. Padding is the space the view reserves inside of its own bounds. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The left padding, in pixels. #### Response Example N/A ``` -------------------------------- ### GET getPaddingEnd Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the end padding of this view. ```APIDOC ## GET getPaddingEnd ### Description Gets the end padding of this view. Padding is the space the view reserves inside of its own bounds, relative to the layout direction. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The end padding, in pixels. #### Response Example N/A ``` -------------------------------- ### Permission and Keyboard Handling Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-settings-page/index Methods related to requesting permissions and showing/hiding the soft keyboard. ```APIDOC ## Permission and Keyboard Handling ### `shouldShowRequestPermissionRationale(p: String): Boolean` * **Description**: Checks if the app has been denied a permission and whether the system recommends showing a rationale to the user. * **Method**: `open fun` * **Endpoint**: N/A (Kotlin function) * **Parameters**: * `p` (String) - The name of the permission to check. * **Returns**: `Boolean` - `true` if a rationale should be shown, `false` otherwise. ### `showKeyboard` * **Description**: Displays the soft keyboard. The exact implementation details might depend on the context. * **Method**: `fun` (Assumed, as no parameters or return type are specified in the input) * **Endpoint**: N/A (Kotlin function) * **Parameters**: None ``` -------------------------------- ### CommandsAPI - Constructor Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.api/-commands-a-p-i/index Initializes a new instance of the CommandsAPI for a specified plugin. ```APIDOC ## CommandsAPI Constructor ### Description Creates a CommandsAPI instance for the specified plugin. ### Method `CommandsAPI(plugin: String)` ### Parameters #### Path Parameters * **plugin** (String) - Required - The name of the plugin for which the CommandsAPI is being created. ### Request Example ``` val commandsApi = CommandsAPI("MyPlugin") ``` ### Response #### Success Response (200) N/A (Constructor) #### Response Example N/A (Constructor) ``` -------------------------------- ### GET getPaddingBottom Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the bottom padding of this view. ```APIDOC ## GET getPaddingBottom ### Description Gets the bottom padding of this view. Padding is the space the view reserves inside of its own bounds. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The bottom padding, in pixels. #### Response Example N/A ``` -------------------------------- ### View Listener and Overlay Methods Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.views/-text-input/index Methods for retrieving the focus change listener, outline provider, and view overlay. ```APIDOC ## GET /view/listener/on_focus_change ### Description Retrieves the focus change listener attached to the view. ### Method GET ### Endpoint /view/listener/on_focus_change ### Response #### Success Response (200) - **listener** (View.OnFocusChangeListener) - The focus change listener. #### Response Example ```json { "listener": null } ``` ## GET /view/outline/provider ### Description Retrieves the outline provider for the view. ### Method GET ### Endpoint /view/outline/provider ### Response #### Success Response (200) - **provider** (ViewOutlineProvider) - The outline provider. #### Response Example ```json { "provider": null } ``` ## GET /view/overlay ### Description Retrieves the view overlay. ### Method GET ### Endpoint /view/overlay ### Response #### Success Response (200) - **overlay** (ViewOverlay | ViewGroupOverlay) - The view overlay. #### Response Example ```json { "overlay": null } ``` ``` -------------------------------- ### GET getOverScrollMode Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the over-scroll mode for this view. ```APIDOC ## GET getOverScrollMode ### Description Gets the over-scroll mode for this view, which controls how the view responds to over-scrolling. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The over-scroll mode. #### Response Example N/A ``` -------------------------------- ### GET getMinimumWidth Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the minimum width of this view. ```APIDOC ## GET getMinimumWidth ### Description Gets the minimum width of this view. The view will not be smaller than this. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The minimum width of the view, in pixels. #### Response Example N/A ``` -------------------------------- ### Get String Resource Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-aliucord-page/index Retrieves a string from the application's string resources, optionally with formatting arguments. Requires a string resource ID. ```kotlin fun getString(@StringRes p0: Int): String ``` ```kotlin fun getString(@StringRes p0: Int, @Nullable vararg p1: Any?): String ``` -------------------------------- ### Lifecycle and Transition Listeners Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-settings-page/index Methods for setting listeners related to the fragment's start transition and its overall lifecycle. ```APIDOC ## Lifecycle and Transition Listeners ### `setOnStartEnterTransitionListener(p: Fragment.OnStartEnterTransitionListener)` * **Description**: Sets a listener to be notified when the fragment's enter transition starts. * **Method**: `open fun` * **Endpoint**: N/A (Kotlin function) * **Parameters**: * `p` (Fragment.OnStartEnterTransitionListener) - The listener implementation. ``` -------------------------------- ### GET getMinimumHeight Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the minimum height of this view. ```APIDOC ## GET getMinimumHeight ### Description Gets the minimum height of this view. The view will not be smaller than this. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The minimum height of the view, in pixels. #### Response Example N/A ``` -------------------------------- ### startActivityForResult Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-fragment-proxy/index Start an activity for which you would like a result when it finishes. ```APIDOC ## startActivityForResult ### Description Start an activity for which you would like a result when it finishes. ### Method `Void` (Assumed POST or similar based on context) ### Endpoint `/websites/aliucord_github_io_dokka_html/startActivityForResult` ### Parameters #### Query Parameters - **intent** (Intent) - Required - The Intent specifying the activity to start. - **requestCode** (Int) - Required - The integer request code originally supplied to startIntentSenderForResult(), allowing you to associate the result back to the original call. - **options** (Bundle) - Optional - Additional options for starting the activity. ### Response #### Success Response (200) - **status** (string) - Indicates the operation was successful. #### Response Example ```json { "status": "success" } ``` ``` -------------------------------- ### GET getMeasuredWidth Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the measured width of this view. ```APIDOC ## GET getMeasuredWidth ### Description Gets the measured width of this view. This is the width the view would like to be, given the constraints of its parent. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The measured width of the view, in pixels. #### Response Example N/A ``` -------------------------------- ### GetterAccessor Constructor Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.utils/-getter-accessor/index Initializes a new instance of the GetterAccessor class. ```APIDOC ## GetterAccessor Constructor ### Description Initializes a new instance of the GetterAccessor class. ### Method constructor ### Parameters - **methodName** (String?) - The name of the getter. If null, will use the property name to form `getName`. ### Request Example ```json { "methodName": "getPropertyValue" } ``` ### Response #### Success Response (200) This constructor does not return a value. #### Response Example ```json { "message": "GetterAccessor initialized successfully." } ``` ``` -------------------------------- ### GET getMeasuredHeight Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the measured height of this view. ```APIDOC ## GET getMeasuredHeight ### Description Gets the measured height of this view. This is the height the view would like to be, given the constraints of its parent. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The measured height of the view, in pixels. #### Response Example N/A ``` -------------------------------- ### Check if Installed with Manager Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.updater/-manager-build/index Checks if the application was installed using a specific version of the manager. It accepts an optional version string and returns true if the installation meets the criteria. ```kotlin @JvmStatic fun installedWithManager(version: String?): Boolean ``` -------------------------------- ### Fragment Transition Configuration Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-app-fragment-proxy/index Methods to configure enter, exit, reenter, and return transitions for Fragments, including shared element transitions. ```kotlin open fun setAllowEnterTransitionOverlap(p: Boolean) open fun setAllowEnterTransitionOverlap(allow: Boolean) open fun setAllowReturnTransitionOverlap(p: Boolean) open fun setAllowReturnTransitionOverlap(allow: Boolean) open fun setEnterTransition(p: Any) open fun setEnterTransition(@Nullable transition: Any) open fun setExitSharedElementCallback(p: SharedElementCallback) open fun setExitSharedElementCallback( @Nullable callback: SharedElementCallback) open fun setExitTransition(p: Any) open fun setExitTransition(@Nullable transition: Any) open fun setReenterTransition(p: Any) open fun setReenterTransition(@Nullable transition: Any) open fun setReturnTransition(p: Any) open fun setReturnTransition(@Nullable transition: Any) open fun setSharedElementEnterTransition(p: Any) open fun setSharedElementEnterTransition(@Nullable transition: Any) open fun setSharedElementReturnTransition(p: Any) open fun setSharedElementReturnTransition(@Nullable transition: Any) ``` -------------------------------- ### GET getParentForAccessibility Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the parent of this view for accessibility purposes. ```APIDOC ## GET getParentForAccessibility ### Description Gets the parent of this view that should be used for accessibility purposes. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **ViewParent** (ViewParent) - The parent view for accessibility. #### Response Example N/A ``` -------------------------------- ### SettingsAPI Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.api/index An open class for managing settings within the Aliucord application. ```APIDOC ## SettingsAPI ### Description Open class for managing settings. ### Method N/A (Class definition) ### Endpoint N/A ### Parameters None ### Request Example None ### Response N/A ``` -------------------------------- ### Activity and Intent Methods Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-bottom-sheet/index Methods for starting activities and handling intents. ```APIDOC ## POST /websites/aliucord_github_io_dokka_html/startActivity ### Description Starts a new activity. ### Method POST ### Endpoint /websites/aliucord_github_io_dokka_html/startActivity ### Parameters #### Request Body - **p** (Intent) - Required - The intent to start. ``` ```APIDOC ## POST /websites/aliucord_github_io_dokka_html/startActivityForResult ### Description Starts an activity for which you would like to get a result. ### Method POST ### Endpoint /websites/aliucord_github_io_dokka_html/startActivityForResult ### Parameters #### Request Body - **p** (Intent) - Required - The intent to start. - **p1** (Int) - Required - The request code. ``` ```APIDOC ## POST /websites/aliucord_github_io_dokka_html/startIntentSenderForResult ### Description Starts an `IntentSender`, and you would like to get a result back. ### Method POST ### Endpoint /websites/aliucord_github_io_dokka_html/startIntentSenderForResult ### Parameters #### Request Body - **p** (IntentSender) - Required - The IntentSender to start. - **p1** (Int) - Required - The request code. - **p2** (Intent) - Optional - An Intent that is put at the start of the Intent chain. - **p3** (Int) - Required - Flags to be set on the Intent. - **p4** (Int) - Required - Flags to be set on the Intent. - **p5** (Int) - Required - Flags to be set on the Intent. - **p6** (Bundle) - Optional - Options that have to be used when the intent is chosen by the system. ``` -------------------------------- ### GET getNextClusterForwardId Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the ID of the next view in the cluster. ```APIDOC ## GET getNextClusterForwardId ### Description Gets the ID of the next view in the accessibility cluster, if any. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The ID of the next view in the cluster. #### Response Example N/A ``` -------------------------------- ### GET getNestedScrollAxes Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the axes of nested scrolling for this view. ```APIDOC ## GET getNestedScrollAxes ### Description Gets the axes in which this view allows nested scrolling. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The nested scroll axes. #### Response Example N/A ``` -------------------------------- ### On Create View (Kotlin) Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-confirm-dialog/index Callback method to create the view hierarchy for the fragment. This open Kotlin function returns a View and takes LayoutInflater, ViewGroup, and Bundle as parameters. ```kotlin open fun onCreateView(p: LayoutInflater, p1: ViewGroup, p2: Bundle): View ``` -------------------------------- ### GET getLocationOnScreen Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the location of this view relative to the screen. ```APIDOC ## GET getLocationOnScreen ### Description Retrieves the view's location relative to the screen. The results are stored in the provided array. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int Array** (Array) - An array of two integers. The first element represents the X coordinate, and the second the Y coordinate. #### Response Example N/A ``` -------------------------------- ### Activity and Fragment Interactions Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.fragments/-settings-page/index Methods for interacting with the hosting Activity and Fragment lifecycle. ```APIDOC ## Activity and Fragment Interactions ### Description Provides methods for accessing and interacting with the host Activity, Fragment arguments, and context. ### Methods - `performActivityCreated(p: Bundle)` - `performAttach()` - `performConfigurationChanged(p: Configuration)` - `performContextItemSelected(p: MenuItem): Boolean` - `performCreate(p: Bundle)` - `performCreateOptionsMenu( p: Menu, p1: MenuInflater): Boolean` - `performDestroy()` - `performDestroyView()` - `performDetach()` - `performGetLayoutInflater(p: Bundle): LayoutInflater` - `performLowMemory()` - `performMultiWindowModeChanged(p: Boolean)` - `performOptionsItemSelected(p: MenuItem): Boolean` - `performPictureInPictureModeChanged(p: Boolean)` - `performPrimaryNavigationFragmentChanged()` - `performViewBound()` - `postponeEnterTransition()` - `registerForContextMenu(p: View)` - `requireActivity(): FragmentActivity` - `requireAppActivity(): AppActivity` - `requireArguments(): Bundle` - `requireContext()` ``` -------------------------------- ### Android Transition and Context Registration Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.settings/-aliucord-page/index Methods for managing view transitions and registering context menus. Includes delaying enter transitions and associating views with context menus. ```kotlin postponeEnterTransition open fun postponeEnterTransition() fun postponeEnterTransition(p0: Long, @NonNull p1: TimeUnit) registerForContextMenu open fun registerForContextMenu(@NonNull p0: View) ``` -------------------------------- ### GET getNextFocusForwardId Source: https://aliucord.github.io/dokka/html/-aliucord/com.aliucord.widgets/-plugin-card/index Gets the ID of the next view to receive focus. ```APIDOC ## GET getNextFocusForwardId ### Description Returns the resource ID of the view to receive focus in the forward direction, if specified. ### Method GET ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **Int** (Int) - The ID of the next view to receive focus. #### Response Example N/A ```