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

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

email

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

identifier

The unique identifier for the SIKUser

@property (nonatomic, copy) NSString *identifier

Discussion

The unique identifier for the SIKUser

The identifier is created when user first launch app, or retrieve identifier from PersistentStore

Declared In

SIKUser.h

name

The name for the SIKUser.

@property (nonatomic, copy) NSString *name

Discussion

The name 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

userTags

The tags for SIKUser

- (NSArray *)userTags

Return Value

SIKUser’s tags contents

Discussion

The tags for SIKUser

Declared In

SIKUser.h