/*
* 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.
*/
namespace Tizen.Multimedia.MediaController
{
///
/// Specifies states that a can have.
///
public enum MediaControllerServerState
{
///
/// Server state is unknown
///
/// 3
None,
///
/// Server is activated
///
/// 3
Activated,
///
/// Server is deactivated
///
/// 3
Deactivated,
}
///
/// Enumeration for playback state
///
public enum MediaControllerPlaybackState
{
///
/// Playback state is unknown
///
/// 3
None,
///
/// Playback is playing
///
/// 3
Play,
///
/// Playback is paused
///
/// 3
Pause,
///
/// Playback is next
///
/// 3
Next,
///
/// Playback is prev
///
/// 3
Prev,
///
/// Playback is fastforward
///
/// 3
FastForward,
///
/// Playback is rewind
///
/// 3
Rewind,
}
///
/// Enumeration for shuffle mode
///
public enum MediaControllerShuffleMode
{
///
/// Shuffle mode is On
///
/// 3
On,
///
/// Shuffle mode is Off
///
/// 3
Off,
}
///
/// Enumeration for repeat mode
///
public enum MediaControllerRepeatMode
{
///
/// Repeat mode is On
///
/// 3
On,
///
/// Repeat mode is Off
///
/// 3
Off,
}
///
/// Enumeration for repeat mode
///
public enum MediaControllerSubscriptionType
{
///
/// The type of subscription is the state of server
///
/// 3
ServerState,
///
/// The type of subscription is the playback
///
/// 3
Playback,
///
/// The type of subscription is the metadata
///
/// 3
Metadata,
///
/// The type of subscription is the shuffle mode
///
/// 3
ShuffleMode,
///
/// The type of subscription is the repeat mode
///
/// 3
RepeatMode,
}
///
/// Enumeration for metadata attributes
///
internal enum MediaControllerAttributes
{
///
/// Attribute is title
///
/// 3
Title,
///
/// Attribute is artist
///
/// 3
Artist,
///
/// Attribute is album
///
/// 3
Album,
///
/// Attribute is author
///
/// 3
Author,
///
/// Attribute is genre
///
/// 3
Genre,
///
/// Attribute is duration
///
/// 3
Duration,
///
/// Attribute is date
///
/// 3
Date,
///
/// Attribute is copyright
///
/// 3
Copyright,
///
/// Attribute is description
///
/// 3
Description,
///
/// Attribute is track number
///
/// 3
TrackNumber,
///
/// Attribute is picture
///
/// 3
Picture,
}
}