[NUI] TCSACR-226 code change (#1032)
[platform/core/csapi/tizenfx.git] / src / Tizen.Multimedia.Remoting / MediaController / InternalEnums.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 using System;
17
18 namespace Tizen.Multimedia.Remoting
19 {
20     internal enum MediaControllerNativePlaybackState
21     {
22         None,
23         Play,
24         Pause,
25         Stop,
26         Next,           // Deprecated since 4.0
27         Prev,           // Deprecated since 4.0
28         FastForward,    // Deprecated since 4.0
29         Rewind,         // Deprecated since 4.0
30         MovingToNext,   // Since 4.0
31         MovingToPrev,   // Since 4.0
32         FastForwarding, // Since 4.0
33         Rewinding       // Since 4.0
34     }
35
36     internal enum MediaControllerNativePlaybackAction
37     {
38         Play,
39         Pause,
40         Stop,
41         Next,
42         Prev,
43         FastForward,
44         Rewind,
45         Toggle
46     }
47
48     internal enum MediaControllerNativeServerState
49     {
50         None,
51         Activated,
52         Deactivated,
53     }
54
55     internal enum MediaControllerNativeShuffleMode
56     {
57         On,
58         Off,
59     }
60
61     internal enum MediaControllerNativeRepeatMode
62     {
63         On,
64         Off,
65         OneMedia
66     }
67
68     internal enum MediaControllerNativeAttribute
69     {
70         Title,
71         Artist,
72         Album,
73         Author,
74         Genre,
75         Duration,
76         Date,
77         Copyright,
78         Description,
79         TrackNumber,
80         Picture,
81         Season,
82         Episode,
83         Resolution
84     }
85
86     internal enum MediaControlNativeCapabilityCategory
87     {
88         Shuffle,
89         Repeat,
90         PlaybackPosition,
91         Playlist,
92         ClientCustom,
93         Search,
94         Subtitle,
95         Mode360
96     }
97
98     [Flags]
99     internal enum MediaControlNativeDisplayMode
100     {
101         LetterBox = 1,
102         OriginSize = 2,
103         FullScreen = 4,
104         CroppedFull = 8,
105         All = LetterBox | OriginSize | FullScreen | CroppedFull
106     }
107
108     [Flags]
109     internal enum MediaControlNativeDisplayRotation
110     {
111         Rotate0 = 1,
112         Rotate90 = 2,
113         Rotate180 = 4,
114         Rotate270 = 8,
115         All = Rotate0 | Rotate90 | Rotate180 | Rotate270
116     }
117 }