|
static LocalRef< jobject > | createAudioFocusRequestIfNecessary (int sdkVersion, const GlobalRef &audioAttributes, const GlobalRef &nativeAudioFocusChangeListener) |
|
static LocalRef< jobject > | getAudioAttributes () |
|
static void | pauseCallback (JNIEnv *, jobject, jlong host) |
|
static void | playCallback (JNIEnv *, jobject, jlong host) |
|
static void | playFromMediaIdCallback (JNIEnv *env, jobject, jlong host, jstring mediaId, jobject extras) |
|
static void | seekToCallback (JNIEnv *, jobject, jlong host, jlong pos) |
|
static void | stopCallback (JNIEnv *env, jobject, jlong host) |
|
◆ MediaSession()
VideoComponent::Pimpl::MediaSession::MediaSession |
( |
Pimpl & |
ownerToUse | ) |
|
|
inline |
◆ ~MediaSession()
VideoComponent::Pimpl::MediaSession::~MediaSession |
( |
| ) |
|
|
inline |
◆ abandonAudioFocus()
void VideoComponent::Pimpl::MediaSession::abandonAudioFocus |
( |
| ) |
|
|
inlineprivate |
◆ closeVideo()
void VideoComponent::Pimpl::MediaSession::closeVideo |
( |
| ) |
|
|
inline |
◆ createAudioFocusRequestIfNecessary()
static LocalRef<jobject> VideoComponent::Pimpl::MediaSession::createAudioFocusRequestIfNecessary |
( |
int |
sdkVersion, |
|
|
const GlobalRef & |
audioAttributes, |
|
|
const GlobalRef & |
nativeAudioFocusChangeListener |
|
) |
| |
|
inlinestaticprivate |
◆ createCallbackObject()
LocalRef<jobject> VideoComponent::Pimpl::MediaSession::createCallbackObject |
( |
| ) |
|
|
inlineprivate |
◆ errorOccurred()
void VideoComponent::Pimpl::MediaSession::errorOccurred |
( |
const String & |
errorMessage | ) |
|
|
inlineprivate |
◆ getAudioAttributes()
static LocalRef<jobject> VideoComponent::Pimpl::MediaSession::getAudioAttributes |
( |
| ) |
|
|
inlinestaticprivate |
References closeVideo(), DECLARE_JNI_CLASS_WITH_MIN_SDK, juce::getAndroidSDKVersion(), juce::getCurrentActivity(), juce::getEnv(), jassert, JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR, JUCE_DECLARE_WEAK_REFERENCEABLE, JUCE_VIDEO_LOG, MediaPlayerListener::owner, restoreState(), setDisplay(), VideoComponent::Pimpl::MediaSession::Player::stateInfos, and storeState().
◆ getCurrentPlaybackState()
LocalRef<jobject> VideoComponent::Pimpl::MediaSession::getCurrentPlaybackState |
( |
| ) |
|
|
inlineprivate |
◆ getDuration()
double VideoComponent::Pimpl::MediaSession::getDuration |
( |
| ) |
const |
|
inline |
◆ getNativeSize()
Rectangle<int> VideoComponent::Pimpl::MediaSession::getNativeSize |
( |
| ) |
const |
|
inline |
◆ getPosition()
double VideoComponent::Pimpl::MediaSession::getPosition |
( |
| ) |
const |
|
inline |
◆ getSpeed()
double VideoComponent::Pimpl::MediaSession::getSpeed |
( |
| ) |
const |
|
inline |
◆ getVolume()
float VideoComponent::Pimpl::MediaSession::getVolume |
( |
| ) |
const |
|
inline |
◆ isPlaying()
bool VideoComponent::Pimpl::MediaSession::isPlaying |
( |
| ) |
const |
|
inline |
◆ isSeekInProgress()
bool VideoComponent::Pimpl::MediaSession::isSeekInProgress |
( |
| ) |
const |
|
inlineprivatenoexcept |
◆ isVideoOpen()
bool VideoComponent::Pimpl::MediaSession::isVideoOpen |
( |
| ) |
const |
|
inline |
◆ load()
void VideoComponent::Pimpl::MediaSession::load |
( |
const URL & |
url | ) |
|
|
inline |
◆ onAudioFocusChange()
void VideoComponent::Pimpl::MediaSession::onAudioFocusChange |
( |
int |
changeType | ) |
|
|
inlineoverrideprivatevirtual |
◆ pauseCallback()
static void VideoComponent::Pimpl::MediaSession::pauseCallback |
( |
JNIEnv * |
, |
|
|
jobject |
, |
|
|
jlong |
host |
|
) |
| |
|
inlinestaticprivate |
◆ play()
void VideoComponent::Pimpl::MediaSession::play |
( |
| ) |
|
|
inline |
◆ playbackStarted()
void VideoComponent::Pimpl::MediaSession::playbackStarted |
( |
| ) |
|
|
inlineprivate |
◆ playbackStopped()
void VideoComponent::Pimpl::MediaSession::playbackStopped |
( |
| ) |
|
|
inlineprivate |
◆ playCallback()
static void VideoComponent::Pimpl::MediaSession::playCallback |
( |
JNIEnv * |
, |
|
|
jobject |
, |
|
|
jlong |
host |
|
) |
| |
|
inlinestaticprivate |
◆ playerBufferingEnded()
void VideoComponent::Pimpl::MediaSession::playerBufferingEnded |
( |
| ) |
|
|
inlineprivate |
◆ playerBufferingStarted()
void VideoComponent::Pimpl::MediaSession::playerBufferingStarted |
( |
| ) |
|
|
inlineprivate |
◆ playerBufferingUpdated()
void VideoComponent::Pimpl::MediaSession::playerBufferingUpdated |
( |
int |
progress | ) |
|
|
inlineprivate |
◆ playerPlaybackCompleted()
void VideoComponent::Pimpl::MediaSession::playerPlaybackCompleted |
( |
| ) |
|
|
inlineprivate |
◆ playerPrepared()
void VideoComponent::Pimpl::MediaSession::playerPrepared |
( |
| ) |
|
|
inlineprivate |
◆ playerSeekCompleted()
void VideoComponent::Pimpl::MediaSession::playerSeekCompleted |
( |
| ) |
|
|
inlineprivate |
◆ playFromMediaIdCallback()
static void VideoComponent::Pimpl::MediaSession::playFromMediaIdCallback |
( |
JNIEnv * |
env, |
|
|
jobject |
, |
|
|
jlong |
host, |
|
|
jstring |
mediaId, |
|
|
jobject |
extras |
|
) |
| |
|
inlinestaticprivate |
◆ requestAudioFocus()
void VideoComponent::Pimpl::MediaSession::requestAudioFocus |
( |
| ) |
|
|
inlineprivate |
◆ resetState()
void VideoComponent::Pimpl::MediaSession::resetState |
( |
| ) |
|
|
inlineprivate |
◆ restoreState()
void VideoComponent::Pimpl::MediaSession::restoreState |
( |
| ) |
|
|
inline |
◆ seekToCallback()
static void VideoComponent::Pimpl::MediaSession::seekToCallback |
( |
JNIEnv * |
, |
|
|
jobject |
, |
|
|
jlong |
host, |
|
|
jlong |
pos |
|
) |
| |
|
inlinestaticprivate |
◆ setDisplay()
void VideoComponent::Pimpl::MediaSession::setDisplay |
( |
const LocalRef< jobject > & |
surfaceHolder | ) |
|
|
inline |
◆ setPosition()
void VideoComponent::Pimpl::MediaSession::setPosition |
( |
double |
newPosition | ) |
|
|
inline |
◆ setSpeed()
void VideoComponent::Pimpl::MediaSession::setSpeed |
( |
double |
newSpeed | ) |
|
|
inline |
◆ setVolume()
void VideoComponent::Pimpl::MediaSession::setVolume |
( |
float |
newVolume | ) |
|
|
inline |
◆ stop()
void VideoComponent::Pimpl::MediaSession::stop |
( |
| ) |
|
|
inline |
◆ stopCallback()
static void VideoComponent::Pimpl::MediaSession::stopCallback |
( |
JNIEnv * |
env, |
|
|
jobject |
, |
|
|
jlong |
host |
|
) |
| |
|
inlinestaticprivate |
◆ storeState()
void VideoComponent::Pimpl::MediaSession::storeState |
( |
| ) |
|
|
inline |
◆ updateMetadata()
void VideoComponent::Pimpl::MediaSession::updateMetadata |
( |
| ) |
|
|
inlineprivate |
◆ updatePlaybackState()
void VideoComponent::Pimpl::MediaSession::updatePlaybackState |
( |
| ) |
|
|
inlineprivate |
◆ audioAttributes
GlobalRef VideoComponent::Pimpl::MediaSession::audioAttributes |
|
private |
◆ audioFocusChangeListener
◆ audioFocusRequest
GlobalRef VideoComponent::Pimpl::MediaSession::audioFocusRequest |
|
private |
◆ audioManager
GlobalRef VideoComponent::Pimpl::MediaSession::audioManager |
|
private |
◆ bufferedRegions
SparseSet<int> VideoComponent::Pimpl::MediaSession::bufferedRegions |
|
private |
◆ controller
Controller VideoComponent::Pimpl::MediaSession::controller |
|
private |
◆ hasAudioFocus
bool VideoComponent::Pimpl::MediaSession::hasAudioFocus = false |
|
private |
◆ mediaSessionCallback
GlobalRef VideoComponent::Pimpl::MediaSession::mediaSessionCallback |
|
private |
◆ nativeAudioFocusChangeListener
GlobalRef VideoComponent::Pimpl::MediaSession::nativeAudioFocusChangeListener |
|
private |
◆ nativeMediaSession
GlobalRef VideoComponent::Pimpl::MediaSession::nativeMediaSession |
|
private |
◆ owner
Pimpl& VideoComponent::Pimpl::MediaSession::owner |
|
private |
◆ pendingSeekRequest
bool VideoComponent::Pimpl::MediaSession::pendingSeekRequest = false |
|
private |
◆ playbackStateBuilder
GlobalRef VideoComponent::Pimpl::MediaSession::playbackStateBuilder |
|
private |
◆ player
Player VideoComponent::Pimpl::MediaSession::player |
|
private |
◆ playerBufferingInProgress
bool VideoComponent::Pimpl::MediaSession::playerBufferingInProgress = false |
|
private |
◆ playSpeedMult
double VideoComponent::Pimpl::MediaSession::playSpeedMult = 1.0 |
|
private |
◆ sdkVersion
int VideoComponent::Pimpl::MediaSession::sdkVersion |
|
private |
◆ storedPlaybackState
GlobalRef VideoComponent::Pimpl::MediaSession::storedPlaybackState |
|
private |
◆ usesBuffering
bool VideoComponent::Pimpl::MediaSession::usesBuffering = false |
|
private |
The documentation for this class was generated from the following file: