@nodert-win10/windows.devices.portable
Version:
Use the Windows.Devices.Portable UWP API directly from Node.js
42 lines (24 loc) • 679 B
TypeScript
declare module "windows.devices.portable" {
export class PortableDeviceContract {
constructor();
}
export enum ServiceDeviceType {
calendarService,
contactsService,
deviceStatusService,
notesService,
ringtonesService,
smsService,
tasksService,
}
export class StorageDevice {
constructor();
static fromId(deviceId: String): Object;
static getDeviceSelector(): String;
}
export class ServiceDevice {
constructor();
static getDeviceSelector(serviceType: ServiceDeviceType): String;
static getDeviceSelectorFromServiceId(serviceId: String): String;
}
}