/*!
@method canSendText
@abstract Returns <tt>YES</tt> ifthe user has set up the device for sending text only messages.
@discussion If thereturn value is YES, the client can setthe recipients and body ofthe message.
If thereturn value is NO, the client may notify the user ofthe failure, orthe
client may open an SMS URL via <tt>-[UIApplication openURL:]</tt>.
*/
+ (BOOL)canSendText;
/*!
@enum MessageComposeResult
@abstract Composition result sent tothe delegate upon user completion.
@discussion This result will inform the client ofthe user's message composition action. If the
user cancels the composition, <tt>MessageComposeResultCancelled</tt> will be sent tothe delegate.
Typically <tt>MessageComposeResultSent</tt> will be sent, but <tt>MessageComposeResultFailed</tt> will
be sent inthe case of failure. </p>Send may only be interpreted as a successful queueing ofthe message for later sending. The actual send will occur when the device is able to send.
@constant MessageComposeResultCancelled User canceled the composition.
@constant MessageComposeResultSent User successfully sent/queued the message.
@constant MessageComposeResultFailed User's attempt to save or send was unsuccessful.
*/
typedef NS_ENUM(NSInteger, MessageComposeResult) {
MessageComposeResultCancelled,
MessageComposeResultSent,
MessageComposeResultFailed
} API_AVAILABLE(ios(4.0));