public interface AVPlayerPlaybackCoordinatorDelegate
Delegate protocol for AVPlayerPlaybackCoordinator.
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
playbackCoordinatorIdentifierForPlayerItem(AVPlayerPlaybackCoordinator coordinator,
AVPlayerItem playerItem)
playbackCoordinator:identifierForPlayerItem:
|
default java.lang.String playbackCoordinatorIdentifierForPlayerItem(AVPlayerPlaybackCoordinator coordinator, AVPlayerItem playerItem)
Called by the coordinator to identify AVPlayerItems played by the coordinator's AVPlayer.
Implementing this method allows the coordinator to establish identity of two items created from different URLs, e.g., because one participant is using a local cache and the other a remote URL. If the method is not implemented, the coordinator will derive the identifier from the item's asset.