SocialInfoProviderManager SocialInfoProviderManager SocialInfoProviderManager SocialInfoProviderManager Class

Definition

Provides functionality for an app to use social media extensibility.

public : static class SocialInfoProviderManagerpublic static class SocialInfoProviderManagerPublic Static Class SocialInfoProviderManager// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0) Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduced v1)

Remarks

This is a static class.

Methods

CreateDashboardItemUpdaterAsync(String) CreateDashboardItemUpdaterAsync(String) CreateDashboardItemUpdaterAsync(String) CreateDashboardItemUpdaterAsync(String)

Creates a new SocialDashboardItemUpdater object that can be used as a task.

public : static IAsyncOperation<SocialDashboardItemUpdater> CreateDashboardItemUpdaterAsync(PlatForm::String ownerRemoteId)public static IAsyncOperation<SocialDashboardItemUpdater> CreateDashboardItemUpdaterAsync(String ownerRemoteId)Public Static Function CreateDashboardItemUpdaterAsync(ownerRemoteId As String) As IAsyncOperation( Of SocialDashboardItemUpdater )// You can use this method in JavaScript.
Parameters
ownerRemoteId
PlatForm::String String String String

The ID that identifies the user on the provider's system.

Returns

CreateSocialFeedUpdaterAsync(SocialFeedKind, SocialFeedUpdateMode, String) CreateSocialFeedUpdaterAsync(SocialFeedKind, SocialFeedUpdateMode, String) CreateSocialFeedUpdaterAsync(SocialFeedKind, SocialFeedUpdateMode, String) CreateSocialFeedUpdaterAsync(SocialFeedKind, SocialFeedUpdateMode, String)

Creates a new SocialFeedUpdater object that can be used as a task.

public : static IAsyncOperation<SocialFeedUpdater> CreateSocialFeedUpdaterAsync(SocialFeedKind kind, SocialFeedUpdateMode mode, PlatForm::String ownerRemoteId)public static IAsyncOperation<SocialFeedUpdater> CreateSocialFeedUpdaterAsync(SocialFeedKind kind, SocialFeedUpdateMode mode, String ownerRemoteId)Public Static Function CreateSocialFeedUpdaterAsync(kind As SocialFeedKind, mode As SocialFeedUpdateMode, ownerRemoteId As String) As IAsyncOperation( Of SocialFeedUpdater )// You can use this method in JavaScript.
Parameters
kind
SocialFeedKind SocialFeedKind SocialFeedKind SocialFeedKind

The type of the social media feed to create.

ownerRemoteId
PlatForm::String String String String

The ID that identifies the user on the provider's system.

Returns

DeprovisionAsync() DeprovisionAsync() DeprovisionAsync() DeprovisionAsync()

Deprovisions an app from using social media extensibility.

public : static IAsyncAction DeprovisionAsync()public static IAsyncAction DeprovisionAsync()Public Static Function DeprovisionAsync() As IAsyncAction// You can use this method in JavaScript.
Returns

An async action indicating that the operation has completed.

ProvisionAsync() ProvisionAsync() ProvisionAsync() ProvisionAsync()

Provisions the app to use social media extensibility.

public : static IAsyncOperation<PlatForm::Boolean> ProvisionAsync()public static IAsyncOperation<bool> ProvisionAsync()Public Static Function ProvisionAsync() As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Returns

A Boolean value indicating if the operation was successful.

ReportNewContentAvailable(String, SocialFeedKind) ReportNewContentAvailable(String, SocialFeedKind) ReportNewContentAvailable(String, SocialFeedKind) ReportNewContentAvailable(String, SocialFeedKind)

Alerts the system that new social media content is available from this app.

public : static void ReportNewContentAvailable(PlatForm::String contactRemoteId, SocialFeedKind kind)public static void ReportNewContentAvailable(String contactRemoteId, SocialFeedKind kind)Public Static Function ReportNewContentAvailable(contactRemoteId As String, kind As SocialFeedKind) As void// You can use this method in JavaScript.
Parameters
contactRemoteId
PlatForm::String String String String

The ID that identifies the user on the provider's system.

kind
SocialFeedKind SocialFeedKind SocialFeedKind SocialFeedKind

The type of the social media feed.

UpdateBadgeCountValue(String, Int32) UpdateBadgeCountValue(String, Int32) UpdateBadgeCountValue(String, Int32) UpdateBadgeCountValue(String, Int32)

Updates the count value on the lock screen badge.

public : static void UpdateBadgeCountValue(PlatForm::String itemRemoteId, int newCount)public static void UpdateBadgeCountValue(String itemRemoteId, Int32 newCount)Public Static Function UpdateBadgeCountValue(itemRemoteId As String, newCount As Int32) As void// You can use this method in JavaScript.
Parameters
itemRemoteId
PlatForm::String String String String

Identifies the contact on the provider's system.

newCount
int Int32 Int32 Int32

The new count value to display on the badge.