C# Class Cirrious.MvvmCross.Plugins.Sphero.Droid.Tooth.ConnectedSphero

Inheritance: BaseSphero, IConnectedSphero
Show file Open project: slodge/BallControl Class Usage Examples

Public Methods

Method Description
ConnectedSphero ( Android.Bluetooth.BluetoothDevice bluetoothDevice, Android.Bluetooth.BluetoothSocket socket ) : System
Disconnect ( ) : void
RaiseDisconnected ( ) : void
SendAndReceive ( ISpheroCommand command, Action onSuccess, Action onError ) : void

Method Details

ConnectedSphero() public method

public ConnectedSphero ( Android.Bluetooth.BluetoothDevice bluetoothDevice, Android.Bluetooth.BluetoothSocket socket ) : System
bluetoothDevice Android.Bluetooth.BluetoothDevice
socket Android.Bluetooth.BluetoothSocket
return System

Disconnect() public method

public Disconnect ( ) : void
return void

RaiseDisconnected() public method

public RaiseDisconnected ( ) : void
return void

SendAndReceive() public method

public SendAndReceive ( ISpheroCommand command, Action onSuccess, Action onError ) : void
command ISpheroCommand
onSuccess Action
onError Action
return void