Companion

object Companion

Functions

newInstance
Link copied to clipboard
fun newInstance(file: File): ScatterMessage.Builder
creates a new Builder instance using a file.
fun newInstance(data: ByteArray): ScatterMessage.Builder
creates a new Builder instance using an inline byte array without a file descriptor
fun newInstance(descriptor: FileDescriptor, ext: String, mime: String, name: String): ScatterMessage.Builder
creates a new Builder instance using a file.