Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i use audioswitch from xamarin #1422

Open
michaelonz opened this issue Feb 10, 2023 · 0 comments
Open

How do i use audioswitch from xamarin #1422

michaelonz opened this issue Feb 10, 2023 · 0 comments

Comments

@michaelonz
Copy link

Hi Guys,
Im trying to use audioswitch and cant find a C# example anywhere.

Ive declared this:

var audioswitch = new AudioSwitch(Android.App.Application.Context);

But cant work out how to wireup the start event? Its expecting a Kotlin.jvm.functions2 listener

Does anyone have a simple example that mayselects the front speaker from C# or just how to connect the start would get me going
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant