nowPlaying()

The τ Player API


nowPlaying()

This verb is used to set the Lock screen fields without starting a new playback. The fields ‘dataBuffer’ and ‘trackPath’ of the Track parameter are not used. Please refer to ‘startPlayerFromTrack’ for the meaning of the others parameters. Remark setUIProgressBar() is implemented only on iOS.

Example:

    Track track = Track( codec: Codec.opusOGG, trackPath: fileUri, trackAuthor: '3 Inches of Blood', trackTitle: 'Axes of Evil', albumArtAsset: albumArt );
    await nowPlaying(Track);
        Lorem ipsum ...
Tags: api player