Synchronous variant of getDeviceType.
const result = getDeviceTypeSync(); Copy
const result = getDeviceTypeSync();
Synchronous variant of getDeviceType.