com.impinj.octane

## Class AntennaEvent

- java.lang.Object
- - com.impinj.octane.AntennaEvent

-     public class AntennaEvent
      extends java.lang.Object

  This class contains the information about a change in antenna state.
  See Also:
    `AntennaChangeListener.onAntennaChanged(com.impinj.octane.ImpinjReader, com.impinj.octane.AntennaEvent)`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AntennaEvent()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `short` | `getPortNumber()`
    `AntennaEventType` | `getState()`
    `void` | `setPortNumber(short portNumber)`
    `void` | `setState(AntennaEventType state)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AntennaEvent

          public AntennaEvent()

  - ### Method Detail

    - #### getPortNumber

          public short getPortNumber()

      Returns:
        the Port Number of the antenna for which this event occurred.

    - #### setPortNumber

          public void setPortNumber(short portNumber)

      Parameters:
        `portNumber` - of the antenna for which this event occurred.

    - #### getState

          public AntennaEventType getState()

      Returns:
        the event type for the antenna event

    - #### setState

          public void setState(AntennaEventType state)

      Parameters:
        `state` - sets the event type for the antenna event