Skip to content

Events for headset connection status. #5000

Closed

Description

@JiuLing-zhang

Description

Could it be add an event to see how the headset is connected and disconnected(include bluetooth headset)?

Public API Changes

Headset.Connected += () =>
{
    audio.Play();
};
Headset.Disconnected += () =>
{
    audio.Stop();
};

Intended Use-Case

In my app I want play music when headphones are connected and stop when disconnected.

Activity

  1. added
    area-essentials
    on Mar 2, 2022
  2. added this to the Future milestone on Mar 23, 2022
  3. Redth commented on Oct 18, 2022

    @Redth
    Member

    Thanks for the suggestion, unfortunately we have no plans to implement this feature.

    This sounds like a good opportunity for a community plugin if the underlying platforms support the API's enough to create an abstraction.

  4. added
    s/not on roadmap
    and removed on Oct 18, 2022
  5. ghost locked as resolved and limited conversation to collaborators on Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-essentialsproposal/not-planneds/not on roadmap

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions