Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.Alarm.SetStructuredLocation
Sets the location for the event.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
EKAlarm | The reference to the alarm. | $Alarm |
EKStructuredLocation | The reference to the structured location. | $StructuredLocation |
Result
Returns OK or error.
Description
Sets the location for the event.Examples
Create structured location for alarm:
Set Variable [$l; Value:MBS( "Events.StructuredLocation.NewLocationWithTitle"; Events Create Reminder::AlarmLocationTitle )]
Set Variable [$r; Value:MBS( "Events.StructuredLocation.SetRadius"; $l; Events Create Reminder::AlarmLocationRadius )]
Set Variable [$r; Value:MBS( "Events.StructuredLocation.SetGeoLocation"; $l; Events Create Reminder::AlarmLocationGeoLat; Events Create Reminder::AlarmLocationGeoLong )]
Set Variable [$r; Value:MBS( "Events.Alarm.SetStructuredLocation"; $alarm; $l)]
Set Variable [$r; Value:MBS( "Events.Alarm.SetProximity"; $alarm; Events Create Reminder::AlarmProximity )]
See also
- Events.Alarm.GetStructuredLocation
- Events.Alarm.SetProximity
- Events.Alarm.SetRelativeOffset
- Events.Event.GetStructuredLocation
- Events.Event.SetStructuredLocation
- Events.NewAlarm
- Events.NewReminder
- Events.SaveReminder
- Events.StructuredLocation.SetGeoLocation
- Events.StructuredLocation.SetRadius
Example Databases
This function checks for a license.
Created 10th March 2016, last changed 13th March 2016