Android Question What are the 'RunMethod' parameters for createAudioSampleFormat?

jkhazraji

Active Member
Licensed User
Longtime User
Hi everybody,
Hi @Erel
What are the parameters for 'createAudioSampleFormat' as for 'createTextSampleFormat' in the following code to create an audio resource
B4X:
    Dim format As JavaObject

   format = format.InitializeStatic("com.google.android.exoplayer2.Format").RunMethod("createTextSampleFormat", Array(Null, "application/x-subrip", 1, "en"))
i.e, What is the replacement of
B4X:
Array(Null, "application/x-subrip", 1, "en")
to get an audio resource
Please..
 
Last edited:

jkhazraji

Active Member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…