Baseflow / ExoPlayerXamarin

Xamarin bindings library for the Google ExoPlayer library

Home Page:https://baseflow.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DefaultBandwidthMeter and AddEventListener

colin-ifit opened this issue · comments

💬 Questions and Help

I just updated from 2.8.8 to 2.11.8.

On 2.8.8 I was able to use this piece of code

var builder = new DefaultBandwidthMeter.Builder (Application.Context);
builder.SetEventListener (new Handler (Looper.MainLooper), externalBandwidthMeterEventListener);

SetEventListener is no longer able to be resolved but it looks like it was changed to addEventListener in the Java Library,

So I assumed I just need to update the above code to use AddEventListener. That isn't able to be resolved either. Is there something I am missing on how to add an event listener? Or is it just not supported in the binding.