load_async
Description:
[ Version ( since = "3.14" ) ]
public async bool load_async (int io_priority, Cancellable? cancellable, owned FileProgressCallback? progress_callback) throws Error
public async bool load_async (int io_priority, Cancellable? cancellable, owned FileProgressCallback? progress_callback) throws Error
Loads asynchronously the file or input stream contents into the SourceBuffer .
See the AsyncResult documentation to know how to use this function.
Parameters:
| this | |
| io_priority | |
| cancellable |
optional Cancellable object, |
| progress_callback |
function to call back with progress information, or |
| callback |
a TaskReadyCallback to call when the request is satisfied. |
| progress_callback_data |
user data to pass to |
| progress_callback_notify |
function to call on |
| user_data |
user data to pass to |