Stay organized with collections
Save and categorize content based on your preferences.
AdbOptions
@Incubating interface AdbOptions
Options for the adb tool.
Summary
Public methods
|
abstract Unit |
Sets the list of FULL_APK installation options
|
abstract Unit |
Sets the list of FULL_APK installation options
|
Properties
|
abstract Collection<String>? |
The list of FULL_APK installation options.
|
abstract Int |
The time out used for all adb operations.
|
Public methods
installOptions
abstract fun installOptions(option: String): Unit
Sets the list of FULL_APK installation options
installOptions
abstract fun installOptions(vararg options: String): Unit
Sets the list of FULL_APK installation options
Properties
installOptions
abstract var installOptions: Collection<String>?
The list of FULL_APK installation options.
timeOutInMs
abstract var timeOutInMs: Int
The time out used for all adb operations.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# AdbOptions\n==========\n\n```\n@Incubating interface AdbOptions\n```\n\n|-------------------------------------------|\n| [com.android.build.api.dsl.AdbOptions](#) |\n\nOptions for the adb tool.\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [installOptions](#installOptions(kotlin.String))`(`option:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the list of FULL_APK installation options |\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [installOptions](#installOptions(kotlin.String))`(`vararg` `options:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Sets the list of FULL_APK installation options |\n\n| ### Properties ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| abstract [Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)\\\u003e? | [installOptions](#installOptions:kotlin.collections.Collection) The list of FULL_APK installation options. |\n| abstract [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [timeOutInMs](#timeOutInMs:kotlin.Int) The time out used for all adb operations. |\n\nPublic methods\n--------------\n\n### installOptions\n\n```\nabstract fun installOptions(option: String): Unit\n```\n\nSets the list of FULL_APK installation options \n\n### installOptions\n\n```\nabstract fun installOptions(vararg options: String): Unit\n```\n\nSets the list of FULL_APK installation options\n\nProperties\n----------\n\n### installOptions\n\n```\nabstract var installOptions: Collection\u003cString\u003e?\n```\n\nThe list of FULL_APK installation options. \n\n### timeOutInMs\n\n```\nabstract var timeOutInMs: Int\n```\n\nThe time out used for all adb operations."]]