Datalogic .NET SDK

Device (Class)

 

Syntax

 

   public sealed partial class Device

 

 

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Overview

This class exposes the methods need to access the device’s system and keyboard information.

 

 

 

Constructors

 

 

None

 

 

Public Members

 

 

Type

Name

Value

const Int32

DLError

-1

 

Public Subclass

 

 

Type

Name

 

sealed

AccEventArgs

 

sealed

AccStream

 

sealed

DLVersionInfo

 

sealed

BatteryInfo

 

sealed

BTPair

 

sealed

BTDevice

 

 

Public Struct

 

Type

Name

[StructLayout(LayoutKind.Sequential)]

AccData

[StructLayout(LayoutKind.Sequential)]

BatteryThreshold

 

DLCustomKey

 

Public Enumeration

 

 

Type

Name

Value

[Flags]

TriggerId

 

[Flags]

TriggerInputType

 

[Flags]

HardwareOptions

 

[Flags]

KbdState

 

 

VersionIndex

 

 

PerformanceMetrics

 

 

KbdType

 

 

KbdMultitapDelay

 

 

KbdRemapError

 

 

BootType

 

 

DeviceModel

 

 

DisplayBrightness

 

 

DisplayBacklight

 

 

OperatingSystem [obsolete]

 

 

Language

 

 

BTDirect

 

 

DLKeys

 

 

OSType

 

 

 

Public Methods

 

static KbdType

KeybdGetType()

static KbdMultitapDelay

KeybdGetMultitapDelay()

static Boolean

KeybdSetMultitapDelay(KbdMultitapDelay DelaySetting)

static KbdRemapError

KeybdLoadKeymap(String keyMapPath)

static String

KeybdGetKeymapID()

static UInt32

KeybdGetKeyInputState()

static Boolean

KeybdSetKeyInputState(UInt32 State)

static BootType

GetBootType()

static String

GetFirmwareVersion()

static DLVersionInfo []

GetReportedVersionsInfo()

static string

GetFlashFileRoot()

static Boolean

SetTouchScreenEnable(Boolean bEnable)

static Boolean

GetTouchScreenEnable(out Boolean enabled)

static DeviceModel

GetModel()

static String

GetSerialNumber()

static Boolean

GetBatteryInfo(out BatteryInfo info)

static Boolean

SetBatteryThreshold(BatteryThreshold batThreshold)

static Boolean

GetBatteryThreshold(out BatteryThreshold batThreshold)

static Boolean

GetHardwareInfo(out Int32 hardware)

static Int32

GetMetric(PerformanceMetrics metricId)

static TriggerInputType

GetTriggerType(TriggerId trigger)

static Boolean

SetTriggerType(TriggerId trigger, TriggerInputType inputType)

static string

GetTerminalAPIVersion()     

static DisplayBrightness

DisplayGetBkltBrightness()

static DisplayBrightness

DisplaySetBkltBrightness(DisplayBrightness brightness)

static DisplayBacklight

DisplayGetBkltState()

static DisplayBacklight

DisplayBkltEnable(DisplayBacklight Enable)

static OperatingSystem

GetOSType() [obsolete]

static Language

GetLanguage()

static Boolean

SetPhonePowerState(Boolean on)

static Boolean

GetPhonePowerStatus()

static Boolean

SetGPSPowerState(Boolean on)

static Boolean

GetGPSPowerStatus()

static Boolean

SetWiFiPowerState(Boolean on)

static Boolean

GetWiFiPowerStatus()

static Boolean

BtInitialize()

static Boolean

BtTerminate()

static Boolean

BtStatus(out Boolean status)

static Boolean

BtEnable(Boolean On)

static BTDevice[]

BtDiscoverSerialDevices()

static Int32

BtGetPairingCount()

static BTPair

BtGetPairingInfo(int PairCount)

static Boolean

BtCreateSerialPairing(char[] addrStr, Int32 portIndex)

static Boolean

BtClearSerialPairing(char[] addrStr)

static Boolean

BtClearAllPairings()

static Boolean

GetIsInCradle()

static String

GetModelName()

static Int32

GetBatteryLevel()

static Boolean

GetExtPowerStatus()

static Boolean

WiFiGetMacAddress(out Byte [] macAddress)

static Boolean

WiFiGetRssi(out Int32 rssi)

static Boolean

WiFiGetSignalQuality(out UInt32 quality)

static boolean

Reset(BootType bootType)

static OSType

GetOSType2()

static Int32 GetBatterySuspendTimeout()

static Boolean

SetBatterySuspendTimeout(UInt32 Timeout)

static Int32

GetACSuspendTimeout()

static Boolean SetACSuspendTimeout(UInt32 Timeout)
static Boolean EnableLED(LEDs LED, Boolean Enable)
static Boolean EnableModem(Boolean Enable)
static Boolean

PlayBeep(BeepTone Tone, BeepTime Duration, Boolean Asynchronous)

static Boolean BlinkLED(LEDs LED, Int32 Count, UInt32 OnTime, UInt32 OffTime)
static Boolean KeybdCustomSetList(DLCustomKey[] List)
static Boolean KeybdCustomGetList(out DLCustomKey[] List)
static Boolean KeybdCustomClearList()
static Boolean KeybdCustomSetEntry(DLCustomKey CustomKey)
static Boolean KeybdCustomGetEntry(DLKeys Key, ref DLKeys Output)
static Boolean KeybdCustomSetEnableState(Boolean Enable)
static Boolean KeybdCustomGetEnableState()
static UsbFnClass GetUsbFnDriver(UsbFnState state)
static Boolean SetUsbFnDriver(UsbFnClass newDriver)

 

Public Delegates

 

Name

Description

AccDataReady

Used when the AccStream class raises a “DataReady” event.

 

 

Inherited from

 

 

ApplicationException

 

 

 

See Also

Msdn ApplicationException Class reference.

 

Copyright © Datalogic ADC. All Right Reserved