語言

InCallService.SetMuted(Boolean) 方法

定義

設定麥克風靜音狀態。

[Android.Runtime.Register("setMuted", "(Z)V", "", ApiSince=23)]
public void SetMuted(bool state);
[<Android.Runtime.Register("setMuted", "(Z)V", "", ApiSince=23)>]
member this.SetMuted : bool -> unit

參數

state
Boolean

true 如果麥克風應該靜音; false 否則,

屬性

備註

設定麥克風靜音狀態。 當此請求被接受時,將對 #getCallAudioState()。

Java 文件 android.telecom.InCallService.setMuted(boolean)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於