Class AntChannelCommunicatorAidl

java.lang.Object
com.dsi.ant.channel.ipc.aidl.AntChannelCommunicatorAidl
All Implemented Interfaces:
android.os.Parcelable, IAntChannelCommunicator

public class AntChannelCommunicatorAidl extends Object implements IAntChannelCommunicator, android.os.Parcelable
An implementation of an ANT Channel Communicator which uses AIDL as the communication method.
  • Field Details

    • CREATOR

      public static final android.os.Parcelable.Creator<AntChannelCommunicatorAidl> CREATOR
      Creates an AntChannelCommunicatorAidl from a parcel.
  • Method Details

    • onRxAntMessage

      public void onRxAntMessage(MessageFromAntType messageType, AntMessageParcel antParcel)
    • onChannelDeathMessage

      public void onChannelDeathMessage()
      This method is called when the channel dies.
    • setChannelEventHandler

      public void setChannelEventHandler(IAntChannelEventHandler eventHandler) throws android.os.RemoteException
      Specified by:
      setChannelEventHandler in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • clearChannelEventHandler

      public void clearChannelEventHandler() throws android.os.RemoteException
      Specified by:
      clearChannelEventHandler in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setAdapterEventHandler

      public void setAdapterEventHandler(IAntAdapterEventHandler eventHandler) throws android.os.RemoteException
      Specified by:
      setAdapterEventHandler in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • clearAdapterEventHandler

      public void clearAdapterEventHandler() throws android.os.RemoteException
      Specified by:
      clearAdapterEventHandler in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setLibConfig

      public void setLibConfig(LibConfig libConfig, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setLibConfig in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setEventBuffer

      public void setEventBuffer(EventBufferSettings eventBufferSettings, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setEventBuffer in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • getEventBufferSettings

      public EventBufferSettings getEventBufferSettings() throws android.os.RemoteException
      Specified by:
      getEventBufferSettings in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • getBurstState

      public BurstState getBurstState() throws android.os.RemoteException
      Specified by:
      getBurstState in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • getLibConfig

      public LibConfig getLibConfig() throws android.os.RemoteException
      Specified by:
      getLibConfig in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • getBackgroundScanState

      public BackgroundScanState getBackgroundScanState() throws android.os.RemoteException
      Specified by:
      getBackgroundScanState in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • writeMessage

      public void writeMessage(AntMessageParcel antMessageParcel, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      writeMessage in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • addDeathNotifier

      public void addDeathNotifier(android.os.IBinder ref) throws android.os.RemoteException
      Throws:
      android.os.RemoteException
    • removeDeathNotifier

      public void removeDeathNotifier(android.os.IBinder ref) throws android.os.RemoteException
      Throws:
      android.os.RemoteException
    • unassign

      public void unassign(android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      unassign in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • assign

      public void assign(ChannelType channelType, ExtendedAssignment extendedAssignment, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      assign in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setId

      public void setId(ChannelId channelId, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setId in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setPeriod

      public void setPeriod(int period, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setPeriod in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setSearchPriority

      public void setSearchPriority(int searchPriority, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setSearchPriority in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setRfFrequency

      public void setRfFrequency(int frequency, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setRfFrequency in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • addChannelId

      public void addChannelId(ChannelId channelId, int index, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      addChannelId in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • configIdList

      public void configIdList(int listSize, boolean exclude, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      configIdList in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setLowPrioritySearchTimeout

      public void setLowPrioritySearchTimeout(LowPrioritySearchTimeout timeout, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setLowPrioritySearchTimeout in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setHighPrioritySearchTimeout

      public void setHighPrioritySearchTimeout(HighPrioritySearchTimeout timeout, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setHighPrioritySearchTimeout in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setIdWithSerialNumber

      public void setIdWithSerialNumber(boolean pair, int deviceType, int transmissionType, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setIdWithSerialNumber in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • configureFrequencyAgility

      public void configureFrequencyAgility(int freq1, int freq2, int freq3, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      configureFrequencyAgility in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setProximityThreshold

      public void setProximityThreshold(int threshold, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setProximityThreshold in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setChannelTransmitPower

      public void setChannelTransmitPower(int txPower, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setChannelTransmitPower in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • open

      public void open(android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      open in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • openRxScanMode

      public void openRxScanMode(android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      openRxScanMode in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • close

      public void close(android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      close in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • requestMessage

      public AntMessageParcel requestMessage(MessageFromAntType messageType, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      requestMessage in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • setBroadcastData

      public void setBroadcastData(byte[] data, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      setBroadcastData in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • startAcknowledgedTransfer

      public void startAcknowledgedTransfer(byte[] data, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      startAcknowledgedTransfer in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • burstTransfer

      public void burstTransfer(byte[] data, android.os.Bundle error) throws android.os.RemoteException
      Specified by:
      burstTransfer in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • getCapabilities

      public Capabilities getCapabilities() throws android.os.RemoteException
      Specified by:
      getCapabilities in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • releaseChannel

      public void releaseChannel() throws android.os.RemoteException
      Specified by:
      releaseChannel in interface IAntChannelCommunicator
      Throws:
      android.os.RemoteException
    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable