MMKBalloonView
Warning
This feature is available in the NaviKit SDK version.
|
class MMKBalloonView : NSObject |
Summary
Properties
|
var anchor: MMKBalloonAnchor { get } |
|
var balloon: MMKBalloon { get } |
|
var isIsVisible: Bool { get } |
|
var isIsEnabled: Bool { get set } |
|
var hostRoute: MMKDrivingRoute { get } |
|
var isValid: Bool { get } |
Properties
anchor
|
var anchor: MMKBalloonAnchor { get } |
balloon
|
var balloon: MMKBalloon { get } |
isIsVisible
|
var isIsVisible: Bool { get } |
True if balloon currently visible on the screen. Always false if balloon disabled
isIsEnabled
|
var isIsEnabled: Bool { get set } |
If 'true', balloons will be shown whenever it possible. If 'false', balloons will be always hidden. BalloonViewListener.onBalloonContentChanged is called regardless of isEnabled value. RouteView.showBalloons call changes this attribute. Enabled by default.
hostRoute
|
var hostRoute: MMKDrivingRoute { get } |
The route to which this balloon belongs.
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.