Skip to content

July 2018 Preview Release (v0.13.0)

Pre-release
Pre-release
Compare
Choose a tag to compare
@bbowman bbowman released this 06 Aug 23:37
· 117 commits to master since this release

Welcome 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.

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.
  • UserActivity/MCDUserActivity
    • Updated constructor/initWithActivityId to create an activity with a specified ID.
    • Renamed setContentInfo/getContentInfo to setContentInfoJson/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).
  • UserActivityAttribution/MCDUserActivityAttribution
    • Added two constructors/initWithIconUri - one without parameters and one that takes a URI String.
    • Renamed setContent to setAdaptiveCardJson and returns an Adaptive Card JSON string.
  • UserActivityVisualElements/MCDUserActivityVisualElements
    • Added setBackgroundColor/getBackgroundColor - used to set/get the background color for the activity visual.
  • SyncScope/MCDSyncScope
    • Renamed to UserDataFeedSyncScope/MCDUserDataFeedSyncScope.
      The following classes have been updated to reference UserDataFeedSyncScope:
      • UserActivityChannel/MCDUserActivityChannel
      • UserActivityChannelSyncScope/MCDUserACtivityChannelSyncScope
      • UserDataSyncStatus/MCDUserDataSyncStatus - renamed to UserDataFeedSyncStatus/MCDUserDataFeedSyncStatus.
      • UserDataFeed/MCDUserDataFeed

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’.