SBDUnreadItemCount Class Reference
Inherits from | NSObject |
---|---|
Conforms to | SBDMappable |
Declared in | SBDUnreadItemCount.h |
Overview
The SBDUnreadItemCount
class represents counts of messages. The instance of this class is returned from completion handler in getUnreadItemCountWithKey:completionHandler:]
.
groupChannelUnreadMessageCount
The count of unread message in all of group channels.
When you requested with SBDUnreadItemKeyGroupChannelUnreadMessageCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeyGroupChannelUnreadMessageCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger groupChannelUnreadMessageCount
Availability
3.0.103
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
nonSuperUnreadMessageCount
The count of unread message in all of non super group channel.
When you requested with SBDUnreadItemKeyNonSuperUnreadMessageCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeyNonSuperUnreadMessageCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger nonSuperUnreadMessageCount
Availability
3.0.101
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
superUnreadMessageCount
The count of unread message in all of non super group channel.
When you requested with SBDUnreadItemKeySuperUnreadMessageCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeySuperUnreadMessageCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger superUnreadMessageCount
Availability
3.0.101
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
groupChannelUnreadMentionCount
The count of unread mention in all of group channels.
When you requested with SBDUnreadItemKeyGroupChannelUnreadMentionCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeyGroupChannelUnreadMentionCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger groupChannelUnreadMentionCount
Availability
3.0.103
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
nonSuperUnreadMentionCount
The count of unread mention in all of non super group channel.
When you requested with SBDUnreadItemKeyNonSuperUnreadMentionCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeyNonSuperUnreadMentionCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger nonSuperUnreadMentionCount
Availability
3.0.103
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
superUnreadMentionCount
The count of unread mention in all of non super group channel.
When you requested with SBDUnreadItemKeySuperUnreadMentionCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeySuperUnreadMentionCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger superUnreadMentionCount
Availability
3.0.103
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
groupChannelInvitationCount
The count of unread message in all of group channels.
When you requested with SBDUnreadItemKeySuperInvitationCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeySuperInvitationCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger groupChannelInvitationCount
Availability
3.0.103
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
nonSuperInvitationCount
The count of unread message in all of non super group channel.
When you requested with SBDUnreadItemKeyNonSuperInvitationCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeyNonSuperInvitationCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger nonSuperInvitationCount
Availability
3.0.101
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
superInvitationCount
The count of unread message in all of non super group channel.
When you requested with SBDUnreadItemKeySuperInvitationCount
, then you can get unsigned integer count. If you DID NOT REQUEST SBDUnreadItemKeySuperInvitationCount
, this property will be NSNotFound.
@property (nonatomic, readonly) NSUInteger superInvitationCount
Availability
3.0.101
See Also
[SBDGroupChannel getUnreadItemCountWithKey:completionHandler:]
Declared In
SBDUnreadItemCount.h
– has:
Returns a Boolean value that indicates whether a count of a given key is present, not NSNotFound.
- (BOOL)has:(SBDUnreadItemKey)key
Parameters
key |
An key to look for a count in the instance. |
---|
Return Value
Boolean YES if counts for key is present in the instance, otherwise NO.
Availability
3.0.101
Declared In
SBDUnreadItemCount.h
– unsignedIntegerForKey:
Returns count for a given key.
- (NSUInteger)unsignedIntegerForKey:(SBDUnreadItemKey)key
Parameters
key |
An key to get a count in the instance. |
---|
Return Value
NSUInteger The unsinged integer of the count for a given key. If key is composed of multiple SBDUnreadItemKey, the return value is combined.
Availability
3.0.101
Declared In
SBDUnreadItemCount.h