SBDMessageMetaArray Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying SBDMappable |
| Declared in | SBDMessageMetaArray.h |
Overview
The SBDMessageMetaArray instance has a string type of key and an array type of value.
The value consists of a string.
It usually can be used for ‘vote’ or ‘reaction’ for the message.
key
A string type of key.
@property (copy, atomic, readonly, nonnull) NSString *keyAvailability
3.0.148
Declared In
SBDMessageMetaArray.h
value
The value consists of a string. The value guarantees de-duplicated string.
@property (strong, atomic, readonly, nonnull) NSArray<NSString*> *valueAvailability
3.0.148
Declared In
SBDMessageMetaArray.h
– initWithKey:
- (nonnull instancetype)initWithKey:(nonnull NSString *)keyParameters
key |
A string type of key. |
|---|
Return Value
Message meta array instance.
Availability
3.0.148
@code SBDMessageMetaArray *metaArray = [[SBDMessageMetaArray alloc] initWithKey:string_key]; @endcode
Declared In
SBDMessageMetaArray.h
– initWithKey:value:
- (nonnull instancetype)initWithKey:(nonnull NSString *)key value:(nullable NSArray<NSString*> *)valueReturn Value
Message meta array instance.
Availability
3.0.148
@code SBDMessageMetaArray *metaArray = [[SBDMessageMetaArray alloc] initWithKey:string_key value:array_value]; @endcode
Declared In
SBDMessageMetaArray.h
– init
DO NOT USE this initializer. Use initWithKey:value: instead.
- (nonnull instancetype)initDeclared In
SBDMessageMetaArray.h