Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Events.StructuredLocation.NewLocationWithTitle

Creates a new location.

Component Version macOS Windows Linux Server iOS SDK
Events 6.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Events.StructuredLocation.NewLocationWithTitle"; Title )   More

Parameters

Parameter Description Example
Title The new title of location. "Hamburg, Germany"

Result

Returns reference ID or error.

Description

Creates a new location.
Returns reference ID which you can pass to Events.Event.SetStructuredLocation function.

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

Example Databases

Created 10th March 2016, last changed 13th March 2016


Events.StructuredLocation.GetRadius - Events.StructuredLocation.SetGeoLocation

Feedback: Report problem or ask question.