SplitController.SplitSupportStatus


public final 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 fields

static final @NonNull SplitController.SplitSupportStatus

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

static final @NonNull SplitController.SplitSupportStatus

Denotes that WindowProperties.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED has not been set.

static final @NonNull SplitController.SplitSupportStatus

The activity splits API is currently unavailable.

Public methods

@NonNull String

Public fields

SPLIT_AVAILABLE

public static final @NonNull SplitController.SplitSupportStatus SPLIT_AVAILABLE

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

SPLIT_ERROR_PROPERTY_NOT_DECLARED

public static final @NonNull SplitController.SplitSupportStatus SPLIT_ERROR_PROPERTY_NOT_DECLARED

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

public static final @NonNull SplitController.SplitSupportStatus SPLIT_UNAVAILABLE

The activity splits API is currently unavailable.

Public methods

toString

public @NonNull String toString()