Class BluetoothAvrcp
Definition
- Assembly:
- Tizen.Network.Bluetooth.dll
This class is used to notify changes of the target device (For example, media player) to the control device (For example, headset).
public class BluetoothAvrcp : BluetoothProfile
- Inheritance
Methods
View SourceNotifyCurrentPosition(uint)
Notifies the current position of the song to the remote device.
Declaration
public void NotifyCurrentPosition(uint position)
Parameters
Type | Name | Description |
---|---|---|
uint | position | The current position in milliseconds. |
Remarks
The remote device must be connected.
NotifyEqualizerState(EqualizerState)
Notifies the equalize state to the remote device.
Declaration
public void NotifyEqualizerState(EqualizerState state)
Parameters
Type | Name | Description |
---|---|---|
EqualizerState | state | The equalizer state. |
Remarks
The remote device must be connected.
NotifyPlayerState(PlayerState)
Notifies the player state to the remote device.
Declaration
public void NotifyPlayerState(PlayerState state)
Parameters
Type | Name | Description |
---|---|---|
PlayerState | state | The player state. |
Remarks
The remote device must be connected.
NotifyRepeatMode(RepeatMode)
Notifies the repeat mode to the remote device.
Declaration
public void NotifyRepeatMode(RepeatMode mode)
Parameters
Type | Name | Description |
---|---|---|
RepeatMode | mode | The repeat mode. |
Remarks
The remote device must be connected.
NotifyScanMode(ScanMode)
Notifies the scan mode to the remote device.
Declaration
public void NotifyScanMode(ScanMode mode)
Parameters
Type | Name | Description |
---|---|---|
ScanMode | mode | The scan mode. |
Remarks
The remote device must be connected.
NotifyShuffleMode(ShuffleMode)
Notifies the shuffle mode to the remote device.
Declaration
public void NotifyShuffleMode(ShuffleMode mode)
Parameters
Type | Name | Description |
---|---|---|
ShuffleMode | mode | The shuffle mode. |
Remarks
The remote device must be connected.
NotifyTrack(Track)
Notifies the track to the remote device.
Declaration
public void NotifyTrack(Track trackData)
Parameters
Type | Name | Description |
---|---|---|
Track | trackData | The data of the track. |
Remarks
The remote device must be connected.
Events
View SourceEqualizerStateChanged
The EqualizerStateChanged event is invoked when the equalizer state is changed by the remote control device.
Declaration
public event EventHandler<EqualizerStateChangedEventArgs> EqualizerStateChanged
Event Type
Type | Description |
---|---|
EventHandler<><EqualizerStateChangedEventArgs> |
RepeatModeChanged
The RepeatModeChanged event is invoked when the repeat mode is changed by the remote control device.
Declaration
public event EventHandler<RepeatModeChangedEventArgs> RepeatModeChanged
Event Type
Type | Description |
---|---|
EventHandler<><RepeatModeChangedEventArgs> |
ScanModeChanged
The ScanModeChanged event is invoked when the scan mode is changed by the remote control device.
Declaration
public event EventHandler<ScanModeChangedEventArgs> ScanModeChanged
Event Type
Type | Description |
---|---|
EventHandler<><ScanModeChangedEventArgs> |
ShuffleModeChanged
The ShuffleModeChanged event is invoked when the shuffle mode is changed by the remote control device.
Declaration
public event EventHandler<ShuffleModeChangedeventArgs> ShuffleModeChanged
Event Type
Type | Description |
---|---|
EventHandler<><ShuffleModeChangedeventArgs> |
TargetConnectionStateChanged
The TargetConnectionStateChanged event is invoked when the connection state is changed.
Declaration
public event EventHandler<TargetConnectionStateChangedEventArgs> TargetConnectionStateChanged
Event Type
Type | Description |
---|---|
EventHandler<><TargetConnectionStateChangedEventArgs> |