1.00
okhttp
okhttputils2
json
okhttp-3.5.0
okio-1.11.0
javaobject
stringutils
b4a.example.calculationdistancetime._typelevel
typeLevel
process
Initialize
Initializes the fields to their default value.
void
IsInitialized
Tests whether the object has been initialized.
boolean
duration
String
distance
String
error
String
b4a.example.calculationdistancetime
calculationdistancetime
process
IsInitialized
Tests whether the object has been initialized.
boolean
_initialize
Initializes the object. You can add parameters to this method if needed.
<b>originlat</b> - Double Original Latitude
<b>originlot</b> - Double Original Longitude
<b>destinationlat</b> - Double Destination Latitude
<b>destinationlot</b> - Double Destination Longitude
<b>units</b> - Units as Result - "km" returns distances in kilometers and meters or "imperial" returns distances in miles and feet
<i>Example:</i> <code>
Dim calculate As calculationdistancetime
calculate.Initialize(41.923229,12.7241383,41.9191877,12.655384, "Km", Me, "Check_Result")
Sub Check_Result(valore As typeLevel)
Log("Errore: " & valore.error)
If valore.error.Length = 0 Then
Log("Distance: " & valore.distance)
Log("Time to Arrive: " & valore.duration)
End If
End Sub
</code>
String
ba
anywheresoftware.b4a.BA
originlat
double
originlon
double
destinationlat
double
destinationlot
double
units
String
Module
Object
EventName
String
1
Devil-App