TWMUserInfo Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TWMUserInfo.h |
identity
The identity for this user.
@property (nonatomic, copy, readonly) NSString *identityDiscussion
The identity for this user.
Declared In
TWMUserInfo.h
friendlyName
The friendly name for this user.
@property (nonatomic, copy, readonly) NSString *friendlyNameDiscussion
The friendly name for this user.
Declared In
TWMUserInfo.h
– attributes
Return this user’s attributes.
- (NSDictionary<NSString*,id> *)attributesReturn Value
The developer-defined extensible attributes for this user.
Discussion
Return this user’s attributes.
Declared In
TWMUserInfo.h
– setAttributes:completion:
Set this user’s attributes.
- (void)setAttributes:(NSDictionary<NSString*,id> *)attributes completion:(TWMCompletion)completionParameters
attributes |
The new developer-defined extensible attributes for this user. (Supported types are NSString, NSNumber, NSArray, NSDictionary and NSNull) |
|---|---|
completion |
Completion block that will specify the result of the operation. |
Discussion
Set this user’s attributes.
Declared In
TWMUserInfo.h
– setFriendlyName:completion:
Set this user’s friendly name.
- (void)setFriendlyName:(NSString *)friendlyName completion:(TWMCompletion)completionParameters
friendlyName |
The new friendly name for this user. |
|---|---|
completion |
Completion block that will specify the result of the operation. |
Discussion
Set this user’s friendly name.
Declared In
TWMUserInfo.h
– isOnline
Indicates whether the user is online. Note that if TwilioIPMessagingClient indicates reachability is not enabled, this will return NO.
- (BOOL)isOnlineReturn Value
YES if the user is online.
Discussion
Indicates whether the user is online. Note that if TwilioIPMessagingClient indicates reachability is not enabled, this will return NO.
Declared In
TWMUserInfo.h
– isNotifiable
Indicates whether the user is notifiable. Note that if TwilioIPMessagingClient indicates reachability is not enabled, this will return NO.
- (BOOL)isNotifiableReturn Value
YES if the user is notifiable.
Discussion
Indicates whether the user is notifiable. Note that if TwilioIPMessagingClient indicates reachability is not enabled, this will return NO.
Declared In
TWMUserInfo.h