VMMSWayfindingOptions

Objective-C

@interface VMMSWayfindingOptions : NSObject

Swift

class VMMSWayfindingOptions : NSObject

Model representing the various options to use when creating waypath.

Since

1.0

Initializers

  • Designated initializer. Currently, the only options are to enable/disable stairs and elevators. If the default init method is used, elevators will be enabled and stairs will be disabled.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithElevatorsEnabled:(BOOL)elevatorsEnabled
                                    andStairsEnabled:(BOOL)stairsEnabled;

    Swift

    init(elevatorsEnabled: Bool, andStairsEnabled stairsEnabled: Bool)

    Parameters

    elevatorsEnabled

    BOOL to enable elevators.

    stairsEnabled

    BOOL to enable stairs.

    Return Value

    An instance of VMMSWayfindingOptions.

Public Properties

  • BOOL to enabled elevators.

    Declaration

    Objective-C

    @property BOOL elevatorsEnabled;

    Swift

    var elevatorsEnabled: Bool { get set }
  • BOOL to enable stairs.

    Declaration

    Objective-C

    @property BOOL stairsEnabled;

    Swift

    var stairsEnabled: Bool { get set }