IT. Expert System.

Android Reference

JetPlayer.OnJetEventListener


android.media

Interface JetPlayer.OnJetEventListener

  • Enclosing class:
    JetPlayer


    public static interface JetPlayer.OnJetEventListener
    Handles the notification when the JET engine generates an event.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      void onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value)
      Callback for when the JET engine generates a new event.
      void onJetNumQueuedSegmentUpdate(JetPlayer player, int nbSegments)
      Callback for when JET's number of queued segments is updated.
      void onJetPauseUpdate(JetPlayer player, int paused)
      Callback for when JET pause state is updated.
      void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount)
      Callback for when JET's currently playing segment's userID is updated.
    • Method Detail

      • onJetEvent

        void onJetEvent(JetPlayer player,
                      short segment,
                      byte track,
                      byte channel,
                      byte controller,
                      byte value)
        Callback for when the JET engine generates a new event.
        Parameters:
        player - the JET player the event is coming from
        segment - 8 bit unsigned value
        track - 6 bit unsigned value
        channel - 4 bit unsigned value
        controller - 7 bit unsigned value
        value - 7 bit unsigned value
      • onJetUserIdUpdate

        void onJetUserIdUpdate(JetPlayer player,
                             int userId,
                             int repeatCount)
        Callback for when JET's currently playing segment's userID is updated.
        Parameters:
        player - the JET player the status update is coming from
        userId - the ID of the currently playing segment
        repeatCount - the repetition count for the segment (0 means it plays once)
      • onJetNumQueuedSegmentUpdate

        void onJetNumQueuedSegmentUpdate(JetPlayer player,
                                       int nbSegments)
        Callback for when JET's number of queued segments is updated.
        Parameters:
        player - the JET player the status update is coming from
        nbSegments - the number of segments in the JET queue
      • onJetPauseUpdate

        void onJetPauseUpdate(JetPlayer player,
                            int paused)
        Callback for when JET pause state is updated.
        Parameters:
        player - the JET player the status update is coming from
        paused - indicates whether JET is paused (1) or not (0)


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 348 / 158856262. Delta: 0.03450 с