Skip to content

[Feature] Clarify that toast Audio doesn't support full C:/ pathsΒ #4315

@andrewleader

Description

@andrewleader

Describe the problem this feature would solve

Toasts don't support audio paths that are full paths like C:/... or F:/..., they only support ms-resource and ms-appx. But the comment on AddAudio doesn't explain this, and it doesn't throw an exception either.

Describe the solution

  1. Add info to the AddAudio method comment that clarifies what URIs are supported.
  2. Throw an exception if an invalid URI is added.

Describe alternatives you've considered

Additional context & Screenshots

Metadata

Metadata

Assignees

Labels

feature request πŸ“¬A request for new changes to improve functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions