Share via


AccessoryManager.PhoneMute Property

Definition

Gets or sets whether the phone call is muted.

public:
 static property bool PhoneMute { bool get(); void set(bool value); };
static bool PhoneMute();

static void PhoneMute(bool value);
public static bool PhoneMute { get; set; }
var boolean = AccessoryManager.phoneMute;
AccessoryManager.phoneMute = boolean;
Public Shared Property PhoneMute As Boolean

Property Value

Boolean

bool

True if the phone call is muted; 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.

Applies to