共用方式為


PackageManager.FeatureScreenLandscape Field

Definition

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

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

Field Value

Attributes

Remarks

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

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

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