2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 namespace Tizen.Multimedia.Remoting
22 /// Specifies the audio codecs for <see cref="ScreenMirroring"/>.
24 /// <seealso cref="ScreenMirroringAudioInfo"/>
25 /// <since_tizen> 4 </since_tizen>
26 public enum ScreenMirroringAudioCodec
29 /// The screen mirroring is not negotiated yet.
47 /// Specifies the video codecs for <see cref="ScreenMirroring"/>.
49 /// <seealso cref="ScreenMirroringVideoInfo"/>
50 /// <since_tizen> 4 </since_tizen>
51 public enum ScreenMirroringVideoCodec
54 /// The screen mirroring is not negotiated yet.
64 /// Specifies the available combinations of resolutions and fps for <see cref="ScreenMirroring"/>.
66 /// <since_tizen> 4 </since_tizen>
68 public enum ScreenMirroringResolutions
71 /// W-1920, H-1080, 30 fps.
73 R1920x1080P30 = (1 << 0),
75 /// W-1280, H-720, 30 fps.
77 R1280x720P30 = (1 << 1),
79 /// W-960, H-540, 30 fps.
81 R960x540P30 = (1 << 2),
83 /// W-864, H-480, 30 fps.
85 R864x480P30 = (1 << 3),
87 /// W-720, H-480, 60 fps.
89 R720x480P60 = (1 << 4),
91 /// W-640, H-480, 60 fps.
93 R640x480P60 = (1 << 5),
95 /// W-640, H-360, 30 fps.
97 R640x360P30 = (1 << 6)
101 /// Specifies the states of <see cref="ScreenMirroring"/>.
103 /// <since_tizen> 4 </since_tizen>
104 public enum ScreenMirroringState
114 /// <seealso cref="ScreenMirroring.Prepare(Display, ScreenMirroringResolutions)"/>
118 /// Connected to a source.
120 /// <seealso cref="ScreenMirroring.ConnectAsync(string)"/>
126 /// <seealso cref="ScreenMirroring.StartAsync"/>
130 /// Paused while playing media.
132 /// <seealso cref="ScreenMirroring.PauseAsync"/>
136 /// Disconnected from source.
138 /// <seealso cref="ScreenMirroring.Disconnect"/>
143 /// Specifies the errors for <see cref="ScreenMirroring"/>.
145 /// <since_tizen> 4 </since_tizen>
146 public enum ScreenMirroringError
149 /// Invalid operation.
151 InvalidOperation = ScreenMirroringErrorCode.InvalidOperation