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 TypeMethodDescriptionvoid
addChannelId
(ChannelId channelId, int index, android.os.Bundle error) void
assign
(ChannelType channelType, ExtendedAssignment extendedAssignment, android.os.Bundle error) void
burstTransfer
(byte[] data, android.os.Bundle error) void
void
void
close
(android.os.Bundle error) void
configIdList
(int listSize, boolean exclude, android.os.Bundle error) void
configureFrequencyAgility
(int freq1, int freq2, int freq3, android.os.Bundle error) void
open
(android.os.Bundle error) void
openRxScanMode
(android.os.Bundle error) void
requestMessage
(MessageFromAntType messageType, android.os.Bundle error) void
setAdapterEventHandler
(IAntAdapterEventHandler eventHandler) void
setBroadcastData
(byte[] data, android.os.Bundle error) void
setChannelEventHandler
(IAntChannelEventHandler eventHandler) void
setChannelTransmitPower
(int outputPowerLevelSetting, android.os.Bundle error) void
setEventBuffer
(EventBufferSettings eventBufferSettings, android.os.Bundle error) void
setHighPrioritySearchTimeout
(HighPrioritySearchTimeout timeout, android.os.Bundle error) void
void
setIdWithSerialNumber
(boolean pair, int deviceType, int transmissionType, android.os.Bundle error) void
setLibConfig
(LibConfig libConfig, android.os.Bundle error) void
setLowPrioritySearchTimeout
(LowPrioritySearchTimeout timeout, android.os.Bundle error) void
setPeriod
(int period, android.os.Bundle error) void
setProximityThreshold
(int threshold, android.os.Bundle error) void
setRfFrequency
(int frequency, android.os.Bundle error) void
setSearchPriority
(int searchPriority, android.os.Bundle error) void
startAcknowledgedTransfer
(byte[] data, android.os.Bundle error) void
unassign
(android.os.Bundle error) void
writeMessage
(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
-