C# Class imBMW.Multimedia.BluetoothWT32

Inheritance: AudioPlayerBase
Mostra file Open project: toxsedyshev/imBMW Class Usage Examples

Public Methods

Method Description
BluetoothWT32 ( string port, string pin = "0000" ) : System
Connect ( ) : void
Disconnect ( ) : void
Next ( ) : void
Prev ( ) : void
RandomToggle ( ) : bool
SendCommand ( Message message, Link link, string description = null ) : void
SendCommand ( byte command, Link link, string description = "" ) : void
SendCommand ( string command, Link link = Link.Control ) : void
SetMicGain ( byte b ) : void
VoiceButtonLongPress ( ) : void
VoiceButtonPress ( ) : void
VolumeDown ( ) : void
VolumeUp ( ) : void

Protected Methods

Method Description
OnBTCommandReceived ( Link link, byte command ) : void
OnPlayerHostStateChanged ( PlayerHostState playerHostState ) : void
SetPlaying ( bool value ) : void

Private Methods

Method Description
OnA2DPConnected ( string address, string link ) : void
OnAVRCPConnected ( string address, string link ) : void
ParseNowPlaying ( string p ) : void
ProcessBTNotification ( string s ) : void
ProcessSendCommand ( object o ) : void
UpdateNowPlayingScreen ( MenuScreen nowPlayingScreen, TrackInfo nowPlaying ) : void
port_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void

Method Details

BluetoothWT32() public method

public BluetoothWT32 ( string port, string pin = "0000" ) : System
port string
pin string
return System

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Next() public method

public Next ( ) : void
return void

OnBTCommandReceived() protected method

protected OnBTCommandReceived ( Link link, byte command ) : void
link Link
command byte
return void

OnPlayerHostStateChanged() protected method

protected OnPlayerHostStateChanged ( PlayerHostState playerHostState ) : void
playerHostState PlayerHostState
return void

Prev() public method

public Prev ( ) : void
return void

RandomToggle() public method

public RandomToggle ( ) : bool
return bool

SendCommand() public method

public SendCommand ( Message message, Link link, string description = null ) : void
message imBMW.iBus.Message
link Link
description string
return void

SendCommand() public method

public SendCommand ( byte command, Link link, string description = "" ) : void
command byte
link Link
description string
return void

SendCommand() public method

public SendCommand ( string command, Link link = Link.Control ) : void
command string
link Link
return void

SetMicGain() public method

public SetMicGain ( byte b ) : void
b byte
return void

SetPlaying() protected method

protected SetPlaying ( bool value ) : void
value bool
return void

VoiceButtonLongPress() public method

public VoiceButtonLongPress ( ) : void
return void

VoiceButtonPress() public method

public VoiceButtonPress ( ) : void
return void

VolumeDown() public method

public VolumeDown ( ) : void
return void

VolumeUp() public method

public VolumeUp ( ) : void
return void