UNPKG

dynamicsmobile

Version:

Allows development of off-line mobile and web business apps over the Dynamics Mobile platform. More info on https://www.dynamicsmobile.com

35 lines (34 loc) 1.22 kB
import { PlatformType } from '../platform/dms-platform-type'; import { DeviceInfo } from '../lib-mobile'; export declare class DeviceBackendService { private iocInstances; constructor(iocInstances: any); logOut(): void; sync(): Promise<void>; hideOnScreenKeyboard(): Promise<void>; isNFCSupported(): Promise<boolean>; readNFCTag(): Promise<Object>; getIPAddress(): Promise<string>; barcodeScan(): Promise<{ content: string; success: boolean; message: string; format: string; }>; getPlatformType(): PlatformType; getInfo(): Promise<DeviceInfo>; openWebBrowser(url: string): Promise<void>; shareContent(content: string, _mime: string): Promise<void>; sendEmail(recipient: string, _subject: string, content: string, attachment: string, sender?: string): Promise<void>; takePicture(): Promise<{ url: string; }>; selectPicture(): Promise<{ url: string; }>; getBTDevices(): Promise<string[]>; beepOk(): Promise<void>; beepError(): Promise<void>; beepDoubleOk(): Promise<void>; logEvent(level: 'INFO' | 'WARN' | 'ERROR', message: string, user?: string, metricValue?: number): any; }