Share via


PhoneMediaType Enum

Definition

Represents the type of media on the phone line, audio-only or audio and video.

public enum class PhoneMediaType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class PhoneMediaType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum PhoneMediaType
var value = Windows.Phone.Notification.Management.PhoneMediaType.audioOnly
Public Enum PhoneMediaType
Inheritance
PhoneMediaType
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
App capabilities
accessoryManager

Fields

Name Value Description
AudioOnly 0

The media on the phone line is audio-only.

AudioVideo 1

The media on the phone line is audio and video.

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to