Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## chrriis.dj.nativeswing.swtimpl.components.win32
Class WMPMedia

    java.lang.Object
      chrriis.dj.nativeswing.swtimpl.components.win32.WMPMedia

    public class WMPMedia

extends Object

A Media Player object responsible for media-related actions.

Author:
  Christopher Deckers, Matt Brooke-Smith

Method Summary
`int` | `getDuration()` Get the duration in milliseconds of the current media.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getDuration

    public int getDuration()

  Get the duration in milliseconds of the current media.

  Returns:
    the duration in milliseconds, or -1 in case of failure.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD