次の方法で共有


AudioManager.ActionMicrophoneMuteChanged Field

Definition

Broadcast Action: microphone muting state changed.

[Android.Runtime.Register("ACTION_MICROPHONE_MUTE_CHANGED", ApiSince=28)]
public const string ActionMicrophoneMuteChanged;
[<Android.Runtime.Register("ACTION_MICROPHONE_MUTE_CHANGED", ApiSince=28)>]
val mutable ActionMicrophoneMuteChanged : string

Field Value

Attributes

Remarks

Broadcast Action: microphone muting state changed.

You <em>cannot</em> receive this through components declared in manifests, only by explicitly registering for it with Context#registerReceiver(BroadcastReceiver, IntentFilter) Context.registerReceiver().

The intent has no extra values, use #isMicrophoneMute to check whether the microphone is muted.

Java documentation for android.media.AudioManager.ACTION_MICROPHONE_MUTE_CHANGED.

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