pub struct AssetDownloadTask { /* private fields */ }Expand description
Re-exports the AVPlayer framework surface for this item.
Implementations§
Source§impl AssetDownloadTask
impl AssetDownloadTask
pub fn task_identifier(&self) -> Result<usize, AVPlayerError>
pub fn url_asset_url(&self) -> Result<Option<String>, AVPlayerError>
pub fn state(&self) -> Result<AssetDownloadTaskState, AVPlayerError>
pub fn loaded_time_ranges(&self) -> Result<Vec<TimeRange>, AVPlayerError>
pub fn resume(&self)
pub fn suspend(&self)
pub fn cancel(&self)
Trait Implementations§
Source§impl Debug for AssetDownloadTask
impl Debug for AssetDownloadTask
Source§impl Drop for AssetDownloadTask
impl Drop for AssetDownloadTask
Auto Trait Implementations§
impl Freeze for AssetDownloadTask
impl RefUnwindSafe for AssetDownloadTask
impl !Send for AssetDownloadTask
impl !Sync for AssetDownloadTask
impl Unpin for AssetDownloadTask
impl UnsafeUnpin for AssetDownloadTask
impl UnwindSafe for AssetDownloadTask
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more