Condividi tramite


JetPlayer.LoadJetFile Method

Definition

Overloads

LoadJetFile(AssetFileDescriptor)

Loads a .

LoadJetFile(String)

Loads a .

LoadJetFile(AssetFileDescriptor)

Loads a .

[Android.Runtime.Register("loadJetFile", "(Landroid/content/res/AssetFileDescriptor;)Z", "GetLoadJetFile_Landroid_content_res_AssetFileDescriptor_Handler")]
public virtual bool LoadJetFile (Android.Content.Res.AssetFileDescriptor? afd);
[<Android.Runtime.Register("loadJetFile", "(Landroid/content/res/AssetFileDescriptor;)Z", "GetLoadJetFile_Landroid_content_res_AssetFileDescriptor_Handler")>]
abstract member LoadJetFile : Android.Content.Res.AssetFileDescriptor -> bool
override this.LoadJetFile : Android.Content.Res.AssetFileDescriptor -> bool

Parameters

afd
AssetFileDescriptor

the asset file descriptor.

Returns

true if loading the .jet file was successful, false if loading failed.

Attributes

Remarks

Loads a .jet file from an asset file descriptor.

Java documentation for android.media.JetPlayer.loadJetFile(android.content.res.AssetFileDescriptor).

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

LoadJetFile(String)

Loads a .

[Android.Runtime.Register("loadJetFile", "(Ljava/lang/String;)Z", "GetLoadJetFile_Ljava_lang_String_Handler")]
public virtual bool LoadJetFile (string? path);
[<Android.Runtime.Register("loadJetFile", "(Ljava/lang/String;)Z", "GetLoadJetFile_Ljava_lang_String_Handler")>]
abstract member LoadJetFile : string -> bool
override this.LoadJetFile : string -> bool

Parameters

path
String

the path to the .jet file, for instance "/sdcard/mygame/music.jet".

Returns

true if loading the .jet file was successful, false if loading failed.

Attributes

Remarks

Loads a .jet file from a given path.

Java documentation for android.media.JetPlayer.loadJetFile(java.lang.String).

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