Release 4.0.0-preview1-00151
[platform/core/csapi/tizenfx.git] / src / Tizen.Multimedia.Remoting / MediaController / ShuffleModeUpdatedEventArgs.cs
index 6d5a5c3..7905803 100755 (executable)
@@ -1,49 +1,41 @@
 /*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the License);
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an AS IS BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 using System;
 
-namespace Tizen.Multimedia.MediaController
+namespace Tizen.Multimedia.Remoting
 {
-
     /// <summary>
-    /// ShuffleModeUpdated event arguments
+    /// Provides data for the <see cref="MediaController.ShuffleModeUpdated"/> event.
     /// </summary>
-    /// <remarks>
-    /// ShuffleModeUpdated event arguments
-    /// </remarks>
     public class ShuffleModeUpdatedEventArgs : EventArgs
     {
-        internal ShuffleModeUpdatedEventArgs(string name, MediaControllerShuffleMode mode)
-        {
-            ServerName = name;
-            ShuffleMode = mode;
-        }
-
         /// <summary>
-        /// Get the Server Name.
+        /// Initializes a new instance of the <see cref="ShuffleModeUpdatedEventArgs"/> class.
         /// </summary>
-        /// <since_tizen> 3 </since_tizen>
-        public string ServerName { get; }
+        /// <param name="enabled">A value indicating whether the shuffle mode is enabled.</param>
+        public ShuffleModeUpdatedEventArgs(bool enabled)
+        {
+            Enabled = enabled;
+        }
 
         /// <summary>
-        /// Get the Shuffle Mode.
+        /// Gets a value indicating whether the shuffle mode is enabled.
         /// </summary>
-        /// <since_tizen> 3 </since_tizen>
-        public MediaControllerShuffleMode ShuffleMode { get; }
+        /// <value>true if the shuffle mode is enabled; otherwise, false.</value>
+        public bool Enabled { get; }
     }
-}
-
+}
\ No newline at end of file