CaptureDevice.IsDefaultDevice Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that declares whether the capture device is the default device for its type (audio or video).
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public ReadOnly Property IsDefaultDevice As Boolean
public bool IsDefaultDevice { get; }
Property Value
Type: System..::.Boolean
true if this CaptureDevice represents the default device for its type; otherwise, false.
Remarks
If multiple devices are available, the user can select the device to use as part of the Windows Phone configuration dialog box (Webcam/Mic tab). In configuration UI, audio devices and video devices are listed separately, and each can have a default. If a device is unavailable in the Windows Phone configuration dialog box, no CaptureDevice instance represents it.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone