Module uk.co.caprica.vlcj
Interface MediaPlayerComponent
- All Known Implementing Classes:
AudioListPlayerComponent
,AudioPlayerComponent
,CallbackMediaListPlayerComponent
,CallbackMediaListPlayerComponentBase
,CallbackMediaPlayerComponent
,EmbeddedMediaListPlayerComponent
,EmbeddedMediaPlayerComponent
public interface MediaPlayerComponent
Minimal specification for a media player component.
Serves only to ensure a MediaPlayerFactory
is available.
-
Method Summary
Modifier and TypeMethodDescriptionGet the media player factory that was used to create the media player component.
-
Method Details
-
mediaPlayerFactory
MediaPlayerFactory mediaPlayerFactory()Get the media player factory that was used to create the media player component.If the client application did not suppl a media player factory when creating the component, then the component is the "owner" of the returned factory instance. A client application must not releasse the factory in this case.
If a client application did supply the factory, then the client application is wholly responsible for the correct life-cycle of that factory and should release it at the appropriate time.
- Returns:
- factory
-