UserData.Orientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The device orientation.
public Android.Content.Res.Orientation Orientation { [Android.Runtime.Register("getOrientation", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getOrientation", "()I", "", ApiSince=35)>]
member this.Orientation : Android.Content.Res.Orientation
Property Value
- Attributes
Remarks
The device orientation. The value can be one of the constants ORIENTATION_UNDEFINED, ORIENTATION_PORTRAIT or ORIENTATION_LANDSCAPE defined in android.content.res.Configuration
.
Java documentation for android.adservices.ondevicepersonalization.UserData.getOrientation()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.