Struct vlc::Media [] [src]

pub struct Media {
    pub ptr: *mut libvlc_media_t,
}

Fields

Methods

impl Media
[src]

[src]

Create a media with a certain given media resource location, for instance a valid URL.

[src]

Create a media for a certain file path.

[src]

[src]

[src]

[src]

Read the meta of the media. If the media has not yet been parsed this will return None.

[src]

Set the meta of the media. (This function will not save the meta, call save_meta in order to save the meta)

[src]

Save the meta previously set.

[src]

Get current state of media descriptor object.

[src]

Get duration (in ms) of media descriptor object item.

[src]

Parse a media.

[src]

Parse a media.

[src]

Get Parsed status for media descriptor object.

[src]

Trait Implementations

impl Drop for Media
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Media

impl !Sync for Media