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

Inheritance: BaseSphero, IConnectedSphero
ファイルを表示 Open project: slodge/BallControl

Public Methods

Method Description
ConnectedSphero ( PeerInformation peerInformation, StreamSocket spheroSocket ) : System
Disconnect ( ) : void
RaiseDisconnected ( ) : void
SendAndReceive ( ISpheroCommand command, Action onSuccess, Action onError ) : void

Method Details

ConnectedSphero() public method

public ConnectedSphero ( PeerInformation peerInformation, StreamSocket spheroSocket ) : System
peerInformation Windows.Networking.Proximity.PeerInformation
spheroSocket Windows.Networking.Sockets.StreamSocket
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