次の方法で共有


InCallService.VideoCall.SetCamera(String) Method

Definition

Sets the camera to be used for the outgoing video.

[Android.Runtime.Register("setCamera", "(Ljava/lang/String;)V", "GetSetCamera_Ljava_lang_String_Handler", ApiSince=23)]
public abstract void SetCamera (string? cameraId);
[<Android.Runtime.Register("setCamera", "(Ljava/lang/String;)V", "GetSetCamera_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member 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.

Handled by Connection.VideoProvider#onSetCamera(String).

Java documentation for android.telecom.InCallService.VideoCall.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