intent

inline fun intent(crossinline block: Bundler.() -> Unit): Intent

Creates an instance of the intent.

Parameters

block

A lambda domain scope of the Bundler.

inline fun Intent.intent(crossinline block: Bundler.() -> Unit): Intent

Creates an instance of the intent from an intent.

Parameters

block

A lambda domain scope of the Bundler.

inline fun String.intent(uri: Uri, crossinline block: Bundler.() -> Unit): Intent

Creates an instance of the intent with action and URI.

Parameters

uri

The Intent data URI.

block

A lambda domain scope of the Bundler.

inline fun String.intent(crossinline block: Bundler.() -> Unit): Intent

Creates an instance of the intent with an action.

Parameters

block

A lambda domain scope of the Bundler.

inline fun <T : Any> Context.intent(clazz: KClass<T>, crossinline block: Bundler.() -> Unit): Intent

Creates an instance of the intent with packageContext and a target class.

Parameters

block

A lambda domain scope of the Bundler.

inline fun <T : Any> Context.intent(clazz: KClass<T>, action: String, uri: Uri, crossinline block: Bundler.() -> Unit): Intent

Creates an instance of the intent with packageContext, a target class, an action and URI.

Parameters

clazz

The component class that is to be used for the intent.

action

The Intent action, such as ACTION_VIEW.

uri

The Intent data URI.

block

A lambda domain scope of the Bundler.