Package com.dsi.ant.channel.ipc
Interface IAntChannelCommunicator
- All Known Implementing Classes:
AntChannelCommunicatorAidl
public interface IAntChannelCommunicator
Defines the interface to be implemented by the piece handling the communication (IPC) to the
ANT Channel in the ANT Radio Service.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddChannelId(ChannelId channelId, int index, android.os.Bundle error) voidassign(ChannelType channelType, ExtendedAssignment extendedAssignment, android.os.Bundle error) voidburstTransfer(byte[] data, android.os.Bundle error) voidvoidvoidclose(android.os.Bundle error) voidconfigIdList(int listSize, boolean exclude, android.os.Bundle error) voidconfigureFrequencyAgility(int freq1, int freq2, int freq3, android.os.Bundle error) voidopen(android.os.Bundle error) voidopenRxScanMode(android.os.Bundle error) voidrequestMessage(MessageFromAntType messageType, android.os.Bundle error) voidsetAdapterEventHandler(IAntAdapterEventHandler eventHandler) voidsetBroadcastData(byte[] data, android.os.Bundle error) voidsetChannelEventHandler(IAntChannelEventHandler eventHandler) voidsetChannelTransmitPower(int outputPowerLevelSetting, android.os.Bundle error) voidsetEventBuffer(EventBufferSettings eventBufferSettings, android.os.Bundle error) voidsetHighPrioritySearchTimeout(HighPrioritySearchTimeout timeout, android.os.Bundle error) voidvoidsetIdWithSerialNumber(boolean pair, int deviceType, int transmissionType, android.os.Bundle error) voidsetLibConfig(LibConfig libConfig, android.os.Bundle error) voidsetLowPrioritySearchTimeout(LowPrioritySearchTimeout timeout, android.os.Bundle error) voidsetPeriod(int period, android.os.Bundle error) voidsetProximityThreshold(int threshold, android.os.Bundle error) voidsetRfFrequency(int frequency, android.os.Bundle error) voidsetSearchPriority(int searchPriority, android.os.Bundle error) voidstartAcknowledgedTransfer(byte[] data, android.os.Bundle error) voidunassign(android.os.Bundle error) voidwriteMessage(AntMessageParcel parcel, android.os.Bundle error)
-
Method Details
-
writeMessage
void writeMessage(AntMessageParcel parcel, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
unassign
void unassign(android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
assign
void assign(ChannelType channelType, ExtendedAssignment extendedAssignment, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setId
- Throws:
android.os.RemoteException
-
setPeriod
void setPeriod(int period, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setSearchPriority
void setSearchPriority(int searchPriority, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setRfFrequency
void setRfFrequency(int frequency, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
addChannelId
void addChannelId(ChannelId channelId, int index, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
configIdList
void configIdList(int listSize, boolean exclude, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setLowPrioritySearchTimeout
void setLowPrioritySearchTimeout(LowPrioritySearchTimeout timeout, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setHighPrioritySearchTimeout
void setHighPrioritySearchTimeout(HighPrioritySearchTimeout timeout, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setIdWithSerialNumber
void setIdWithSerialNumber(boolean pair, int deviceType, int transmissionType, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
configureFrequencyAgility
void configureFrequencyAgility(int freq1, int freq2, int freq3, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setProximityThreshold
void setProximityThreshold(int threshold, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setChannelTransmitPower
void setChannelTransmitPower(int outputPowerLevelSetting, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
open
void open(android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
close
void close(android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
openRxScanMode
void openRxScanMode(android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
requestMessage
AntMessageParcel requestMessage(MessageFromAntType messageType, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setBroadcastData
void setBroadcastData(byte[] data, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
startAcknowledgedTransfer
void startAcknowledgedTransfer(byte[] data, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
burstTransfer
void burstTransfer(byte[] data, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setLibConfig
- Throws:
android.os.RemoteException
-
setEventBuffer
void setEventBuffer(EventBufferSettings eventBufferSettings, android.os.Bundle error) throws android.os.RemoteException - Throws:
android.os.RemoteException
-
setChannelEventHandler
- Throws:
android.os.RemoteException
-
clearChannelEventHandler
void clearChannelEventHandler() throws android.os.RemoteException- Throws:
android.os.RemoteException
-
setAdapterEventHandler
- Throws:
android.os.RemoteException
-
clearAdapterEventHandler
void clearAdapterEventHandler() throws android.os.RemoteException- Throws:
android.os.RemoteException
-
getCapabilities
- Throws:
android.os.RemoteException
-
getEventBufferSettings
- Throws:
android.os.RemoteException
-
getBurstState
- Throws:
android.os.RemoteException
-
getLibConfig
- Throws:
android.os.RemoteException
-
getBackgroundScanState
- Throws:
android.os.RemoteException
-
releaseChannel
void releaseChannel() throws android.os.RemoteException- Throws:
android.os.RemoteException
-