JetPlayer.LoadJetFileAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| LoadJetFileAsync(String) |
Starts a task that calls the file-path JET load operation. |
| LoadJetFileAsync(AssetFileDescriptor) |
Starts a task that calls the asset-descriptor JET load operation. |
LoadJetFileAsync(String)
Starts a task that calls the file-path JET load operation.
public System.Threading.Tasks.Task<bool> LoadJetFileAsync(string? path);
member this.LoadJetFileAsync : string -> System.Threading.Tasks.Task<bool>
Parameters
- path
- String
The JET file path passed to the native loader.
Returns
A task with the underlying loader's success result; it does not start segment playback.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
LoadJetFileAsync(AssetFileDescriptor)
Starts a task that calls the asset-descriptor JET load operation.
public System.Threading.Tasks.Task<bool> LoadJetFileAsync(Android.Content.Res.AssetFileDescriptor? afd);
member this.LoadJetFileAsync : Android.Content.Res.AssetFileDescriptor -> System.Threading.Tasks.Task<bool>
Parameters
The asset descriptor whose file, start offset and declared length are passed to the JET loader.
Returns
A task with the underlying loader's success result; it does not start segment playback.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.