Windows Dev Center

ServiceDeviceType enumeration

Indicates the type of a portable device service.

Syntax


var value = Windows.Devices.Portable.ServiceDeviceType.calendarService;

Members

The ServiceDeviceType enumeration has these members.

MemberValueDescription
CalendarService | calendarService0

A service that provides calendar information.

ContactsService | contactsService1

A service that tracks contacts.

DeviceStatusService | deviceStatusService2

A device status service.

NotesService | notesService3

A note-taking service.

RingtonesService | ringtonesService4

A service that provides ringtones for a phone.

SmsService | smsService5

An SMS messaging service.

TasksService | tasksService6

A service for tracking tasks.

Remarks

To access the device services, you must declare the device service in the capabilities section of the app manifest file. For a list of the GUIDs representing the device services, see Windows.Devices.Portable.

Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.Devices.Portable.PortableDeviceContract, introduced version 1.0

Namespace

Windows.Devices.Portable
Windows::Devices::Portable [C++]

Metadata

Windows.Devices.Portable.PortableDeviceContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Devices.Portable
Windows::Devices::Portable [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft