The setMediaTime() method of the Player interface is used to specify how long the media will be played. The general syntax of this method is as follows:
Here, the now parameter specifies the duration in microseconds.
Download free practice test for SUN SCMAD exam. Download practice question and study guide for CX310-110 for exam.