pub struct AssetResourceLoadingContentInformationRequest { /* private fields */ }Expand description
Re-exports the AVPlayer framework surface for this item.
Implementations§
Source§impl AssetResourceLoadingContentInformationRequest
impl AssetResourceLoadingContentInformationRequest
pub fn content_type(&self) -> Result<Option<String>, AVPlayerError>
pub fn allowed_content_types( &self, ) -> Result<Option<Vec<String>>, AVPlayerError>
pub fn content_length(&self) -> Result<i64, AVPlayerError>
pub fn is_byte_range_access_supported(&self) -> Result<bool, AVPlayerError>
pub fn renewal_date_iso8601(&self) -> Result<Option<String>, AVPlayerError>
pub fn is_entire_length_available_on_demand( &self, ) -> Result<Option<bool>, AVPlayerError>
pub fn set_content_type( &self, content_type: Option<&str>, ) -> Result<(), AVPlayerError>
pub fn set_content_length(&self, content_length: i64)
pub fn set_byte_range_access_supported(&self, supported: bool)
pub fn set_renewal_date_iso8601( &self, value: Option<&str>, ) -> Result<(), AVPlayerError>
pub fn set_entire_length_available_on_demand( &self, available: bool, ) -> Result<(), AVPlayerError>
Trait Implementations§
impl Send for AssetResourceLoadingContentInformationRequest
Auto Trait Implementations§
impl Freeze for AssetResourceLoadingContentInformationRequest
impl RefUnwindSafe for AssetResourceLoadingContentInformationRequest
impl !Sync for AssetResourceLoadingContentInformationRequest
impl Unpin for AssetResourceLoadingContentInformationRequest
impl UnsafeUnpin for AssetResourceLoadingContentInformationRequest
impl UnwindSafe for AssetResourceLoadingContentInformationRequest
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