CompositeBundle

A bundle that combines several other bundles into one.

Constructors

Link copied to clipboard
constructor(vararg bundles: DataBundle)
constructor(bundles: Sequence<DataBundle>)

Properties

Link copied to clipboard
open override val includedTypes: List<MimeType<*>>

List of MimeTypes contained in the bundle

Functions

Link copied to clipboard
open operator override fun <T> contains(type: MimeType<T>): Boolean

Check whether data for the given MimeType is contained in this bundle

Link copied to clipboard
open operator override fun <T> get(type: MimeType<T>): T?

Read data for the given MimeType

Link copied to clipboard
open operator override fun plus(other: DataBundle): CompositeBundle

Creates a CompositeBundle by joining this with the given bundle

Inherited functions

Link copied to clipboard
inline fun <T : Any> DataBundle.contains(): Boolean
Link copied to clipboard
inline operator fun <T : Any> DataBundle.invoke(): T?