Skip to content

Commit 268abca

Browse files
committed
Update comment to add href to documentation for MediaElement when setting mediaElement service to true
1 parent a783e5b commit 268abca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/CommunityToolkit.Maui.MediaElement/AppBuilderExtensions.shared.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ public static class AppBuilderExtensions
2121
/// </summary>
2222
/// <param name="builder"><see cref="MauiAppBuilder"/> generated by <see cref="MauiApp"/>.</param>
2323
/// <param name="options"><see cref="MediaElementOptions"/>.</param>
24-
/// <param name="enableForegroundService">Enable Android Foreground Service for MediaElement.</param>
24+
/// <param name="enableForegroundService"> Enable Android Foreground Service for MediaElement.
25+
/// When providing <c>true</c> the required permissions and service must be included in android manifest.
26+
/// For more information, see the <see href=" https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/mediaelement?tabs=android">MediaElement Documentation.</see> for details.
27+
/// </param>
2528
/// <returns><see cref="MauiAppBuilder"/> initialized for <see cref="MediaElement"/>.</returns>
2629
public static MauiAppBuilder UseMauiCommunityToolkitMediaElement(this MauiAppBuilder builder, bool enableForegroundService, Action<MediaElementOptions>? options = null)
2730
{

0 commit comments

Comments
 (0)