Reputation: 5
i have written a MAUI .NET 6 application and i want to create a new entry in my contactlist.
Earlier u can use the methode Microsoft.Maui.Essentials.Contacts.AddContactAsync. But now the namespace Microsoft.Maui.Essentials is replaced by some others (How to use Microsoft.Maui.Essentials?) and i can not find any method to save a new contact.
Has anyone an idea in which namespace this function is placed today?
Thanks for ur help!
Upvotes: 0
Views: 560
Reputation: 10156
Please be noted that the new namespaces are documented in the Migrating to RC1 page.
And the new namespace that is related with Conatct is Microsoft.Maui.ApplicationModel.Communication
. You can go through:https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/communication/contacts?view=net-maui-6.0&tabs=android for more details.
Upvotes: 0