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 public enum ScreenMirroringAudioCodec
28 /// The screen mirroring is not negotiated yet.
46 /// Specifies the video codecs for <see cref="ScreenMirroring"/>.
48 /// <seealso cref="ScreenMirroringVideoInfo"/>
49 public enum ScreenMirroringVideoCodec
52 /// The screen mirroring is not negotiated yet.
62 /// Specifies the available combinations of resolutions and fps for <see cref="ScreenMirroring"/>.
65 public enum ScreenMirroringResolutions
68 /// W-1920, H-1080, 30 fps.
70 R1920x1080P30 = (1 << 0),
72 /// W-1280, H-720, 30 fps.
74 R1280x720P30 = (1 << 1),
76 /// W-960, H-540, 30 fps.
78 R960x540P30 = (1 << 2),
80 /// W-864, H-480, 30 fps.
82 R864x480P30 = (1 << 3),
84 /// W-720, H-480, 60 fps.
86 R720x480P60 = (1 << 4),
88 /// W-640, H-480, 60 fps.
90 R640x480P60 = (1 << 5),
92 /// W-640, H-360, 30 fps.
94 R640x360P30 = (1 << 6)
98 /// Specifies the states of <see cref="ScreenMirroring"/>.
100 public enum ScreenMirroringState
110 /// <seealso cref="ScreenMirroring.Prepare(Display, ScreenMirroringResolutions)"/>
114 /// Connected to a source.
116 /// <seealso cref="ScreenMirroring.ConnectAsync(string)"/>
122 /// <seealso cref="ScreenMirroring.StartAsync"/>
126 /// Paused while playing media.
128 /// <seealso cref="ScreenMirroring.PauseAsync"/>
132 /// Disconnected from source.
134 /// <seealso cref="ScreenMirroring.Disconnect"/>
139 /// Specifies the errors for <see cref="ScreenMirroring"/>.
141 public enum ScreenMirroringError
144 /// Invalid operation.
146 InvalidOperation = ScreenMirroringErrorCode.InvalidOperation