Class ActivityReceivedEventArgs


  • public class ActivityReceivedEventArgs
    extends Object
    Class that describes the events of a activity received event.
    • Constructor Detail

      • ActivityReceivedEventArgs

        public ActivityReceivedEventArgs​(long eventArgs)
        Constructs an ActivityReceivedEventArgs object.
        Parameters:
        eventArgs - The native ActivityReceivedEventArgs
    • Method Detail

      • getActivity

        public String getActivity()
        Gets the activity received.
        Returns:
        The activity associated with the event.
      • hasAudio

        public boolean hasAudio()
        Checks whether the event has associated audio.
        Returns:
        True if the event has audio associated, false otherwise.
      • getAudio

        public PullAudioOutputStream getAudio()
        Gets the associated audio stream if present.
        Returns:
        The associated audio stream.