LCSMS
Objective-C
@interface LCSMS : NSObject
/**
Request a short message for a phone number.
@param phoneNumber The phone number which the short message will sent to.
@param options The options that configure short message.
@param callback The callback of request.
*/
+ (void)requestShortMessageForPhoneNumber:(NSString *)phoneNumber
options:(nullable LCShortMessageRequestOptions *)options
callback:(LCBooleanResultBlock)callback;
@end
Swift
class LCSMS : NSObject
Undocumented
-
Request a short message for a phone number.
Declaration
Objective-C
+ (void) requestShortMessageForPhoneNumber:(nonnull NSString *)phoneNumber options:(nullable LCShortMessageRequestOptions *) options callback:(nonnull LCBooleanResultBlock)callback;
Swift
class func requestShortMessage(forPhoneNumber phoneNumber: String, options: LCShortMessageRequestOptions?, callback: @escaping LCBooleanResultBlock)
Parameters
phoneNumber
The phone number which the short message will sent to.
options
The options that configure short message.
callback
The callback of request.