RKZBeaconData

Objective-C

@interface RKZBeaconData : RKZData

Swift

class RKZBeaconData : RKZData

Beacon端末情報を管理するクラス

Beacon端末情報の取得する際に使用します。

Properties

  • Beaconコード

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *code;

    Swift

    var code: String? { get set }
  • Beacon名

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *name;

    Swift

    var name: String? { get set }
  • 略名称

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *short_name;

    Swift

    var short_name: String? { get set }
  • ビーコンID

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *beacon_id;

    Swift

    var beacon_id: String? { get set }
  • ビーコンタイプ

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *beacon_type_cd;

    Swift

    var beacon_type_cd: String? { get set }
  • major

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSNumber *major;

    Swift

    var major: NSNumber? { get set }
  • minor

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSNumber *minor;

    Swift

    var minor: NSNumber? { get set }
  • 並び順

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSNumber *sort_no;

    Swift

    var sort_no: NSNumber? { get set }
  • 利用不可フラグ

    Declaration

    Objective-C

    @property (nonatomic) BOOL not_use_flg;

    Swift

    var not_use_flg: Bool { get set }
  • 自由項目

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSDictionary<NSString *, id> *attributes;

    Swift

    var attributes: [String : Any]? { get set }

Initialization

  • 指定イニシャライザ

    Declaration

    Objective-C

    + (nonnull instancetype)initWithResultSet:(nonnull NSDictionary *)rs;

    Swift

    class func initWithResultSet(_ rs: [AnyHashable : Any]) -> Self

    Parameters

    rs

    変数名に対応したKeyを持つ連想配列

    Return Value

    id 初期化を行ったモデル情報