# SplitController.SplitSupportStatus

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/window/embedding/SplitController.SplitSupportStatus "View this page in Java")

<br />

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

|                                   ### Public functions                                   |
|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/androidx/window/embedding/SplitController.SplitSupportStatus#toString())`()` |

## Public companion properties

### SPLIT_AVAILABLE

```
val SPLIT_AVAILABLE: SplitController.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_DECLARED: SplitController.SplitSupportStatus
```

Denotes that[WindowProperties.PROPERTY_ACTIVITY_EMBEDDING_SPLITS_ENABLED](https://developer.android.com/reference/kotlin/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

```
val SPLIT_UNAVAILABLE: SplitController.SplitSupportStatus
```

The activity splits API is currently unavailable.  

## Public functions

### toString

```
open fun toString(): String
```