SCPPhoneResult
Objective-C
@interface SCPPhoneResult : SCPCollectInputsResult
Swift
class PhoneResult : CollectInputsResult
Contains data collected from a Phone form
-
Represents the collected phone number. This value is nil if the form was skipped.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *phone;
Swift
var phone: String? { get }
-
Represents the collected toggles, a list of SCPToggleResult. The value is SCPToggleResultSkipped if a form is skipped.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSArray<NSNumber *> *_Nonnull toggles;
Swift
var toggles: [NSNumber] { get }
-
Unavailable
You cannot directly instantiate this class.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
You cannot directly instantiate this class.
Declaration
Objective-C
+ (nonnull instancetype)new;