ParticipantActionEvent

Participant action event.

Constructors

Link copied to clipboard
constructor()
Constructor.

Types

Link copied to clipboard
Attributes.

Properties

Link copied to clipboard
Transient attributes.

Functions

Link copied to clipboard
open fun addAttachment(@NonNull attachment: EventAttachment)
Link copied to clipboard
open fun addRemoteUser(@NonNull user: RemoteUser)
Add remote user.
Link copied to clipboard
open fun changeThread()
Change thread this pointer can be accessed from to the current one.
Link copied to clipboard
open fun clearRemoteUsers()
Clear all remote users.
Link copied to clipboard
open fun close()
Close the native pointer.
abstract fun close()
Link copied to clipboard
open fun copyAsNew(): Event
Create a copy of the event as if it is newly created.
Link copied to clipboard
open fun deleteRemoteUser(@IntRange(from = 0) index: Int)
Delete remote user.
Link copied to clipboard
open fun equals(@Nullable o: Any): Boolean
Check if the pointer is equal to another one.
Link copied to clipboard
Get account ID.
Link copied to clipboard
Get account name.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@IntRange(from = 0)
open fun getAttachmentCount(): Int
Link copied to clipboard
Get attribute.
Link copied to clipboard
open fun getDate(): Date
Alias for getTimestamp().toDate()
Link copied to clipboard
open fun getDirection(): Int
Get event direction.
Link copied to clipboard
open fun getEventId(): Long
Get event ID.
Link copied to clipboard
Get file attribute.
Link copied to clipboard
open fun getRemoteUser(@IntRange(from = 0) index: Int): RemoteUser
Get remote user.
Link copied to clipboard
@IntRange(from = 0)
open fun getRemoteUserCount(): Int
Get remote user count.
Link copied to clipboard
Get event sender.
Link copied to clipboard
open fun getStorageStatus(): Int
Get storage status of the event.
Link copied to clipboard
Get stream.
Link copied to clipboard
Get stream key.
Link copied to clipboard
Get event timestamp.
Link copied to clipboard
open fun hasAttachment(id: Long): Boolean
Link copied to clipboard
open fun hasAttribute(@NonNull attribute: String): Boolean
Check whether event has attribute.
Link copied to clipboard
open fun hashCode(): Int
Get hash code.
Link copied to clipboard
Check if the event is being removed.
Link copied to clipboard
open fun isClosed(): Boolean
Check if the native pointer is closed.
Link copied to clipboard
open fun isDirty(): Boolean
Check if the event is modified in memory cache.
Link copied to clipboard
open fun isMutable(): Boolean
Check if the native pointer is mutable.
Link copied to clipboard
open fun isNew(): Boolean
Check if the event is new.
Link copied to clipboard
open fun isRemoved(): Boolean
Check if the event is removed.
Link copied to clipboard
open fun isSamePointer(@NonNull other: Pointer): Boolean
Check if the pointer is the same as in another pointer.
Link copied to clipboard
open fun isStored(): Boolean
Check if the event is stored in persistent storage.
Link copied to clipboard
open fun removeAttachment(@NonNull id: Long)
Link copied to clipboard
open fun removeAttachmentAt(@IntRange(from = 0) i: Int)
Link copied to clipboard
open fun removeAttribute(@NonNull name: String)
Remove attribute.
Link copied to clipboard
open fun save()
Save the event to the persistent storage.
Link copied to clipboard
open fun saveAll()
Save all dirty events.
Link copied to clipboard
open fun setAccount(@Nullable accountId: String)
Set account ID and name.
Link copied to clipboard
open fun setAttribute(@NonNull name: String, @Nullable value: String)
Set attribute.
Link copied to clipboard
open fun setDirection(direction: Int)
Set event direction.
Link copied to clipboard
open fun setSender(@Nullable sender: String)
Set event sender.
Link copied to clipboard
open fun setStream(@NonNull stream: EventStream)
Set stream.
Link copied to clipboard
open fun setTimestamp(@NonNull timestamp: Timestamp)
Set event timestamp.
Link copied to clipboard
open fun toString(): String
Report string describing this pointer.