[android-components](../index.md) / [mozilla.components.feature.pwa.ext](index.md) / [applyOrientation](./apply-orientation.md)

# applyOrientation

`fun <ERROR CLASS>.applyOrientation(manifest: `[`WebAppManifest`](../mozilla.components.concept.engine.manifest/-web-app-manifest/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/pwa/src/main/java/mozilla/components/feature/pwa/ext/Activity.kt#L15)

Sets the requested orientation of the [Activity](#) to the orientation provided by the given [WebAppManifest](../mozilla.components.concept.engine.manifest/-web-app-manifest/index.md) (See
[WebAppManifest.orientation](../mozilla.components.concept.engine.manifest/-web-app-manifest/orientation.md) and [WebAppManifest.Orientation](../mozilla.components.concept.engine.manifest/-web-app-manifest/-orientation/index.md).

