SIKUser Class Reference
Inherits from | NSObject |
Declared in | SIKUser.h |
Overview
A SENSORO Cloud Framework User Object that is a local representation of a user persisted to the SENSORO Cloud. It is the functionality of SENSORO Analysis, It synchronize data to the cloud automatically, also support SNS platform like weibo、weChat、Twitter、Facebook
Tasks
SIKUser Properties
-
identifier
property -
name
property -
email
property -
gender
property -
avatarURL
property
SIKUser Tags
SIKUser SNS
Properties
avatarURL
The avatar’s URL for the SIKUser.
@property (nonatomic, copy) NSString *avatarURL
Discussion
The avatar’s URL for the SIKUser.
Declared In
SIKUser.h
The email for the SIKUser.
@property (nonatomic, copy) NSString *email
Discussion
The email for the SIKUser.
Declared In
SIKUser.h
gender
The gender for the SIKUser.
@property (nonatomic, assign) SIKUserGender gender
Discussion
The gender for the SIKUser.
Declared In
SIKUser.h
Instance Methods
SNSInfoForPlatform:
Fetch specified SNSPlatform info
- (NSDictionary *)SNSInfoForPlatform:(SIKUserSNSType)platform
Parameters
- platform
SNSPlatform type
Return Value
SIKUser’s specified SNSPlatform info
Discussion
Fetch specified SNSPlatform info
Declared In
SIKUser.h
addUserTags:
Add SIKUser tags
- (void)addUserTags:(NSArray *)tags
Parameters
- tags
to add SIKUser’s tags contents
Discussion
Add SIKUser tags
Declared In
SIKUser.h
removeAllUserTags
Remove SIKUser all tags
- (void)removeAllUserTags
Discussion
Remove SIKUser all tags
Declared In
SIKUser.h
removeUserTags:
Remove SIKUser tags
- (void)removeUserTags:(NSArray *)tags
Parameters
- tags
to remove SIKUser’s tags contents
Discussion
Remove SIKUser tags
Declared In
SIKUser.h
setSocialNetowrkInfoWithUserId:displayName:additionalInfo:forPlatform:
Set SIKUser SocialNetwork Infomation
- (void)setSocialNetowrkInfoWithUserId:(NSString *)userId displayName:(NSString *)displayName additionalInfo:(NSDictionary *)additionalInfo forPlatform:(SIKUserSNSType)platform
Parameters
- userId
userId
- displayName
displayName
- additionalInfo
additional Infomation
- platform
platform type
Discussion
Set SIKUser SocialNetwork Infomation
Declared In
SIKUser.h