- Update
This commit is contained in:
1 parent
d281d765ea
commit
5b074a5176
1261 files changed
+199158
-7303
No files matched your search
@@ -0,0 +1,41 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "XMPPRoom.h"
|
||||
#import "XMPPRoomOccupant.h"
|
||||
|
||||
|
||||
@interface XMPPRoomOccupantHybridMemoryStorageObject : NSObject <XMPPRoomOccupant, NSCopying, NSSecureCoding>
|
||||
|
||||
- (id)initWithPresence:(XMPPPresence *)presence streamFullJid:(XMPPJID *)streamFullJid;
|
||||
- (void)updateWithPresence:(XMPPPresence *)presence;
|
||||
|
||||
/**
|
||||
* The properties below are documented in the XMPPRoomOccupant protocol.
|
||||
**/
|
||||
|
||||
@property (readonly) XMPPPresence *presence;
|
||||
|
||||
@property (readonly) XMPPJID * jid;
|
||||
@property (readonly) XMPPJID * roomJID;
|
||||
@property (readonly) NSString * nickname;
|
||||
|
||||
@property (readonly) NSString * role;
|
||||
@property (readonly) NSString * affiliation;
|
||||
@property (readonly) XMPPJID * realJID;
|
||||
|
||||
@property (readonly) NSDate * createdAt;
|
||||
|
||||
/**
|
||||
* Since XMPPRoomHybridStorage supports multiple xmppStreams,
|
||||
* this property may be used to differentiate between occupant objects.
|
||||
**/
|
||||
@property (readonly) XMPPJID * streamFullJid;
|
||||
|
||||
/**
|
||||
* Sample comparison methods.
|
||||
**/
|
||||
|
||||
- (NSComparisonResult)compareByNickname:(XMPPRoomOccupantHybridMemoryStorageObject *)another;
|
||||
|
||||
- (NSComparisonResult)compareByCreatedAt:(XMPPRoomOccupantHybridMemoryStorageObject *)another;
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user