Package | Description |
---|---|
javax.microedition.media | |
javax.microedition.media.control |
Modifier and Type | Method and Description |
---|---|
static Player |
Manager.createPlayer(DataSource source)
Create a
Player for a DataSource . |
static Player |
Manager.createPlayer(java.io.InputStream stream,
java.lang.String type)
Create a
Player to play back media from an
InputStream . |
static Player |
Manager.createPlayer(java.lang.String locator)
Create a
Player from an input locator. |
static void |
Manager.playTone(int note,
int duration,
int volume)
Play back a tone as specified by a note and its duration.
|
void |
Player.prefetch()
Acquires the scarce and exclusive resources
and processes as much data as necessary
to reduce the start latency.
|
void |
Player.realize()
Constructs portions of the
Player without
acquiring the scarce and exclusive resources. |
long |
Player.setMediaTime(long now)
Sets the
Player 's media time. |
void |
Player.setTimeBase(TimeBase master)
Sets the
TimeBase for this Player . |
void |
Player.start()
Starts the
Player as soon as possible. |
void |
Player.stop()
Stops the
Player . |
Modifier and Type | Method and Description |
---|---|
int[] |
MIDIControl.getBankList(boolean custom)
Returns list of installed banks.
|
java.lang.String |
MIDIControl.getKeyName(int bank,
int prog,
int key)
Given bank, program and key, get name of key.
|
int[] |
MIDIControl.getProgram(int channel)
Returns program assigned to channel.
|
int[] |
MIDIControl.getProgramList(int bank)
Given bank, get list of program numbers.
|
java.lang.String |
MIDIControl.getProgramName(int bank,
int prog)
Given bank and program, get name of program.
|
byte[] |
VideoControl.getSnapshot(java.lang.String imageType)
Get a snapshot of the displayed content.
|
void |
VideoControl.setDisplayFullScreen(boolean fullScreenMode)
Set the size of the render region for the video clip to be
fullscreen.
|
void |
VideoControl.setDisplaySize(int width,
int height)
Resize the video image.
|
void |
RecordControl.setRecordLocation(java.lang.String locator)
Set the output location where the data will be recorded.
|
int |
RecordControl.setRecordSizeLimit(int size)
Set the record size limit.
|
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.