IAFloor

Objective-C


@interface IAFloor : NSObject

Swift

class IAFloor : NSObject

IAFloor specifies the floor of the building on which the user is located. It is a replacement for CoreLocation’s CLFloor as the interface for that is not open.

  • Initializes and returns a floor object with the specified level information.

    Declaration

    Objective-C

    + (nonnull IAFloor *)floorWithLevel:(NSInteger)level;

    Swift

    /*not inherited*/ init(level: Int)

    Parameters

    level

    initializes level value

  • Floor level values correspond to the floor numbers assigned by the user in the mapping phase.

    It is erroneous to use the user’s level in a building as an estimate of altitude.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger level;

    Swift

    var level: Int { get }
  • Certainty that IALocation floor has the correct value.

    Declaration

    Objective-C

    @property (nonatomic, readonly) IACertainty certainty;

    Swift

    var certainty: IACertainty { get }