HandoffActivityDataRequestInfo


public final class HandoffActivityDataRequestInfo
extends Object

java.lang.Object
   ↳ 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

HandoffActivityDataRequestInfo(boolean isActiveRequest)

Public methods

boolean isActiveRequest()

Inherited methods

Public constructors

HandoffActivityDataRequestInfo

public HandoffActivityDataRequestInfo (boolean isActiveRequest)

Parameters
isActiveRequest boolean

Public methods

isActiveRequest

public boolean isActiveRequest ()

Returns
boolean true if the request for HandoffActivityData was triggered by a user action. Otherwise, this is a request to cache HandoffActivityData for future use.