mergCL

Typelibrary
DictionaryLCS
LibraryLiveCode Script
Associationsmergcl
Description

mergCL is an iOS external for LiveCode that implements significant location change and region monitoring. Both of these services from the CoreLocation framework will start your app in the background if it's not running when the location event occurs. For this external to function reliably the exits on suspend key of the apps plist must be removed.

TypeNameSummarySyntax
commandmergCLBroadcastBeacon

mergCLBroadcastBeacon <pIdentifier>, <pProximityUUID>, <pMajor>, <pMinor>

- - -mergCLGeocode

Request the placemarks found when searching for the address string

mergCLGeocode <pAddressString>

- - -mergCLRequestBeaconRegionStatus

This command requests the core location framework determine if the user is inside or outside the region

mergCLRequestBeaconRegionStatus <pRegionIdentifier>

- - -mergCLRequestRegionStatus

This command requests the core location framework determine if the user is inside or outside the region

mergCLRequestRegionStatus <pRegionIdentifier>

- - -mergCLReverseGeocode

Request the placemarks found when searching for the location

mergCLReverseGeocode <pCoordinate>

- - -mergCLStartLocationManager

Start the location manager

mergCLStartLocationManager <pPurpose>, [<pAuthorizationType>]

- - -mergCLStartMonitoringBeaconRegion

mergCLStartMonitoringBeaconRegion <pIdentifier>, <pProximityUUID>, <pMajor>, <pMinor>

- - -mergCLStartMonitoringRegion

mergCLStartMonitoringRegion <pIdentifier>, <pLocation>, <pRadius>, <pDesiredAccuracy>

- - -mergCLStartMonitoringSignificantLocationChanges

mergCLStartMonitoringSignificantLocationChanges

- - -mergCLStartMonitoringVisits

Recieve the mergCLVisit message when a the system detects a new visit related event

mergCLStartMonitoringVisits

- - -mergCLStartRangingBeaconsInRegion

mergCLStartRangingBeaconsInRegion <pIdentifier>, <pProximityUUID>, [<pMajor>], [<pMinor>]

- - -mergCLStopMonitoringRegion

mergCLStopMonitoringRegion <pIdentifier>

- - -mergCLStopMonitoringSignificantLocationChanges

mergCLStopMonitoringSignificantLocationChanges

- - -mergCLStopMonitoringVisits

Stop monitoring vor visit events

mergCLStopMonitoringVisits

- - -mergCLStopRangingBeaconsInRegion

mergCLStopRangingBeaconsInRegion <pIdentifier>

functionmergCLCoordinateWithin

mergCLCoordinateWithin(<pTestCoordinate>, <pCenterCoordinate>, <pRadius>)

- - -mergCLDistanceBetween

Calculate the distance between to coordinates taking into account the curvature of the earth

mergCLDistanceBetween(<pCoordinateFrom>, <pCoordinateTo>)

- - -mergCLIsBeaconRegionMonitoringAvailable

mergCLIsBeaconRegionMonitoringAvailable()

- - -mergCLIsBeaconRegionRangingAvailable

mergCLIsBeaconRegionRangingAvailable()

- - -mergCLIsRegionMonitoringAvailable

mergCLIsRegionMonitoringAvailable()

- - -mergCLMaximumRegionMonitoringDistance

mergCLMaximumRegionMonitoringDistance()

- - -mergCLMonitoredBeaconRegions

mergCLMonitoredBeaconRegions()

- - -mergCLMonitoredRegions

mergCLMonitoredRegions()

- - -mergCLRangedBeaconRegions

mergCLRangedBeaconRegions()

- - -mergCLSignificantLocationChangeMonitoringAvailable

mergCLSignificantLocationChangeMonitoringAvailable()

librarymergCL

mergCLSignificantLocationChangeMonitoringAvailable()

messagemergCLAuthorizationChanged

This message is sent to the object that started the location manager when the authorization status of location services changes

mergCLAuthorizationChanged <pStatus>

- - -mergCLBeaconRegionEntered

This message is sent to the object that started the location manager when a monitored region is entered

mergCLBeaconRegionEntered <pIdentifier>, <pProximityUUID>, <pMajor>, <pMinor>

- - -mergCLBeaconRegionExited

This message is sent to the object that started the location manager when a monitored region is exited

mergCLBeaconRegionExited <pIdentifier>, <pProximityUUID>, <pMajor>, <pMinor>

- - -mergCLBeaconRegionMonitoringFailedForRegion

This message is sent to the object that started the location manager when region monitoring fails for a specific region

mergCLBeaconRegionMonitoringFailedForRegion <pIdentifier>, <pProximityUUID>, <pMajor>, <pMinor>, <pError>

- - -mergCLDidRangeBeacons

This message is sent to the object that started the location manager when beacons are ranged

mergCLDidRangeBeacons <pRangedBeacons>

- - -mergCLGeocodeResult

This message is sent to the object that called mergCLGeocode when the query returns from the server

mergCLGeocodeResult <pResult>

- - -mergCLLocationChanged

This message is sent to the object that started the location manager when the device location significantly changes

mergCLLocationChanged <pLocation>

- - -mergCLRegionEntered

This message is sent to the object that started the location manager when a monitored region is entered

mergCLRegionEntered <pIdentifier>, <pLocation>, <pRadius>

- - -mergCLRegionExited

This message is sent to the object that started the location manager when a monitored region is exited

mergCLRegionExited <pIdentifier>, <pLocation>, <pRadius>

- - -mergCLRegionMonitoringFailed

This message is sent to the object that started the location manager when region monitoring fails for a specific region

mergCLRegionMonitoringFailed <pIdentifier>, <pLocation>, <pRadius>, <pError>

- - -mergCLVisit

This message is sent to the object that started the location manager when a visit event is detected

mergCLVisit <pLocation>, <pArrivalDate>, <pDepartureDate>