KiiIdentityDataBuilder Class Reference
Inherits from | NSObject |
Declared in | KiiIdentityDataBuilder.h |
Properties
Email address of the user.
@property (nonatomic, nullable) NSString *email
Discussion
Email address of the user.
The user’s email.
Declared In
KiiIdentityDataBuilder.h
Instance Methods
build
Build KiiIdentityData instance.
- (nullable KiiIdentityData *)build
Return Value
if build succeed KiiIdentityData instance, otherwise nil. Build will failed when all phoneNumber, email and userName is nil. When one or more of them are given, it should be valid format.
Discussion
Build KiiIdentityData instance.
Build KiiIdentityData instance with username, email and phoneNumber if these were set.
Declared In
KiiIdentityDataBuilder.h
buildWithError:
Build KiiIdentityData instance.
- (nullable KiiIdentityData *)buildWithError:(NSError *_Nullable *_Nullable)error
Parameters
- error
A NSError object, can be nil but not recommended.
Return Value
if build succeed KiiIdentityData instance, otherwise nil. Build will failed when all phoneNumber, email and userName is nil. When one or more of them are given, it should be valid format.
Discussion
Build KiiIdentityData instance.
Build KiiIdentityData instance with username, email and phoneNumber if these were set.
Declared In
KiiIdentityDataBuilder.h