DevicePolicyManager.IsMasterVolumeMuted(ComponentName) 方法

定义

由配置文件或设备所有者调用,以检查全局卷静音是打开还是关闭。

[Android.Runtime.Register("isMasterVolumeMuted", "(Landroid/content/ComponentName;)Z", "GetIsMasterVolumeMuted_Landroid_content_ComponentName_Handler")]
public virtual bool IsMasterVolumeMuted (Android.Content.ComponentName admin);
[<Android.Runtime.Register("isMasterVolumeMuted", "(Landroid/content/ComponentName;)Z", "GetIsMasterVolumeMuted_Landroid_content_ComponentName_Handler")>]
abstract member IsMasterVolumeMuted : Android.Content.ComponentName -> bool
override this.IsMasterVolumeMuted : Android.Content.ComponentName -> bool

参数

admin
ComponentName

DeviceAdminReceiver此请求与此请求相关联。

返回

true 如果全局卷已静音, false 则为非。

属性

注解

由配置文件或设备所有者调用,以检查全局卷静音是打开还是关闭。

适用于 . 的 android.app.admin.DevicePolicyManager.isMasterVolumeMuted(android.content.ComponentName)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于