Inherits from NSObject
Declared in QBPrivacyItem.h

Overview

QBPrivacyItem structure represents privacy object for managing privacy lists .

Tasks

Properties

action

@property (assign) QBPrivacyItemAction action
Discussion

action can be ALLOW or DENY

Declared In

QBPrivacyItem.h

type

@property (assign) QBPrivacyItemType type
Discussion

type can be USER_ID, SUBSCRIPTION, GROUP OR GROUP_USER_ID( to block user in all group chats )

Declared In

QBPrivacyItem.h

valueForType

@property (assign) NSUInteger valueForType
Discussion

valueForType value for type

Declared In

QBPrivacyItem.h

Instance Methods

convertToNSXMLElementWithOrder:

- (DDXMLElement *)convertToNSXMLElementWithOrder:(NSUInteger)order

initWithType:valueForType:action:

can be USER_ID, SUBSCRIPTION, GROUP or GROUP_USER_ID

- (instancetype)initWithType:(QBPrivacyItemType)type valueForType:(NSUInteger)valueForType action:(QBPrivacyItemAction)action

Parameters

type

can be USER_ID, SUBSCRIPTION, GROUP or GROUP_USER_ID

valueForType

value for type

action

can be ALLOW or DENY

Return Value

QBPrivacyItem instance

Declared In

QBPrivacyItem.h