SPLiveUserInfo

@interface SPLiveUserInfo : NSObject

SPLiveUserInfo

Contains information about a live user.

  • Unique user identifier for user.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nonnull userIdentifier;

    Swift

    var userIdentifier: String { get set }
  • Title for the user. Note that this is optional.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) NSString *title;

    Swift

    var title: String? { get set }
  • Array of geofence identifiers for geofences that the user is located in. Note that the array may be empty if the user is not inside any geofences.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<NSString *> *_Nonnull geofencesHit;

    Swift

    var geofencesHit: [String] { get set }
  • Geofence status for the user.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) SPGeofenceStatus geofenceStatus;

    Swift

    var geofenceStatus: SPGeofenceStatus { get set }
  • Last known location for the user.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable) SPLocation *location;

    Swift

    var location: SPLocation? { get set }