C# Class Cirrious.MvvmCross.Plugins.Sphero.Commands.BaseSpheroCommand

Inheritance: ISpheroCommand
Exibir arquivo Open project: slodge/BallControl

Public Methods

Method Description
GetBytes ( int sequenceNumber ) : byte[]
ProcessResponse ( SpheroResponse response ) : ISpheroMessage
ToString ( ) : string

Protected Methods

Method Description
BaseSpheroCommand ( byte deviceId, byte commandId ) : Cirrious.MvvmCross.Plugins.Sphero.Interfaces
GetPayloadBytes ( ) : byte[]

Method Details

BaseSpheroCommand() protected method

protected BaseSpheroCommand ( byte deviceId, byte commandId ) : Cirrious.MvvmCross.Plugins.Sphero.Interfaces
deviceId byte
commandId byte
return Cirrious.MvvmCross.Plugins.Sphero.Interfaces

GetBytes() public method

public GetBytes ( int sequenceNumber ) : byte[]
sequenceNumber int
return byte[]

GetPayloadBytes() protected abstract method

protected abstract GetPayloadBytes ( ) : byte[]
return byte[]

ProcessResponse() public method

public ProcessResponse ( SpheroResponse response ) : ISpheroMessage
response Cirrious.MvvmCross.Plugins.Sphero.Messages.SpheroResponse
return ISpheroMessage

ToString() public method

public ToString ( ) : string
return string