Timeline Framework C++ Edition
|
◆ CreateActivity()
Creates (or gets) a User Activity with the specified ID.
Your application should name activities in such a way that same ID is generated each time the user is in a particular location in the app. For example, if your application is page-based, use an identifier for the page, if it’s document based, use the name of the doc (or a hash of the name). If there is an existing activity in the feed with the same ID, that activity will be return from the channel (with the UserActivity object State property set to Activities are scoped to your app, there is no need to worry about your activity ID colliding with IDs from other applications.
|