Bold360 and BoldChat Developer Center

BCPerson.h

Go to the documentation of this file.
1 //
2 // Copyright (c) 2014 LogMeIn Inc. All rights reserved.
3 //
4 
5 #import <Foundation/Foundation.h>
6 
12 typedef NS_ENUM(NSInteger, BCPersonType) {
13  BCPersonTypeUndefined,
14  BCPersonTypeVisitor,
15  BCPersonTypeOperator,
16  BCPersonTypeSystem,
17 };
18 
19 
24 @interface BCPerson : NSObject
25 
30 @property(nonatomic, copy)NSString *personId;
31 
36 @property(nonatomic, assign)BCPersonType personType;
37 
42 @property(nonatomic, copy)NSString *name;
43 
48 @property(nonatomic, copy)NSString *imageUrl;
49 
50 @end
An entity participating in the chat. It can be either a visitor, an operator or the system...
Definition: BCPerson.h:24
NSString * imageUrl
The image URL of the person.
Definition: BCPerson.h:48
NSString * personId
The id of the person.
Definition: BCPerson.h:30
typedef NS_ENUM(NSInteger, BCPersonType)
Defines the different types of people that may type or send messages.
Definition: BCPerson.h:12
BCPersonType personType
The type of the person.
Definition: BCPerson.h:36
NSString * name
The name of the person to be displayed.
Definition: BCPerson.h:42