Sign in Join
FPDoc Onlineexperiment

LazDeviceApis unit

LCL APIs for accessing hardware sensors (such as Accelerometer, GPS, etc) and integrated elements of the system (such as Calendar, Contacts, etc).

Classes and records

TLazAccelerometerclassRepresents the hardware accelerometer.
TLazDeviceclassRepresents the device itself in a general way and hardware elements which don't have a exclusive object to represent them.
TLazDeviceMessageclassRepresents a message.
TLazMessagingclassA class which manages messages.
TLazPositionInfoclassRepresents the hardware GPS device.

Types

TLazDeviceMessageKindenumerationIndicates the type of message (for example: SMS, MMS, EMail).
TLazMessagingStatusenumerationIndicates the current stage of a message sending operation.
TLazPositionMethodenumerationA list of possible positioning methods.
TOnMessagingStatusprocedure typeA procedural type to receive the events of the status of sending a message.
TScreenRotationenumeration

Variables

AccelerometervariableA global object representing the accelerometer of the device.
DevicevariableA global object which represents the device hardware in a general way, except for those elements which already have their own object, like Screen, PositionInfo, Accelerometer, etc.
MessagingvariableA global object to manage message.
PositionInfovariableA global object which represents the positioning sensor of the device.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.