Sdílet prostřednictvím


PackageManager.FeatureScreenPortrait Field

Definition

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports portrait orientation screens.

[Android.Runtime.Register("FEATURE_SCREEN_PORTRAIT")]
public const string FeatureScreenPortrait;
[<Android.Runtime.Register("FEATURE_SCREEN_PORTRAIT")>]
val mutable FeatureScreenPortrait : string

Field Value

Attributes

Remarks

Feature for #getSystemAvailableFeatures and #hasSystemFeature: The device supports portrait orientation screens. For backwards compatibility, you can assume that if neither this nor #FEATURE_SCREEN_LANDSCAPE is set then the device supports both portrait and landscape.

Java documentation for android.content.pm.PackageManager.FEATURE_SCREEN_PORTRAIT.

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.

Applies to