Interface IPacketEvent

    • Method Detail

      • getPacket

        IPacket getPacket()
        Returns the IPacket for this event.

        The returned IPacket will only be valid for the duration of the IMediaListener method call it was dispatched on and implementations must not access it after that call returns. If you need to keep a copy of this data either copy the data into your own object, or use IPacket.copyReference() to create a reference that will outlive your call.

        Returns:
        the packet