class MediaControllerAdapter extends PlayerAdapter {

    @Override
    public long getDuration() {
        if (mController.getMetadata() == null) {
            return 0;
        }
        return (int) mController.getMetadata().getLong(
                MediaMetadataCompat.METADATA_KEY_DURATION);
    }

    public  MediaControllerAdapter(MediaControllerCompat controller);

}