ACLIPMessageStatus Class Reference

Inherits from NSManagedObject
Declared in ACLIPMessageStatus.h

Overview

An ACLIPMessageStatus encapulates metadata for an ACLIPMessage.

  messageRead

BOOL indicating that the user in this message status has seen the message

var messageRead: Bool { get }
@property (nonatomic, readonly) BOOL messageRead

Discussion

BOOL indicating that the user in this message status has seen the message

Declared In

ACLIPMessageStatus.h

  screenshotDate

NSDate of when the user in this message status took a screenshot. nil if no screenshot taken

var screenshotDate: NSDate! { get }
@property (nonatomic, readonly) NSDate *screenshotDate

Discussion

NSDate of when the user in this message status took a screenshot. nil if no screenshot taken

Declared In

ACLIPMessageStatus.h

+ statusForUser:messageGuid:

Finds the message status.

func statusForUser(_ userGuid: String!, messageGuid messageGuid: String!) -> ACLIPmessageStatus
+ (ACLIPMessageStatus *)statusForUser:(NSString *)userGuid messageGuid:(NSString *)messageGuid

Parameters

userGuid

The user guid who messageStatus belongs to.

messageGuid

The message GUID of the message that the messageStatus belongs to.

Discussion

Finds the message status.

Finds the message status (if it exists) for a user and a message.

Declared In

ACLIPMessageStatus.h

+ markMessageRead:forUser:

Mark the messageStatus as read.

class func markMessageRead( _ messageGuid: String!, forUser userGuid: String!)
+ (void)markMessageRead:(NSString *)messageGuid forUser:(NSString *)userGuid

Parameters

messageGuid

The message GUID of the message that the messageStatus belongs to.

userGuid

The user GUID of the user that the messageStatus belongs to.

Discussion

Mark the messageStatus as read.

Mark the message status for a given user guid and message guid.

Declared In

ACLIPMessageStatus.h