EventAttachment

Event attachment.

Constructors

Link copied to clipboard
constructor(@NonNull contentType: String, @NonNull fileName: String)
Constructor.

Types

Link copied to clipboard
open class Status
Attachment status value.

Functions

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 close()
Close the native pointer.
abstract fun close()
Link copied to clipboard
Get copy of the attachment.
Link copied to clipboard
Link copied to clipboard
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 attribute.
Link copied to clipboard
Get attachment content file.
Link copied to clipboard
Get attachment content length.
Link copied to clipboard
Get attachment content type.
Link copied to clipboard
Get attachment description.
Link copied to clipboard
open fun getId(): Long
Get attachment ID.
Link copied to clipboard
Get attachment local thumbnail file.
Link copied to clipboard
Get attachment network thumbnail file.
Link copied to clipboard
Get attachment original filename.
Link copied to clipboard
open fun getStatus(): Int
Get attachment status
Link copied to clipboard
open fun hashCode(): Int
Get hash code.
Link copied to clipboard
open fun isClosed(): Boolean
Check if the native pointer is closed.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isImage(): Boolean
Link copied to clipboard
open fun isMutable(): Boolean
Check if the native pointer is mutable.
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 isVideo(): Boolean
Link copied to clipboard
open fun setDescription(@Nullable description: String)
Set text description of the attachment.
Link copied to clipboard
open fun setOriginalFilename(@Nullable filename: String)
Set the original filename of the attachment (if any).
Link copied to clipboard
open fun setStatus(status: Int)
Set attachment status
Link copied to clipboard
open fun toString(): String
Report string describing this pointer.