/*
* 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.Remoting
{
///
/// Specifies the audio codecs for .
///
///
public enum ScreenMirroringAudioCodec
{
///
/// The screen mirroring is not negotiated yet.
///
None,
///
/// AAC codec.
///
Aac,
///
/// AC3 codec.
///
Ac3,
///
/// LPCM codec.
///
Lpcm
}
///
/// Specifies the video codecs for .
///
///
public enum ScreenMirroringVideoCodec
{
///
/// The screen mirroring is not negotiated yet.
///
None,
///
/// H.264 codec.
///
H264
}
///
/// Specifies the available combinations of resolutions and fps for .
///
[Flags]
public enum ScreenMirroringResolutions
{
///
/// W-1920, H-1080, 30 fps.
///
R1920x1080P30 = (1 << 0),
///
/// W-1280, H-720, 30 fps.
///
R1280x720P30 = (1 << 1),
///
/// W-960, H-540, 30 fps.
///
R960x540P30 = (1 << 2),
///
/// W-864, H-480, 30 fps.
///
R864x480P30 = (1 << 3),
///
/// W-720, H-480, 60 fps.
///
R720x480P60 = (1 << 4),
///
/// W-640, H-480, 60 fps.
///
R640x480P60 = (1 << 5),
///
/// W-640, H-360, 30 fps.
///
R640x360P30 = (1 << 6)
}
///
/// Specifies the states of .
///
public enum ScreenMirroringState
{
///
/// Idle.
///
Idle = 1,
///
/// Prepared.
///
///
Prepared,
///
/// Connected to a source.
///
///
Connected,
///
/// Playing.
///
///
Playing,
///
/// Paused while playing media.
///
///
Paused,
///
/// Disconnected from source.
///
///
Disconnected
}
///
/// Specifies the errors for .
///
public enum ScreenMirroringError
{
///
/// Invalid operation.
///
InvalidOperation = ScreenMirroringErrorCode.InvalidOperation
}
}