public static int tdGetDeviceType(int deviceId) { if (isWindows) { return(WindowsWrapper.tdGetDeviceType(deviceId)); } else { return(UnixWrapper.tdGetDeviceType(deviceId)); } }