MessageSendingStatus
@objc(SBDMessageSendingStatus)
public enum MessageSendingStatus : Int
extension MessageSendingStatus: Codable
extension MessageSendingStatus: CustomDebugStringConvertible
Constants of type to describe message’s sending status.
Since
3.0.173-
MUST NOT BE. If you got a message instance from SDK, the message can’t have this value.
Declaration
Swift
case none = 0
-
Indicates the status of the message returned when trying to send a message. The message with the pending status means that is not dispatched completely to the Sendbird server. The pending message should be replaced with a message (failed or succeeded) from the callback.
Declaration
Swift
case pending = 1
-
Indicates the status of the message that failed to send the message.
Declaration
Swift
case failed = 2
-
Indicates the status of the message that success to send the message.
Declaration
Swift
case succeeded = 3
-
Indicates the status of the message that is canceled.
Declaration
Swift
case canceled = 4
-
Indicates the status of the message that is scheduled.
Declaration
Swift
case scheduled = 5
-
Undocumented
Declaration
Swift
public init(stringValue: String)
-
Declaration
Swift
public init(rawValue: Int)
-
Default constructor.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
Decoder
instance -
Encodes this object.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
Encoder
instance -
Declaration
Swift
public var debugDescription: String { get }