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

Inheritance: IStreamSocketWrapper, IDisposable
Show file Open project: slodge/BallControl Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ReceiveByte ( ) : Task
SendBytes ( byte payload ) : System.Threading.Tasks.Task
StreamSocketWrapper ( Android.Bluetooth.BluetoothSocket spheroSocket ) : System

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Private Methods

Method Description
DoReceiveByte ( ) : byte
DoSendBytes ( byte payload ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

ReceiveByte() public method

public ReceiveByte ( ) : Task
return Task

SendBytes() public method

public SendBytes ( byte payload ) : System.Threading.Tasks.Task
payload byte
return System.Threading.Tasks.Task

StreamSocketWrapper() public method

public StreamSocketWrapper ( Android.Bluetooth.BluetoothSocket spheroSocket ) : System
spheroSocket Android.Bluetooth.BluetoothSocket
return System