/** * Sets {@link PlayerBuilder} to build a {@link NoPlayer} which supports Widevine modular download DRM. * * @param downloadedModularDrm Implementation of {@link DownloadedModularDrm}. * @return {@link PlayerBuilder} * @see NoPlayer */ public PlayerBuilder withWidevineModularDownloadDrm(DownloadedModularDrm downloadedModularDrm) { return withDrm(DrmType.WIDEVINE_MODULAR_DOWNLOAD, downloadedModularDrm); }
/** * Sets {@link PlayerBuilder} to build a {@link NoPlayer} which supports Widevine classic DRM. * * @return {@link PlayerBuilder} * @see NoPlayer */ public PlayerBuilder withWidevineClassicDrm() { return withDrm(DrmType.WIDEVINE_CLASSIC, DrmHandler.NO_DRM); }
/** * Sets {@link PlayerBuilder} to build a {@link NoPlayer} which supports Widevine modular streaming DRM. * * @param streamingModularDrm Implementation of {@link StreamingModularDrm}. * @return {@link PlayerBuilder} * @see NoPlayer */ public PlayerBuilder withWidevineModularStreamingDrm(StreamingModularDrm streamingModularDrm) { return withDrm(DrmType.WIDEVINE_MODULAR_STREAM, streamingModularDrm); }