InboxEntryStream
class InboxEntryStream
Provides a streamlined process for creating and sending Inbox entries with optional file attachments.
This class simplifies interacting with the Inbox API for sending entries, especially when dealing with multiple files. It manages the lifecycle of the entry creation process, including file uploads and final entry submission.
Types
Link copied to clipboard
Interface for listening to state changes and exchanging data with an InboxEntryStream instance.
Link copied to clipboard
Contains available states of InboxEntryStream.
Functions
Link copied to clipboard
Cancels the stream and sets its state to State.ABORTED.
Link copied to clipboard
Sends the entry data and closes this stream, transitioning it to the State.SENT state.
Link copied to clipboard
Initiates the process of sending files using the provided executor.