/// <summary>
/// Provides data for the <see cref="MediaCodec.BufferStatusChanged"/> event.
/// </summary>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
/// <since_tizen> 3 </since_tizen>
public class BufferStatusChangedEventArgs : EventArgs
{
/// Initializes a new instance of the BufferStatusChangedEventArgs class.
/// </summary>
/// <param name="status">The value representing new status of the codec.</param>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <since_tizen> 3 </since_tizen>
public BufferStatusChangedEventArgs(MediaCodecStatus status)
{
/// </summary>
/// <since_tizen> 3 </since_tizen>
public MediaCodecStatus Status { get; }
-
}
}
/// <summary>
/// Provides a means to encode and decode the video and the audio data.
/// </summary>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
/// <since_tizen> 3 </since_tizen>
public class MediaCodec : IDisposable
{
/// <summary>
/// Initializes a new instance of the MediaCodec class.
/// </summary>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <since_tizen> 3 </since_tizen>
public MediaCodec()
{
private static IEnumerable<MediaFormatAudioMimeType> _supportedAudioCodecs;
-
/// <summary>
/// Gets the audio codec list that the current device supports.
/// </summary>
/// <summary>
/// Prepares the MediaCodec for encoding or decoding.
/// </summary>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <exception cref="InvalidOperationException">
/// The codec is not configured yet.<br/>
/// -or-<br/>
/// <summary>
/// Unprepares the MediaCodec.
/// </summary>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <since_tizen> 3 </since_tizen>
public void Unprepare()
{
/// <param name="format">The <see cref="MediaFormat"/> for properties of media data to decode or encode.</param>
/// <param name="encoder">The value indicating whether the codec works as an encoder or a decoder.</param>
/// <param name="codecType">The value indicating whether the codec uses hardware acceleration.</param>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <exception cref="ArgumentNullException"><paramref name="format"/> is null.</exception>
/// <exception cref="ArgumentException">
/// <paramref name="codecType"/> is invalid.<br/>
/// Adds the packet to the internal queue of the codec.
/// </summary>
/// <param name="packet">The packet to be encoded or decoded.</param>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <exception cref="ArgumentNullException"><paramref name="packet"/> is null.</exception>
/// <exception cref="InvalidOperationException">The current codec is not prepared yet.</exception>
/// <remarks>Any attempts to modify the packet will fail until the <see cref="InputProcessed"/> event for the packet is invoked.</remarks>
/// <summary>
/// Flushes both input and output buffers.
/// </summary>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <since_tizen> 3 </since_tizen>
public void FlushBuffers()
{
/// <param name="encoder">The value indicating encoder or decoder.</param>
/// <param name="type">The mime type to query.</param>
/// <returns>The values indicating which codec types are supported on the current device.</returns>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <exception cref="ArgumentException"><paramref name="type"/> is invalid.</exception>
/// <since_tizen> 3 </since_tizen>
public MediaCodecTypes GetCodecType(bool encoder, MediaFormatVideoMimeType type)
/// <param name="encoder">The value indicating encoder or decoder.</param>
/// <param name="type">The mime type to query.</param>
/// <returns>The values indicating which codec types are supported on the current device.</returns>
+ /// <feature>http://tizen.org/feature/multimedia.media_codec</feature>
+ /// <exception cref="NotSupportedException">The required feature is not supported.</exception>
/// <exception cref="ArgumentException"><paramref name="type"/> is invalid.</exception>
/// <since_tizen> 3 </since_tizen>
public MediaCodecTypes GetCodecType(bool encoder, MediaFormatAudioMimeType type)