SplitController.SplitSupportStatus


class SplitController.SplitSupportStatus


A class to determine if activity splits with Activity Embedding are currently available. Depending on the split property declaration, device software version or user preferences the feature might not be available.

Summary

Public companion properties

SplitController.SplitSupportStatus

The activity splits API is available and split rules can take effect depending on the window state.

SplitController.SplitSupportStatus

Denotes that WindowProperties.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED has not been set.

SplitController.SplitSupportStatus

The activity splits API is currently unavailable.

Public functions

open String

Public companion properties

SPLIT_AVAILABLE

val SPLIT_AVAILABLESplitController.SplitSupportStatus

The activity splits API is available and split rules can take effect depending on the window state.

SPLIT_ERROR_PROPERTY_NOT_DECLARED

val SPLIT_ERROR_PROPERTY_NOT_DECLAREDSplitController.SplitSupportStatus

Denotes that WindowProperties.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED has not been set. This property must be set and enabled in AndroidManifest.xml to use splits APIs.

SPLIT_UNAVAILABLE

val SPLIT_UNAVAILABLESplitController.SplitSupportStatus

The activity splits API is currently unavailable.

Public functions

toString

open fun toString(): String