MapKit Mobile SDK

MMKAnnotator

class MMKAnnotator : NSObject

Undocumented

Summary

Instance methods

func setSpeakerWith( speaker: MMKSpeaker_?)
The class does not retain the object in the 'speaker' parameter

func mute()
Undocumented

func unmute()
Undocumented

func addListener(with annotatorListener: MMKAnnotatorListener)
The class does not retain the object in the 'annotatorListener' parameter

func removeListener(with annotatorListener: MMKAnnotatorListener)
Undocumented

Properties

var annotatedEventsMMKAnnotatedEvents { get set }
Undocumented

var annotatedRoadEventsMMKAnnotatedRoadEvents { get set }
Undocumented

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

setSpeakerWith(_:)

func setSpeakerWith( speaker: MMKSpeaker_?)

The class does not retain the object in the 'speaker' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.


mute()

func mute()

Undocumented


unmute()

func unmute()

Undocumented


addListener(with:)

func addListener(with annotatorListener: MMKAnnotatorListener)

The class does not retain the object in the 'annotatorListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.


removeListener(with:)

func removeListener(with annotatorListener: MMKAnnotatorListener)

Undocumented


Properties

annotatedEvents

var annotatedEvents: MMKAnnotatedEvents { get set }

Undocumented


annotatedRoadEvents

var annotatedRoadEvents: MMKAnnotatedRoadEvents { get set }

Undocumented


isValid

var isValid: Bool { get }

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.