Condividi tramite


InCallService.VideoCall.SetDeviceOrientation(Int32) Method

Definition

Sets the device orientation, in degrees.

[Android.Runtime.Register("setDeviceOrientation", "(I)V", "GetSetDeviceOrientation_IHandler", ApiSince=23)]
public abstract void SetDeviceOrientation (int rotation);
[<Android.Runtime.Register("setDeviceOrientation", "(I)V", "GetSetDeviceOrientation_IHandler", ApiSince=23)>]
abstract member SetDeviceOrientation : int -> unit

Parameters

rotation
Int32

The device orientation, in degrees.

Attributes

Remarks

Sets the device orientation, in degrees. Assumes that a standard portrait orientation of the device is 0 degrees.

Handled by Connection.VideoProvider#onSetDeviceOrientation(int).

Java documentation for android.telecom.InCallService.VideoCall.setDeviceOrientation(int).

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