public LocalContentsOperator(MoviePlaybackScreen movieScreen) { TitleText = SystemUtil.GetStringResource("Viewer_StoragePhone"); ContentsCollection = new AlbumGroupCollection(false) { ContentSortOrder = Album.SortOrder.NewOneFirst, }; MovieScreen = movieScreen; MovieScreen.MovieType = MovieFileType.LocalMovie; MovieScreen.LocalMediaFailed += MovieScreen_LocalMediaFailed; }
public CameraApiContentsOperator(TargetDevice device, MoviePlaybackScreen movieScreen) { TargetDevice = device; TitleText = TargetDevice.FriendlyName; MovieScreen = movieScreen; MovieScreen.OnStreamingOperationRequested += MovieScreen_OnStreamingOperationRequested; movieScreen.MovieType = MovieFileType.SimpleStreamingMovie; ContentsCollection = new AlbumGroupCollection(); MovieStreamHelper.INSTANCE.MoviePlaybackData.SeekAvailable = TargetDevice.Api.Capability.IsSupported("seekStreamingPosition"); MovieStreamHelper.INSTANCE.StreamClosed += StreamHelper_StreamClosed; MovieStreamHelper.INSTANCE.StatusChanged += StreamHelper_StatusChanged; }
public DummyContentsOperator() { TitleText = "Dummy storage"; ContentsCollection = new AlbumGroupCollection(); }
public DlnaContentsOperator(UpnpDevice upnp) { UpnpDevice = upnp; TitleText = UpnpDevice.FriendlyName; ContentsCollection = new AlbumGroupCollection(); }