Share via


Connection.VideoProvider.OnSetDeviceOrientation(Int32) Method

Definition

Sets the device orientation, in degrees.

[Android.Runtime.Register("onSetDeviceOrientation", "(I)V", "GetOnSetDeviceOrientation_IHandler", ApiSince=23)]
public abstract void OnSetDeviceOrientation (int rotation);
[<Android.Runtime.Register("onSetDeviceOrientation", "(I)V", "GetOnSetDeviceOrientation_IHandler", ApiSince=23)>]
abstract member OnSetDeviceOrientation : 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.

Sent from the InCallService via InCallService.VideoCall#setDeviceOrientation(int).

Java documentation for android.telecom.Connection.VideoProvider.onSetDeviceOrientation(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