EMMessengerResponse
@protocol EMMessengerResponse <NSObject>
Protocol for accessing the message response status and the details of the response.
Since
5.3-
To check whether the request is success or failure.
Declaration
Objective-C
@property (readonly, getter=isSuccess, nonatomic) BOOL success;
Swift
var isSuccess: Bool { get }
Return Value
‘YES’ if succeeded, else ‘NO’.
-
Retrieves the result code. The result code precisely identifies what went wrong.
Declaration
Objective-C
@property (readonly, nonatomic) int code;
Swift
var code: Int32 { get }
Return Value
The result code.
-
Retrieves the message text. The message text detailing what went wrong. It is the deeply technical information, not localized.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSString *message;
Swift
var message: String? { get }
Return Value
The message text.