ScatterMessage

class ScatterMessage : Parcelable

Represents a messages sent or received via Scatterbrain.

Types

Builder
Link copied to clipboard
open class Builder
Builder class used to construct a ScatterMessage
Companion
Link copied to clipboard
object Companion

Functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int
writeToParcel
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, i: Int)

Properties

application
Link copied to clipboard
val application: String
name of application this message belongs to
body
Link copied to clipboard
val body: ByteArray?
contents of message, null if message is a file
extension
Link copied to clipboard
val extension: String
file extension of this message.
fileDescriptor
Link copied to clipboard
val fileDescriptor: ParcelFileDescriptor?
filename
Link copied to clipboard
val filename: String
name of file on disk, null if not a file message
fromFingerprint
Link copied to clipboard
val fromFingerprint: UUID?
identity fingerprint of sender, null if anonymous
id
Link copied to clipboard
val id: ParcelUuid
a unique id referring to this message, valid within the local router only
isFile
Link copied to clipboard
val isFile: Boolean
if this message contains a file descriptor, if false message contains inline bytes
mime
Link copied to clipboard
val mime: String
mime type for this message
receiveDate
Link copied to clipboard
val receiveDate: Date
timestamp when this message was received by Scatterbrain
sendDate
Link copied to clipboard
val sendDate: Date
timestamp when this message was created
toFingerprint
Link copied to clipboard
val toFingerprint: UUID?
identity fingerprint of recipient.