-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathAndroidapi.JNI.Interfaces.JGeomagneticField.pas
More file actions
33 lines (28 loc) · 1.17 KB
/
Androidapi.JNI.Interfaces.JGeomagneticField.pas
File metadata and controls
33 lines (28 loc) · 1.17 KB
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
unit Androidapi.JNI.Interfaces.JGeomagneticField;
interface
uses
Androidapi.JNIBridge,
Androidapi.JNI.JavaTypes;
type
// ===== Forward declarations =====
JGeomagneticField = interface;//android.hardware.GeomagneticField
// ===== Interface declarations =====
JGeomagneticFieldClass = interface(JObjectClass)
['{77F2155B-1F9A-40E0-89FA-FE3422336577}']
{class} function init(gdLatitudeDeg: Single; gdLongitudeDeg: Single; altitudeMeters: Single; timeMillis: Int64): JGeomagneticField; cdecl;
{class} function getHorizontalStrength: Single; cdecl;//Deprecated
{class} function getInclination: Single; cdecl;//Deprecated
{class} function getX: Single; cdecl;//Deprecated
end;
[JavaSignature('android/hardware/GeomagneticField')]
JGeomagneticField = interface(JObject)
['{47CF41EC-AAAB-4EE2-867A-884A3EF00407}']
function getDeclination: Single; cdecl;//Deprecated
function getFieldStrength: Single; cdecl;//Deprecated
function getY: Single; cdecl;
function getZ: Single; cdecl;
end;
TJGeomagneticField = class(TJavaGenericImport<JGeomagneticFieldClass, JGeomagneticField>) end;
implementation
initialization
end.