Aracılığıyla paylaş


AudioManager.IsVolumeGroupMuted(Int32) Method

Definition

Returns the current mute state for a particular volume group associated to the given id.

[Android.Runtime.Register("isVolumeGroupMuted", "(I)Z", "GetIsVolumeGroupMuted_IHandler", ApiSince=34)]
public virtual bool IsVolumeGroupMuted (int groupId);
[<Android.Runtime.Register("isVolumeGroupMuted", "(I)Z", "GetIsVolumeGroupMuted_IHandler", ApiSince=34)>]
abstract member IsVolumeGroupMuted : int -> bool
override this.IsVolumeGroupMuted : int -> bool

Parameters

groupId
Int32

of the android.media.audiopolicy.AudioVolumeGroup to consider.

Returns

The mute state for the given android.media.audiopolicy.AudioVolumeGroup id.

Attributes

Remarks

Returns the current mute state for a particular volume group associated to the given id.

Call first in prior #getVolumeGroupIdForAttributes(AudioAttributes) to retrieve the volume group id supporting the given AudioAttributes.

Java documentation for android.media.AudioManager.isVolumeGroupMuted(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