HandoffActivityDataRequestInfo


class HandoffActivityDataRequestInfo
kotlin.Any
   ↳ android.app.HandoffActivityDataRequestInfo

Represents a request made by the platform to hand off an activity. An instance of this class is passed to Activity.onHandoffActivityDataRequested, and it provides context about how the request was made - for instance, if the request was initiated by a user action. This context is used by the activity to inform the HandoffActivityData returned by Activity.onHandoffActivityDataRequested.

Summary

Public constructors

Public methods
Boolean

Public constructors

HandoffActivityDataRequestInfo

HandoffActivityDataRequestInfo(isActiveRequest: Boolean)

Public methods

isActiveRequest

fun isActiveRequest(): Boolean
Return
Boolean true if the request for HandoffActivityData was triggered by a user action. Otherwise, this is a request to cache HandoffActivityData for future use.