Emoji
@objc(SBDEmoji)
public final class Emoji : NSObject, Codable
extension Emoji: Serializable
Class to represent emoji
Since
3.0.180-
Emoji’s key
Declaration
Swift
@objc public internal(set) var key: String { get }
-
Emoji’s url
Declaration
Swift
@objc public internal(set) var url: String { get }
-
Serializes this object into data
Declaration
Swift
public func serialize() -> Data?
Return Value
optioanal
Data
instance -
Deserializes and reconstructs the object
Declaration
Swift
public static func build(fromSerializedData data: Data?) -> `Self`?
Parameters
data
Data
instanceReturn Value
Emoji
if parameter is valid, otherwisenil