July 2018 Preview Release (v0.13.0)
Pre-releaseWelcome to the July 2018 preview release of the Project Rome SDK for Android and iOS.
We are actively working toward the release of the Project Rome v1 release. To date, we have been releasing only minor releases, in preview-mode. As a result, many APIs have changed, including some breaking changes. Check out the 'Release Highlights' section below to learn more.
Release Highlights (What's New)
We've been busy making changes to the Device Relay and the Activity Feed APIs, most of which are centered around Activity Feed, as you'll see below.
For more detail, be sure to check out the updated API reference docs and the 'getting started' for Android and iOS.
Device Relay
AppServiceProvider
/MCDAppServiceProvider
- Updated
onConnectionOpened
/connectionDidOpen
to take a new event args class,AppServiceConnectionOpenedEventArgs
/MCDAppServiceConnectionOpenedEventArgs
.
- Updated
Activity Feed
UserActivitySession
/MCDUserActivitySession
- Added
AutoCloseable
implementation. On closing, the session will be stopped. - Added
stop
method: used to stop the session. The engagement period of a UserActivity is the time from creation of the UserActivitySession to when stop is called.
- Added
UserActivity
/MCDUserActivity
- Updated constructor/
initWithActivityId
to create an activity with a specified ID. - Renamed
setContentInfo
/getContentInfo
tosetContentInfoJson
/getContentInfoJson
and now takes/returns a JSON string instead of a UserActivityContentInfo object. - Added
setIsRomable
/getIsRoamable
- used to determine whether the activities are local (false) or will be pushed to the service endpoint (true).
- Updated constructor/
UserActivityAttribution
/MCDUserActivityAttribution
- Added two constructors/
initWithIconUri
- one without parameters and one that takes a URI String. - Renamed
setContent
tosetAdaptiveCardJson
and returns an Adaptive Card JSON string.
- Added two constructors/
UserActivityVisualElements
/MCDUserActivityVisualElements
- Added
setBackgroundColor
/getBackgroundColor
- used to set/get the background color for the activity visual.
- Added
SyncScope
/MCDSyncScope
- Renamed to
UserDataFeedSyncScope
/MCDUserDataFeedSyncScope
.
The following classes have been updated to referenceUserDataFeedSyncScope
:UserActivityChannel
/MCDUserActivityChannel
UserActivityChannelSyncScope
/MCDUserACtivityChannelSyncScope
UserDataSyncStatus
/MCDUserDataSyncStatus
- renamed toUserDataFeedSyncStatus
/MCDUserDataFeedSyncStatus
.UserDataFeed
/MCDUserDataFeed
- Renamed to
Sample Changes
Check out the samples here to get started today:
More Info
If you’d like to learn more about Project Rome, please visit our website at: http://aka.ms/projectrome
Feedback / Issues
We look forward to hearing from you! The quickest way to provide feedback is through the Windows Feedback Hub under ‘Developer Platform’ and ‘Project Rome’.