postureLiveData

fun Activity.postureLiveData(context: CoroutineContext = EmptyCoroutineContext): LiveData<Posture>
fun Fragment.postureLiveData(context: CoroutineContext = EmptyCoroutineContext): LiveData<Posture>

Returns a LiveData of the Posture by tracking the WindowLayoutInfo.