TWMUserInfo Class Reference
Inherits from | NSObject |
---|---|
Declared in | TWMUserInfo.h |
identity
The identity for this user.
@property (nonatomic, copy, readonly) NSString *identity
Discussion
The identity for this user.
Declared In
TWMUserInfo.h
friendlyName
The friendly name for this user.
@property (nonatomic, copy, readonly) NSString *friendlyName
Discussion
The friendly name for this user.
Declared In
TWMUserInfo.h
– attributes
Return this user’s attributes.
- (NSDictionary<NSString*,id> *)attributes
Return 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)completion
Parameters
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)completion
Parameters
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)isOnline
Return 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)isNotifiable
Return 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