MSsyChannelDataProvider Class Reference

class MSsyChannelDataProvider

Channel data provider implementation

Member Functions Documentation

ForceBufferFilledL(const TSensrvChannelId)

void ForceBufferFilledL ( const TSensrvChannelId aChannelId ) [pure virtual]

Forces SSY to call BufferFilled() regardless of how many data items have been written to buffer. Even if no data items have yet been written, BufferFilled() must be called.

Since
S60 5.0

Parameters

const TSensrvChannelId aChannelId Channel Id to be linked to this force buffer filled message

GetChannelDataProviderInterfaceL(TUid, TAny *&)

void GetChannelDataProviderInterfaceL ( TUid aInterfaceUid,
TAny *& aInterface
) [pure virtual]

Returns a pointer to a specified interface - to allow future extension of this class without breaking binary compatibility

Since
S60 5.0

Parameters

TUid aInterfaceUid Identifier of the interface to be retrieved
TAny *& aInterface A reference to a pointer that retrieves the specified interface.

StartChannelDataL(const TSensrvChannelId, TUint8 *, TInt)

void StartChannelDataL ( const TSensrvChannelId aChannelId,
TUint8 * aBuffer,
TInt aCount
) [pure virtual]

Starts asynchronous data listening. Multiple OpenChannel()-requests can be active for different channels at the same time.

Since
S60 5.0

Parameters

const TSensrvChannelId aChannelId Channel Id to be linked to this start channel data message
TUint8 * aBuffer Pointer to a data buffer
TInt aCount Indicates data buffer size as a count of the data objects.

StopChannelDataL(const TSensrvChannelId)

void StopChannelDataL ( const TSensrvChannelId aChannelId ) [pure virtual]

Stops asynchronous data listening. The data buffer is not valid after call of this function.

Since
S60 5.0

Parameters

const TSensrvChannelId aChannelId Channel Id to be linked to this stop channel data message