AppContext

class AppContext

Helper class to provide an app context to the host app(Link to Windows).

Constructors

AppContext
Link copied to clipboard
fun AppContext()

Properties

appId
Link copied to clipboard
var appId: String
The package of the application the context is for.
contextId
Link copied to clipboard
var contextId: String
The context id used to distinguish it from other app contexts.
createTime
Link copied to clipboard
var createTime: Long
Timestamp representing the create time of the app context.
extras
Link copied to clipboard
var extras: String
A key-value pair object containing app-specific state information needed to continue an app context on the continuing device.
intentUri
Link copied to clipboard
var intentUri: String
The intent uri used to indicate which app can continue the app context handed over from the originating device.
lastUpdatedTime
Link copied to clipboard
var lastUpdatedTime: Long
Timestamp representing the last updated time of the app context.
lifeTime
Link copied to clipboard
var lifeTime: Long
The lifetime of the app context in milliseconds.
preview
Link copied to clipboard
var preview: ByteArray
Preview image bytes that can represent the app context.
teamId
Link copied to clipboard
var teamId: String
The team id used to identify the organization or group the app belongs to.
title
Link copied to clipboard
var title: String
The optional, user-visible title for this app context, such as a document name or web page title.
type
Link copied to clipboard
var type: Int
The type flag that indicates which app context type is inserted to LTW.
webLink
Link copied to clipboard
var webLink: String
The URL of the webpage to load in a browser to continue the app context.