Bit6Address Class Reference
| Inherits from | NSObject |
| Declared in | Bit6Address.h |
Tasks
Initializers
-
+ addressWithURI: -
+ addressWithScheme:value: -
+ addressWithUsername: -
+ addressWithEmail: -
+ addressWithPhone: -
+ addressWithFacebookId:
Properties
-
displayNameproperty -
uriproperty -
schemeproperty -
valueproperty
Utilities
-
isGroupproperty -
– hasScheme:
Properties
displayName
A display name for the sender.
@property (nullable, nonatomic, readonly) NSString *displayNameDeclared In
Bit6Address.hisGroup
indicates if the sender refers to a group.
@property (nonatomic, readonly) BOOL isGroupDeclared In
Bit6Address.hscheme
returns the sender’s scheme.
@property (nonnull, nonatomic, readonly) NSString *schemeDeclared In
Bit6Address.hClass Methods
addressWithEmail:
Initializes a Bit6Address object using an email. The resulting object URI will become mailto:email .
+ (nullable instancetype)addressWithEmail:(nonnull NSString *)emailParameters
value portion of the email URI.
Return Value
a Bit6Address object if succesful or nil if failed.
Declared In
Bit6Address.haddressWithFacebookId:
Initializes a Bit6Address object using a Facebook identifier. The resulting object URI will become fb:facebookId .
+ (nullable instancetype)addressWithFacebookId:(nonnull NSString *)facebookIdParameters
- facebookId
identifier for a facebook user.
Return Value
a Bit6Address object if succesful or nil if failed.
Declared In
Bit6Address.haddressWithPhone:
Initializes a Bit6Address object using an email. The resulting object URI will become tel:phone .
+ (nullable instancetype)addressWithPhone:(nonnull NSString *)phoneParameters
- phone
a valid phone number. It must include the country code, for example +19543308410.
Return Value
a Bit6Address object if succesful or nil if failed.
Declared In
Bit6Address.haddressWithScheme:value:
Initializes a Bit6Address object using a scheme and a value. The resulting object URI will become scheme:value .
+ (nullable instancetype)addressWithScheme:(nonnull NSString *)scheme value:(nonnull NSString *)valueParameters
- scheme
scheme portion of the URI, for example “usr”, “tel”, “fb”, etc
- value
value portion of the URI.
Return Value
a Bit6Address object if succesful or nil if failed.
Declared In
Bit6Address.haddressWithURI:
Initializes a Bit6Address object
+ (nullable instancetype)addressWithURI:(nonnull NSString *)uriParameters
- uri
URI string to identify the address. An URI address is a two part string composed by a scheme and a value, separated by a colon. Examples
usr:calitb, mailto:bit6@bit6.com .
Return Value
a Bit6Address object if succesful or nil if failed.
Declared In
Bit6Address.haddressWithUsername:
Initializes a Bit6Address object using an username. The resulting object URI will become usr:username .
+ (nullable instancetype)addressWithUsername:(nonnull NSString *)usernameParameters
- username
value portion of the username URI.
Return Value
a Bit6Address object if succesful or nil if failed.
Declared In
Bit6Address.h