Windows.ApplicationModel.UserActivities Windows.ApplicationModel.UserActivities Windows.ApplicationModel.UserActivities Windows.ApplicationModel.UserActivities Namespace

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[This namespace contains one or more prerelease APIs.]
A User Activity encapsulates a user task that can be continued at a later time, and potentially on a different device.

For example, a mail app could create a User Activity when the user starts creating a new email message. The user could pause working on the email and start working on it again later on the same machine, or resume the activity of writing the email on another device.

The APIs in this namespace allow developers to:

  • Create User Activities
  • Provide a cross-platform context for User Activities.
  • Start and stop Activities

Classes

UserActivity UserActivity UserActivity UserActivity

[Contains prerelease APIs.]
A UserActivity is created by an app during its execution to notify the system of a user work stream that can be continued on another device, or at another time on the same device. It provides information about a task the user is engaged in.

UserActivityAttribution UserActivityAttribution UserActivityAttribution UserActivityAttribution

[Contains prerelease APIs.]
Provides visual information about a user activity. Overrides information the system provides about the user activity.

UserActivityChannel UserActivityChannel UserActivityChannel UserActivityChannel

[Contains prerelease APIs.]
Creates or gets UserActivity objects created on this or another device.

UserActivityContentInfo UserActivityContentInfo UserActivityContentInfo UserActivityContentInfo

[Contains prerelease APIs.]
Represents the content metadata of this activity in JSON format.

UserActivitySession UserActivitySession UserActivitySession UserActivitySession

[Contains prerelease APIs.]
Tracks a UserActivity while the user is engaged in that activity.

UserActivityVisualElements UserActivityVisualElements UserActivityVisualElements UserActivityVisualElements

[Contains prerelease APIs.]
Contains information, such as the description and icon, that can be shown in the details tile for a UserActivity.

Interfaces

IUserActivityContentInfo IUserActivityContentInfo IUserActivityContentInfo IUserActivityContentInfo

[Contains prerelease APIs.]
Represents the content metadata of this activity in JSON format.

Enums

UserActivityState UserActivityState UserActivityState UserActivityState

[Contains prerelease APIs.]
Defines the states of a UserActivity.