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

How do i use audioswitch from xamarin #1422

@michaelonz

Description

@michaelonz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions