[MediaController] Add new capability APIs (#5472)
[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         Connecting,     // Since 6.0(API8)
35         Buffering,      // Since 6.0(API8)
36         Error           // Since 6.0(API8)
37     }
38
39     internal enum MediaControllerNativePlaybackAction
40     {
41         Play,
42         Pause,
43         Stop,
44         Next,
45         Prev,
46         FastForward,
47         Rewind,
48         Toggle
49     }
50
51     internal enum MediaControllerNativeServerState
52     {
53         None,
54         Activated,
55         Deactivated,
56     }
57
58     internal enum MediaControllerNativeShuffleMode
59     {
60         On,
61         Off,
62     }
63
64     internal enum MediaControllerNativeRepeatMode
65     {
66         On,
67         Off,
68         OneMedia
69     }
70
71     internal enum MediaControllerNativeAttribute
72     {
73         Title,
74         Artist,
75         Album,
76         Author,
77         Genre,
78         Duration,
79         Date,
80         Copyright,
81         Description,
82         TrackNumber,
83         Picture,
84         Season,
85         Episode,
86         Resolution
87     }
88
89     internal enum MediaControlNativeCapabilityCategory
90     {
91         Shuffle,
92         Repeat,
93         PlaybackPosition,
94         Playlist,
95         CustomCommand, // The same as CLIENT_CUSTOM of native fw
96         Search,
97         Subtitle,
98         Mode360
99     }
100
101     [Flags]
102     internal enum MediaControlNativeDisplayMode
103     {
104         LetterBox = 1,
105         OriginSize = 2,
106         FullScreen = 4,
107         CroppedFull = 8,
108         All = LetterBox | OriginSize | FullScreen | CroppedFull
109     }
110
111     [Flags]
112     internal enum MediaControlNativeDisplayRotation
113     {
114         Rotate0 = 1,
115         Rotate90 = 2,
116         Rotate180 = 4,
117         Rotate270 = 8,
118         All = Rotate0 | Rotate90 | Rotate180 | Rotate270
119     }
120 }