Stay organized with collections
Save and categorize content based on your preferences.
SplitOptions
@Incubating interface SplitOptions
Known Direct Subclasses
AbiSplit |
DSL object for configuring per-abi splits options.
|
DensitySplit |
DSL object for configuring per-density splits options.
|
|
Base data representing how an FULL_APK should be split for a given dimension (density, abi).
Summary
Public methods
|
abstract Unit |
Excludes some values
|
abstract Unit |
Includes some values
|
abstract Unit |
Resets the list of included split configuration.
|
Properties
|
abstract Boolean |
Whether to split in this dimension.
|
Public methods
exclude
abstract fun exclude(vararg excludes: String): Unit
Excludes some values
include
abstract fun include(vararg includes: String): Unit
Includes some values
reset
abstract fun reset(): Unit
Resets the list of included split configuration.
Use this before calling include, in order to manually configure the list of configuration
to split on, rather than excluding from the default list.
Properties
isEnable
abstract var isEnable: Boolean
Whether to split in this dimension.
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 2021-02-24 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 2021-02-24 UTC."],[],[]]