File: lazdeviceapis.xml

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (574 lines) | stat: -rw-r--r-- 16,918 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
<?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
<package name="lcl">

  <!--
    ====================================================================
      lazdeviceapis
    ====================================================================
  -->

  <module name="lazdeviceapis">
    <short>LCL APIs for accessing hardware sensors (such as Accelerometer, GPS, etc) and integrated elements of the system (such as Calendar, Contacts, etc)</short>
    <descr>
    </descr>

    <!-- class Visibility: default -->
    <element name="TLazAccelerometer">
    <short>Represents the hardware accelerometer</short>
    <descr>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazAccelerometer.xaxis">
    <short>The last value measured for the X axis of the accelerometer</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazAccelerometer.yaxis">
    <short>The last value measured for the Y axis of the accelerometer</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazAccelerometer.zaxis">
    <short>The last value measured for the Z axis of the accelerometer</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- procedure Visibility: public -->
    <element name="TLazAccelerometer.StartReadingAccelerometerData">
    <short>Starts monitoring the accelerometer sensor</short>
    <descr><p>After calling this method, the accelerometer sensor will be monitored.
    If the accelerometer native API sends an event for value changes, then the event
    OnSensorChanged will be called on every change and before calling it the xaxis,
    yaxis and zaxis properties of the Accelerometer global object will be updated to
    reflect the last value read. If the native accelerometer API requires pooling, then
    the accelerometer state will be pooled at a rate not faster then once per millisecond.</p>
    <p>Remember to call StopReadingAccelerometerData when the accelerometer is no
    longer needed, because this may save energy in some mobile platforms.</p>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- procedure Visibility: public -->
    <element name="TLazAccelerometer.StopReadingAccelerometerData">
    <short>Stops monitoring the accelerometer sensor</short>
    <descr><p>After calling this method OnSensorChange will no longer be called and
    the xaxis, yaxis and zaxis properties will remain stopped at the last value read</p>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- procedure Visibility: public -->
    <element name="TLazAccelerometer.OnSensorChanged">
    <short>Called when the accelerometer value changes or is updated from the sensor</short>
    <descr>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- enumeration type Visibility: default -->
    <element name="TLazDeviceMessageKind">
    <short>Indicates the type of message (for example: SMS, MMS, EMail)</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazDeviceMessageKind.dmkSMS">
    <short>Indicates that the message is a SMS</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazDeviceMessageKind.dmkMMS">
    <short>Indicates that the message is a MMS</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazDeviceMessageKind.dmkEMail">
    <short>Indicates that the message is a E-Mail</short>
    </element>

    <!-- class Visibility: default -->
    <element name="TLazDeviceMessage">
    <short>Represents a message</short>
    <descr>Don't create instances of this class directly. Instead use Messaging.CreateMessage().
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.bccAddress">
    <short>A copy should be sent to addresses specified here, but these addresses will not appear in the message</short>
    <descr>The BCC field of E-Mails, also known as hidden copy
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.Body">
    <short>The main text of the message</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.ReplyToAddress">
    <short>Might indicate an address different from SourceAddress so that replies are sent to a different address then the message sender</short>
    <descr>By default this value is empty, which means that the source and reply-to addresses match.
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.ccAddress">
    <short>A copy should be sent to addresses specified here</short>
    <descr>The CC field in E-Mails
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.destinationAddress">
    <short>The destination(s) of the message</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.isRead">
    <short>Indicates if the user has already read the message</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.messageId">
    <short>Reserved field</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.messageType">
    <short>The type of the message</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.sourceAddress">
    <short>The address from which the message was sent</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.Subject">
    <short>The title or subject of the message</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.Time">
    <short>The time when the message was sent</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazDeviceMessage.validityPeriod">
    <short>The period of time for which the message is valid</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- enumeration type Visibility: default -->
    <element name="TLazMessagingStatus">
    <short>Indicates the current stage of a message sending operation</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazMessagingStatus.mssSentSuccessfully">
    <short>Indicates that the message was sent successfully to the server</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazMessagingStatus.mssSendingGeneralError">
    <short>The message was not successfully sent to the server, but no particular reason for the failure is known.</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazMessagingStatus.mssRadioOff">
    <short>The hardware device which would send the message is off. The user should activate
    his Radio Network (CDMA, GMS or another one) or activate his WiFi (for EMail only)</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazMessagingStatus.mssNoService">
    <short>The hardware device which would send the message could not connect to the network
    because there is no signal here.</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazMessagingStatus.mssReceivedSuccessfully">
    <short>The message was succesfully received by the destionation</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazMessagingStatus.mssReceivingGeneralError">
    <short>The message was not successfully received by the target, but no particular reason for the failure is known.</short>
    </element>

    <!-- procedure type Visibility: default -->
    <element name="TOnMessagingStatus">
    <short>A produral type to receive the events of the status of sending a message</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- argument Visibility: default -->
    <element name="TOnMessagingStatus.AMessage">
    <short></short>
    </element>

    <!-- argument Visibility: default -->
    <element name="TOnMessagingStatus.AStatus">
    <short></short>
    </element>

    <!-- class Visibility: default -->
    <element name="TLazMessaging">
    <short>A class which manages messages</short>
    <descr>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- procedure Visibility: public -->
    <element name="TLazMessaging.SendMessage">
    <short>Sends a message to the target specified on it</short>
    <descr><p>The message to be sent should be created with the method CreateMessage
    from this same class and later released with FreeMessage. The same message can be
    sent multiple times, but ideally it should not be edited after sending the first
    time to avoid confusion when obtaining the message object back in the status
    callback.</p>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- argument Visibility: default -->
    <element name="TLazMessaging.SendMessage.AMsg">
    <short></short>
    </element>

    <!-- procedure Visibility: public -->
    <element name="TLazMessaging.CreateMessage">
    <short>Creates a new message which can be sent with SendMessage</short>
    <descr>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- argument Visibility: default -->
    <element name="TLazMessaging.CreateMessage.Result">
    <short></short>
    </element>

    <!-- procedure Visibility: public -->
    <element name="TLazMessaging.FreeMessage">
    <short>Removes a message created with CreateMessage</short>
    <descr>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- argument Visibility: default -->
    <element name="TLazMessaging.FreeMessage.AMessage">
    <short></short>
    </element>

    <!-- property Visibility: public -->
    <element name="TLazMessaging.OnMessagingStatus">
    <short></short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- enumeration type Visibility: default -->
    <element name="TLazPositionMethod">
    <short>A list of possible positioning methods</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazPositionMethod.pmGPS">
    <short>The GPS positioning method</short>
    </element>

    <!-- enumeration value Visibility: default -->
    <element name="TLazPositionMethod.pmNetwork">
    <short>Detects the position via the network connection</short>
    </element>

    <!-- class Visibility: default -->
    <element name="TLazPositionInfo">
    <short>Represents the hardware GPS device</short>
    <descr>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.IsPositionDataAvailable">
    <short>Indicates if position info was read in the life of this program</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.accuracy">
    <short>The horizontal accuracy of the position in meters</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.altitude">
    <short>Altitude in meters in relation to the sea level using the World Geodetic System 1984 (WGS84) datum</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.altitudeAccuracy">
    <short>The vertical accuracy of the position in meters, or zero if not available</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.latitude">
    <short>Latitude in degrees using the World Geodetic System 1984 (WGS84) datum</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.longitude">
    <short>Longitude in degrees using the World Geodetic System 1984 (WGS84) datum</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.longitude">
    <short>In meters / second</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: public -->
    <element name="TLazPositionInfo.timeStamp">
    <short>The time when the latest location was established</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- procedure Visibility: public -->
    <element name="TLazPositionInfo.RequestPositionInfo">
    <short>Requests the latest position using the given method</short>
    <descr>This call is assynchronous and the data will only be available when the OnPositionRetrieved callback is called.
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- argument Visibility: default -->
    <element name="TLazPositionInfo.RequestPositionInfo.AMethod">
    <short></short>
    </element>

    <!-- property Visibility: public -->
    <element name="TLazPositionInfo.OnPositionRetrieved">
    <short>Called asynchronously when the position is read</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- class Visibility: default -->
    <element name="TLazDevice">
    <short>Represents the device itself in a general way and hardware elements which don't have a exclusive object to represent them</short>
    <descr>
    </descr>
    <errors>
    </errors>
    <seealso>
    </seealso>
    </element>

    <!-- function Visibility: public -->
    <element name="TLazDevice.Vibrate">
    <short>Vibrates the device, if it has hardware support for this.</short>
    <descr>Vibrates the device, if it has hardware support for this. The duration of the vibration is given in miliseconds.
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- property Visibility: public -->
    <element name="TLazDevice.Manufacturer">
    <short>A string with the name of the manufacturer of the device</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- property Visibility: public -->
    <element name="TLazDevice.Model">
    <short>The model of the device.</short>
    <descr>The model of the device. Sometimes the model includes the manufacturer too.
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: default -->
    <element name="Accelerometer">
    <short>A global object representing the accelerometer of the device</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: default -->
    <element name="Messaging">
    <short>A global object to manage message</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: default -->
    <element name="PositionInfo">
    <short>A global object which represents the positioning sensor of the device</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

    <!-- variable Visibility: default -->
    <element name="Device">
    <short>A 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.</short>
    <descr>
    </descr>
    <seealso>
    </seealso>
    </element>

  </module> <!-- lazdeviceapis -->

</package>
</fpdoc-descriptions>