APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.media.jfxmediaimpl.platform.ios

public final Class IOSMediaPlayer

extends NativeMediaPlayer
Class Inheritance
Imports
com.sun.media.jfxmedia.MediaError, .MediaException, com.sun.media.jfxmedia.effects.AudioEqualizer, .AudioSpectrum, .EqualizerBand, com.sun.media.jfxmedia.locator.Locator, com.sun.media.jfxmedia.control.MediaPlayerOverlay, com.sun.media.jfxmediaimpl.NativeMediaPlayer, java.util.Map, .HashMap

iOS MediaPlayer implementation.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private final IOSMediaPlayer.NullAudioEQ
private final IOSMediaPlayer.NullAudioSpectrum
private IOSMedia
private final MediaPlayerOverlay
private float
private boolean
Inherited from com.sun.media.jfxmediaimpl.NativeMediaPlayer:
eventPlayerErroreventPlayerFinishedeventPlayerPausedeventPlayerPlayingeventPlayerReadyeventPlayerStalledeventPlayerStoppedeventPlayerUnknownONE_SECOND

Constructor Summary

AccessConstructor and Description
private
IOSMediaPlayer(final IOSMedia sourceMedia)

pack-priv
IOSMediaPlayer(final Locator source)

Method Summary

Modifier and TypeMethod and Description
public AudioSpectrum
getAudioSpectrum()

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.getAudioSpectrum.

Implements com.sun.media.jfxmedia.MediaPlayer.getAudioSpectrum.

Gets the audio spectrum controller for the player.

public AudioEqualizer
getEqualizer()

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.getEqualizer.

Implements com.sun.media.jfxmedia.MediaPlayer.getEqualizer.

Gets the audio equalizer for the player.

public MediaPlayerOverlay
getMediaPlayerOverlay()

Implements com.sun.media.jfxmedia.MediaPlayer.getMediaPlayerOverlay.

Returns the media player overlay support interface.

private void
handleError(final int err)

private native void
iosDispose(long refNativeMedia)

private native int
iosFinish(long refNativeMedia)

private native int
iosGetAudioSyncDelay(long refNativeMedia, long[] syncDelay)

private native int
iosGetBalance(long refNativeMedia, float[] balance)

private native int
iosGetDuration(long refNativeMedia, double[] duration)

private native int
iosGetPresentationTime(long refNativeMedia, double[] time)

private native int
iosGetRate(long refNativeMedia, float[] rate)

private native int
iosGetVolume(long refNativeMedia, float[] volume)

private native int
iosInitPlayer(long refNativeMedia)

private native int
iosPause(long refNativeMedia)

private native int
iosPlay(long refNativeMedia)

private native int
iosSeek(long refNativeMedia, double streamTime)

private native int
iosSetAudioSyncDelay(long refNativeMedia, long delay)

private native int
iosSetBalance(long refNativeMedia, float balance)

private native int
iosSetOverlayHeight(long mediaRef, double height)

private native int
iosSetOverlayOpacity(long mediaRef, double opacity)

private native int
iosSetOverlayPreserveRatio(long mediaRef, boolean preserveRatio)

private native int
iosSetOverlayTransform(long mediaRef, double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt)

private native int
iosSetOverlayVisible(long mediaRef, boolean visible)

private native int
iosSetOverlayWidth(long mediaRef, double width)

private native int
iosSetOverlayX(long mediaRef, double x)

private native int
iosSetOverlayY(long mediaRef, double y)

private native int
iosSetRate(long refNativeMedia, float rate)

private native int
iosSetVolume(long refNativeMedia, float volume)

private native int
iosStop(long refNativeMedia)

protected void
protected void
protected long
protected float
protected double
protected boolean
protected double
protected float
protected float
protected void
protected void
protected void
protected void
playerSeek(final double streamTime)

Implements abstract com.sun.media.jfxmediaimpl.NativeMediaPlayer.playerSeek.

protected void
protected void
protected synchronized void
protected void
protected synchronized void
protected void
Inherited from com.sun.media.jfxmediaimpl.NativeMediaPlayer:
addAudioSpectrumListeneraddBufferListeneraddMarkerListeneraddMediaErrorListeneraddMediaPlayerListeneraddMediaTimeListeneraddVideoTrackSizeListenercreateNativeAudioEqualizercreateNativeAudioSpectrumdisposegetAudioSyncDelaygetBalancegetDurationgetMediagetMutegetPresentationTimegetRategetStartTimegetStategetStopTimegetVideoRenderControlgetVolumeinitisErrorEventCachedmarkerStateChangedpauseplayremoveAudioSpectrumListenerremoveBufferListenerremoveMarkerListenerremoveMediaErrorListenerremoveMediaPlayerListenerremoveMediaTimeListenerremoveVideoTrackSizeListenerseeksendAudioSpectrumEventsendAudioTracksendBufferProgressEventsendDurationUpdateEventsendFrameSizeChangedEventsendMarkerEventsendNewFrameEventsendPlayerEventsendPlayerHaltEventsendPlayerMediaErrorEventsendPlayerStateEventsendSubtitleTracksendVideoTracksendWarningsetAudioSyncDelaysetBalancesetMutesetRatesetStartTimesetStopTimesetVolumestop