共用方式為


Connection.SetVideoState(VideoProfileState) Method

Definition

Set the video state for the connection.

[Android.Runtime.Register("setVideoState", "(I)V", "", ApiSince=23)]
public void SetVideoState (Android.Telecom.VideoProfileState videoState);
[<Android.Runtime.Register("setVideoState", "(I)V", "", ApiSince=23)>]
member this.SetVideoState : Android.Telecom.VideoProfileState -> unit

Parameters

videoState
VideoProfileState

The new video state.

Attributes

Remarks

Set the video state for the connection. Valid values: VideoProfile#STATE_AUDIO_ONLY, VideoProfile#STATE_BIDIRECTIONAL, VideoProfile#STATE_TX_ENABLED, VideoProfile#STATE_RX_ENABLED.

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