Пример #1
0
        /// <summary>
        /// Called when the Autoplay options have been updated and action specified
        /// </summary>
        /// <param name="selectedLibrary"></param>
        private void OptionsSelected(Autoplay newAutoplay, bool playNow)
        {
            // If any Autoplay options have changed then update them
            AutoplayModel.CurrentAutoplay.UpdateOptions(newAutoplay);

            // Pass the request on to the StartAutoPlaylistCommandHandler
            CommandRouter.HandleCommand(playNow ? Resource.Id.auto_play : Resource.Id.auto_queue, selectedObjects.SelectedObjects, commandCallback, commandButton);
        }