ParcelableIviServiceFunResult

data class ParcelableIviServiceFunResult(val resultType: IviServiceFunResult.ResultType, val exception: ParcelableException? = null) : Parcelable

A parcelable variant of an IviServiceFunResult.

It is not possible to write an IviServiceFunResult class instance to a Parcel because:

  • The exception is not a Parcelable and cannot be read from a Parcel.

  • The Parcelable factory method in the companion object doesn't allow the generic result value type.

This parcelable variant doesn't contain the result value. The result value needs to be written/read to/from a Parcel separately.

Constructors

Link copied to clipboard
fun ParcelableIviServiceFunResult(iviServiceFunResult: IviServiceFunResult<*>)
Link copied to clipboard
fun ParcelableIviServiceFunResult(resultType: IviServiceFunResult.ResultType, exception: ParcelableException? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val exception: ParcelableException? = null
Link copied to clipboard
val resultType: IviServiceFunResult.ResultType
Link copied to clipboard
val successful: Boolean

True when the service function was successful.

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)