Stay organized with collections
Save and categorize content based on your preferences.
HandoffActivityDataRequestInfo
class 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
HandoffActivityDataRequestInfo(isActiveRequest: Boolean)
Public methods
isActiveRequest
fun isActiveRequest(): Boolean
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-02-26 UTC.
[null,null,["Last updated 2026-02-26 UTC."],[],[]]