Sdílet prostřednictvím


RemoteConnection.VideoProvider.SetDeviceOrientation(Int32) Method

Definition

Sets the device orientation, in degrees, for the RemoteConnection.VideoProvider.

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

Parameters

rotation
Int32

The device orientation, in degrees.

Attributes

Remarks

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

Java documentation for android.telecom.RemoteConnection.VideoProvider.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