Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant