AccessoryManager.SetMute(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets mute on the phone to on or off.
public:
static void SetMute(bool mute);
static void SetMute(bool const& mute);
public static void SetMute(bool mute);
function setMute(mute)
Public Shared Sub SetMute (mute As Boolean)
Parameters
- mute
-
Boolean
bool
True if mute is set, otherwise false.
Windows requirements
App capabilities |
accessoryManager
|
Remarks
Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.