tvOS 10.12.0 to 10.14.0

API diff

Xamarin.TVOS.dll

MonoTouch.NUnitLite.dll


Xamarin.TVOS.dll

[Hide non-breaking changes](javascript: hideNonBreakingChanges (); ) [Show non-breaking changes](javascript: showNonBreakingChanges (); )

Namespace MediaPlayer

Type Changed: MediaPlayer.MPNowPlayingInfoCenter

Added property:

    public MPNowPlayingInfo NowPlaying { get; set; }

New Type MediaPlayer.MPMediaItem

public static class MPMediaItem {
    // properties
    public static Foundation.NSString AlbumArtistPersistentIDProperty { get; }
    public static Foundation.NSString AlbumArtistProperty { get; }
    public static Foundation.NSString AlbumPersistentIDProperty { get; }
    public static Foundation.NSString AlbumTitleProperty { get; }
    public static Foundation.NSString AlbumTrackCountProperty { get; }
    public static Foundation.NSString AlbumTrackNumberProperty { get; }
    public static Foundation.NSString ArtistPersistentIDProperty { get; }
    public static Foundation.NSString ArtistProperty { get; }
    public static Foundation.NSString ArtworkProperty { get; }
    public static Foundation.NSString AssetURLProperty { get; }
    public static Foundation.NSString BeatsPerMinuteProperty { get; }
    public static Foundation.NSString BookmarkTimeProperty { get; }
    public static Foundation.NSString CommentsProperty { get; }
    public static Foundation.NSString ComposerPersistentIDProperty { get; }
    public static Foundation.NSString ComposerProperty { get; }
    public static Foundation.NSString DateAddedProperty { get; }
    public static Foundation.NSString DiscCountProperty { get; }
    public static Foundation.NSString DiscNumberProperty { get; }
    public static Foundation.NSString GenrePersistentIDProperty { get; }
    public static Foundation.NSString GenreProperty { get; }
    public static Foundation.NSString HasProtectedAssetProperty { get; }
    public static Foundation.NSString IsCloudItemProperty { get; }
    public static Foundation.NSString IsCompilationProperty { get; }
    public static Foundation.NSString IsExplicitProperty { get; }
    public static Foundation.NSString LastPlayedDateProperty { get; }
    public static Foundation.NSString LyricsProperty { get; }
    public static Foundation.NSString MediaTypeProperty { get; }
    public static Foundation.NSString PersistentIDProperty { get; }
    public static Foundation.NSString PlayCountProperty { get; }
    public static Foundation.NSString PlaybackDurationProperty { get; }
    public static Foundation.NSString PlaybackStoreIDProperty { get; }
    public static Foundation.NSString PodcastPersistentIDProperty { get; }
    public static Foundation.NSString PodcastTitleProperty { get; }
    public static Foundation.NSString RatingProperty { get; }
    public static Foundation.NSString ReleaseDateProperty { get; }
    public static Foundation.NSString SkipCountProperty { get; }
    public static Foundation.NSString TitleProperty { get; }
    public static Foundation.NSString UserGroupingProperty { get; }
}

New Type MediaPlayer.MPMediaType

[Serializable]
[Flags]
public enum MPMediaType {
    Any = 18446744073709551615,
    AnyAudio = 255,
    AudioBook = 4,
    AudioITunesU = 8,
    HomeVideo = 8192,
    Movie = 256,
    Music = 1,
    MusicVideo = 2048,
    Podcast = 2,
    TVShow = 512,
    TypeAnyVideo = 65280,
    VideoITunesU = 4096,
    VideoPodcast = 1024,
}

New Type MediaPlayer.MPNowPlayingInfo

public class MPNowPlayingInfo {
    // constructors
    public MPNowPlayingInfo ();
    // fields
    public string AlbumTitle;
    public int? AlbumTrackCount;
    public int? AlbumTrackNumber;
    public string Artist;
    public MPMediaItemArtwork Artwork;
    public int? ChapterCount;
    public int? ChapterNumber;
    public string Composer;
    public double? DefaultPlaybackRate;
    public int? DiscCount;
    public int? DiscNumber;
    public double? ElapsedPlaybackTime;
    public string Genre;
    public ulong? PersistentID;
    public double? PlaybackDuration;
    public int? PlaybackQueueCount;
    public int? PlaybackQueueIndex;
    public double? PlaybackRate;
    public string Title;
    // properties
    public Foundation.NSUrl AssetUrl { get; set; }
    public MPNowPlayingInfoLanguageOptionGroup[] AvailableLanguageOptions { get; set; }
    public string CollectionIdentifier { get; set; }
    public MPNowPlayingInfoLanguageOption[] CurrentLanguageOptions { get; set; }
    public string ExternalContentIdentifier { get; set; }
    public string ExternalUserProfileIdentifier { get; set; }
    public bool? IsLiveStream { get; set; }
    public MPNowPlayingInfoMediaType? MediaType { get; set; }
    public float? PlaybackProgress { get; set; }
}

Namespace ObjCRuntime

Type Changed: ObjCRuntime.Constants

Modified fields:

public const string Version = "10.12.0" "10.14.0";

MonoTouch.NUnitLite.dll

[Hide non-breaking changes](javascript: hideNonBreakingChanges (); ) [Show non-breaking changes](javascript: showNonBreakingChanges (); )

Namespace MonoTouch.NUnit

Type Changed: MonoTouch.NUnit.NUnitOutputTextWriter

Removed constructor:

    public NUnitOutputTextWriter (UI.BaseTouchRunner runner, System.IO.TextWriter baseWriter, NUnitLite.Runner.OutputWriter xmlWriter);

Added constructor:

    public NUnitOutputTextWriter (UI.BaseTouchRunner runner, System.IO.TextWriter baseWriter, NUnitLite.Runner.OutputWriter xmlWriter, UI.XmlMode xmlMode);

Namespace MonoTouch.NUnit.UI

Type Changed: MonoTouch.NUnit.UI.TouchOptions

Added properties:

    public string LogFile { get; set; }
    public XmlMode XmlMode { get; set; }

New Type MonoTouch.NUnit.UI.XmlMode

[Serializable]
public enum XmlMode {
    Default = 0,
    Wrapped = 1,
}

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.