DeviceStateSensorOrientationMap.GetSensorOrientation(Int64) Method
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.
Return the logical camera sensor orientation given a specific device fold state.
[Android.Runtime.Register("getSensorOrientation", "(J)I", "", ApiSince=32)]
public int GetSensorOrientation (long deviceState);
[<Android.Runtime.Register("getSensorOrientation", "(J)I", "", ApiSince=32)>]
member this.GetSensorOrientation : int64 -> int
Parameters
- deviceState
- Int64
Device fold state
Returns
Valid android.hardware.camera2.CameraCharacteristics#SENSOR_ORIENTATION
for
any supported device fold state
- Attributes
Remarks
Return the logical camera sensor orientation given a specific device fold state.
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.