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
-
identifierproperty -
nameproperty -
emailproperty -
genderproperty -
avatarURLproperty
SIKUser Tags
SIKUser SNS
Properties
avatarURL
The avatar’s URL for the SIKUser.
@property (nonatomic, copy) NSString *avatarURLDiscussion
The avatar’s URL for the SIKUser.
Declared In
SIKUser.hThe email for the SIKUser.
@property (nonatomic, copy) NSString *emailDiscussion
The email for the SIKUser.
Declared In
SIKUser.hgender
The gender for the SIKUser.
@property (nonatomic, assign) SIKUserGender genderDiscussion
The gender for the SIKUser.
Declared In
SIKUser.hInstance Methods
SNSInfoForPlatform:
Fetch specified SNSPlatform info
- (NSDictionary *)SNSInfoForPlatform:(SIKUserSNSType)platformParameters
- platform
SNSPlatform type
Return Value
SIKUser’s specified SNSPlatform info
Discussion
Fetch specified SNSPlatform info
Declared In
SIKUser.haddUserTags:
Add SIKUser tags
- (void)addUserTags:(NSArray *)tagsParameters
- tags
to add SIKUser’s tags contents
Discussion
Add SIKUser tags
Declared In
SIKUser.hremoveAllUserTags
Remove SIKUser all tags
- (void)removeAllUserTagsDiscussion
Remove SIKUser all tags
Declared In
SIKUser.hremoveUserTags:
Remove SIKUser tags
- (void)removeUserTags:(NSArray *)tagsParameters
- tags
to remove SIKUser’s tags contents
Discussion
Remove SIKUser tags
Declared In
SIKUser.hsetSocialNetowrkInfoWithUserId:displayName:additionalInfo:forPlatform:
Set SIKUser SocialNetwork Infomation
- (void)setSocialNetowrkInfoWithUserId:(NSString *)userId displayName:(NSString *)displayName additionalInfo:(NSDictionary *)additionalInfo forPlatform:(SIKUserSNSType)platformParameters
- userId
userId
- displayName
displayName
- additionalInfo
additional Infomation
- platform
platform type
Discussion
Set SIKUser SocialNetwork Infomation
Declared In
SIKUser.h