getDeviceName() function Returns name of the device. Signature: export declare function getDeviceName(): Promise<string>; Returns: Promise<string> Remarks On Node.js platform, it returns hostname of the platform.