Sdílet prostřednictvím


RemoteConnection.VideoProvider.SetCamera(String) Method

Definition

Sets the camera to be used for the outgoing video for the RemoteConnection.VideoProvider.

[Android.Runtime.Register("setCamera", "(Ljava/lang/String;)V", "GetSetCamera_Ljava_lang_String_Handler", ApiSince=23)]
public virtual void SetCamera (string cameraId);
[<Android.Runtime.Register("setCamera", "(Ljava/lang/String;)V", "GetSetCamera_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member SetCamera : string -> unit
override this.SetCamera : string -> unit

Parameters

cameraId
String

The id of the camera (use ids as reported by CameraManager#getCameraIdList()).

Attributes

Remarks

Sets the camera to be used for the outgoing video for the RemoteConnection.VideoProvider.

Java documentation for android.telecom.RemoteConnection.VideoProvider.setCamera(java.lang.String).

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