共用方式為


VideoProfile.IsAudioOnly(VideoProfileState) Method

Definition

Indicates whether the video state is audio only.

[Android.Runtime.Register("isAudioOnly", "(I)Z", "", ApiSince=23)]
public static bool IsAudioOnly (Android.Telecom.VideoProfileState videoState);
[<Android.Runtime.Register("isAudioOnly", "(I)Z", "", ApiSince=23)>]
static member IsAudioOnly : Android.Telecom.VideoProfileState -> bool

Parameters

videoState
VideoProfileState

The video state.

Returns

True if the video state is audio only, false otherwise.

Attributes

Remarks

Indicates whether the video state is audio only.

Note: Considers only whether either both the #STATE_RX_ENABLED or #STATE_TX_ENABLED bits are off, but not #STATE_PAUSED.

Java documentation for android.telecom.VideoProfile.isAudioOnly(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