JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_android_Video.h File Reference

Classes

class  AudioManagerOnAudioFocusChangeListener
 
struct  AudioManagerOnAudioFocusChangeListener::Owner
 
class  MediaPlayerListener
 
struct  MediaPlayerListener::Owner
 
struct  VideoComponent::Pimpl
 
class  VideoComponent::Pimpl::MediaSession
 
class  VideoComponent::Pimpl::MediaSession::Controller
 
struct  VideoComponent::Pimpl::MediaSession::PlaybackState
 
class  VideoComponent::Pimpl::MediaSession::Player
 
struct  VideoComponent::Pimpl::MediaSession::Player::StateInfo
 

Macros

#define IFPREFIX   "android/media/MediaPlayer$"
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 

Variables

static const unsigned char MediaSessionByteCode []
 

Macro Definition Documentation

◆ IFPREFIX

#define IFPREFIX   "android/media/MediaPlayer$"

◆ JNI_CLASS_MEMBERS [1/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getPlaybackInfo, "getPlaybackInfo", "()Landroid/media/session/MediaController$PlaybackInfo;") \
METHOD (getPlaybackState, "getPlaybackState", "()Landroid/media/session/PlaybackState;") \
METHOD (getTransportControls, "getTransportControls", "()Landroid/media/session/MediaController$TransportControls;") \
METHOD (registerCallback, "registerCallback", "(Landroid/media/session/MediaController$Callback;)V") \
METHOD (setVolumeTo, "setVolumeTo", "(II)V") \
METHOD (unregisterCallback, "unregisterCallback", "(Landroid/media/session/MediaController$Callback;)V")

◆ JNI_CLASS_MEMBERS [2/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getAudioAttributes, "getAudioAttributes", "()Landroid/media/AudioAttributes;") \
METHOD (getCurrentVolume, "getCurrentVolume", "()I") \
METHOD (getMaxVolume, "getMaxVolume", "()I")

◆ JNI_CLASS_MEMBERS [3/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (pause, "pause", "()V") \
METHOD (play, "play", "()V") \
METHOD (playFromMediaId, "playFromMediaId", "(Ljava/lang/String;Landroid/os/Bundle;)V") \
METHOD (seekTo, "seekTo", "(J)V") \
METHOD (stop, "stop", "()V")

◆ JNI_CLASS_MEMBERS [4/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "()V") \
METHOD (getCurrentPosition, "getCurrentPosition", "()I") \
METHOD (getDuration, "getDuration", "()I") \
METHOD (getPlaybackParams, "getPlaybackParams", "()Landroid/media/PlaybackParams;") \
METHOD (getVideoHeight, "getVideoHeight", "()I") \
METHOD (getVideoWidth, "getVideoWidth", "()I") \
METHOD (isPlaying, "isPlaying", "()Z") \
METHOD (pause, "pause", "()V") \
METHOD (prepareAsync, "prepareAsync", "()V") \
METHOD (release, "release", "()V") \
METHOD (seekTo, "seekTo", "(I)V") \
METHOD (setAudioAttributes, "setAudioAttributes", "(Landroid/media/AudioAttributes;)V") \
METHOD (setDataSource, "setDataSource", "(Landroid/content/Context;Landroid/net/Uri;)V") \
METHOD (setDisplay, "setDisplay", "(Landroid/view/SurfaceHolder;)V") \
METHOD (setOnBufferingUpdateListener, "setOnBufferingUpdateListener", "(Landroid/media/MediaPlayer$OnBufferingUpdateListener;)V") \
METHOD (setOnCompletionListener, "setOnCompletionListener", "(Landroid/media/MediaPlayer$OnCompletionListener;)V") \
METHOD (setOnErrorListener, "setOnErrorListener", "(Landroid/media/MediaPlayer$OnErrorListener;)V") \
METHOD (setOnInfoListener, "setOnInfoListener", "(Landroid/media/MediaPlayer$OnInfoListener;)V") \
METHOD (setOnPreparedListener, "setOnPreparedListener", "(Landroid/media/MediaPlayer$OnPreparedListener;)V") \
METHOD (setOnSeekCompleteListener, "setOnSeekCompleteListener", "(Landroid/media/MediaPlayer$OnSeekCompleteListener;)V") \
METHOD (setPlaybackParams, "setPlaybackParams", "(Landroid/media/PlaybackParams;)V") \
METHOD (setVolume, "setVolume", "(FF)V") \
METHOD (start, "start", "()V") \
METHOD (stop, "stop", "()V")

◆ JNI_CLASS_MEMBERS [5/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(Landroid/content/Context;Ljava/lang/String;)V") \
METHOD (getController, "getController", "()Landroid/media/session/MediaController;") \
METHOD (release, "release", "()V") \
METHOD (setActive, "setActive", "(Z)V") \
METHOD (setCallback, "setCallback", "(Landroid/media/session/MediaSession$Callback;)V") \
METHOD (setFlags, "setFlags", "(I)V") \
METHOD (setMediaButtonReceiver, "setMediaButtonReceiver", "(Landroid/app/PendingIntent;)V") \
METHOD (setMetadata, "setMetadata", "(Landroid/media/MediaMetadata;)V") \
METHOD (setPlaybackState, "setPlaybackState", "(Landroid/media/session/PlaybackState;)V") \
METHOD (setPlaybackToLocal, "setPlaybackToLocal", "(Landroid/media/AudioAttributes;)V")

◆ JNI_CLASS_MEMBERS [6/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (build, "build", "()Landroid/media/MediaMetadata;") \
METHOD (constructor, "<init>", "()V") \
METHOD (putLong, "putLong", "(Ljava/lang/String;J)Landroid/media/MediaMetadata$Builder;")

◆ JNI_CLASS_MEMBERS [7/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getSpeed, "getSpeed", "()F") \
METHOD (setSpeed, "setSpeed", "(F)Landroid/media/PlaybackParams;")

◆ JNI_CLASS_MEMBERS [8/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getActions, "getActions", "()J") \
METHOD (getErrorMessage, "getErrorMessage", "()Ljava/lang/CharSequence;") \
METHOD (getPlaybackSpeed, "getPlaybackSpeed", "()F") \
METHOD (getPosition, "getPosition", "()J") \
METHOD (getState, "getState", "()I")

◆ JNI_CLASS_MEMBERS [9/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (build, "build", "()Landroid/media/session/PlaybackState;") \
METHOD (constructor, "<init>", "()V") \
METHOD (setActions, "setActions", "(J)Landroid/media/session/PlaybackState$Builder;") \
METHOD (setErrorMessage, "setErrorMessage", "(Ljava/lang/CharSequence;)Landroid/media/session/PlaybackState$Builder;") \
METHOD (setState, "setState", "(IJF)Landroid/media/session/PlaybackState$Builder;")

◆ JNI_CLASS_MEMBERS [10/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(J)V") \
CALLBACK (audioInfoChanged, "mediaControllerAudioInfoChanged", "(JLandroid/media/session/MediaController$PlaybackInfo;)V") \
CALLBACK (metadataChanged, "mediaControllerMetadataChanged", "(JLandroid/media/MediaMetadata;)V") \
CALLBACK (playbackStateChanged, "mediaControllerPlaybackStateChanged", "(JLandroid/media/session/PlaybackState;)V") \
CALLBACK (sessionDestroyed, "mediaControllerSessionDestroyed", "(J)V")

◆ JNI_CLASS_MEMBERS [11/11]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(J)V") \
CALLBACK (pauseCallback, "mediaSessionPause", "(J)V") \
CALLBACK (playCallback, "mediaSessionPlay", "(J)V") \
CALLBACK (playFromMediaIdCallback, "mediaSessionPlayFromMediaId", "(JLjava/lang/String;Landroid/os/Bundle;)V") \
CALLBACK (seekToCallback, "mediaSessionSeekTo", "(JJ)V") \
CALLBACK (stopCallback, "mediaSessionStop", "(J)V")

Variable Documentation

◆ MediaSessionByteCode

const unsigned char MediaSessionByteCode[]
static
juce::gl::start
GLuint start
Definition: juce_gl.h:1134