# SplitController.SplitSupportStatus

Artifact: [androidx.window:window](https://developer.android.com/jetpack/androidx/releases/window) [View Source](https://cs.android.com/search?q=file:androidx/window/embedding/SplitController.kt+class:androidx.window.embedding.SplitController.SplitSupportStatus) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/window#1.1.0)

*** ** * ** ***


```
public final class SplitController.SplitSupportStatus
```

<br />

*** ** * ** ***

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 @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus` | `https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus#SPLIT_AVAILABLE()` The activity splits API is available and split rules can take effect depending on the window state. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus` | `https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus#SPLIT_ERROR_PROPERTY_NOT_DECLARED()` Denotes that `https://developer.android.com/reference/androidx/window/WindowProperties#PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED()` has not been set. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus` | `https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus#SPLIT_UNAVAILABLE()` The activity splits API is currently unavailable. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus#toString()()` |

## 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 `https://developer.android.com/reference/androidx/window/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()
```