Метод | Описание | |
---|---|---|
CreateCategory ( string categoryName ) : Task |
Creates a new category.
|
|
DeletePhoto ( |
Deletes the photo.
|
|
FulfillGold ( string productReceipt ) : Task |
Fulfills gold on the service.
|
|
GetAvailableAuthenticationProviders ( ) : List |
Gets the available authentication providers.
|
|
GetCategories ( ) : Task
|
Retrieves all categories without thumbnails.
|
|
GetConfig ( ) : Task |
Gets the configuration data.
|
|
GetCurrentUser ( ) : Task |
Gets the current user.
|
|
GetHeroImages ( int count ) : Task
|
Retrieves hero images.
|
|
GetLeaderboardData ( int mostGoldCategoriesCount, int mostGoldPhotosCount, int mostGoldUsersCount, int mostGivingUsersCount ) : Task |
Gets the leaderboard statistical data
|
|
GetPhotoDetails ( string photoId ) : Task |
Gets the photo details for the given photo id.
|
|
GetPhotosForCategoryId ( string categoryId, string continuationToken = null ) : Task |
Gets photos for the given category id.
|
|
GetPhotosForCurrentUser ( string continuationToken = null ) : Task |
Gets photos uploaded by the current user.
|
|
GetPhotosForUser ( |
Gets photos uploaded by the specified user.
|
|
GetSasUrls ( ) : Task
|
Retrieves SAS Urls for uploading photos.
|
|
GetTopCategories ( int categoryThumbnailsCount, string continuationToken = null ) : Task
|
Retrieves top categories with thumbnails.
|
|
PostAnnotation ( |
Posts the annotation.
|
|
RemoveAnnotation ( |
Removes the Annotation.
|
|
ReportAnnotation ( |
Reports the Annotation as inappropriate.
|
|
ReportPhoto ( |
Reports the photo as inappropriate.
|
|
RestoreSignInStatusAsync ( ) : System.Threading.Tasks.Task |
Checks if credentials are available and not expired, which are then used to restore the sign in status. Registers the user for Push notifications. The user is not actively taken to a login page.
|
|
ServiceClient ( IAuthenticationHandler authenticationHandler ) : System |
Initializes a new instance of the ServiceClient class.
|
|
SignInAsync ( MobileServiceAuthenticationProvider provider ) : System.Threading.Tasks.Task |
Signs the user in and registers the user for Push notifications.
|
|
SignOutAsync ( ) : System.Threading.Tasks.Task |
Signs out user and deletes push notification registration.
|
|
UpdatePhoto ( |
Updates the photo.
|
|
UpdateUserProfilePhoto ( |
Updates the current user's profile photo
|
|
UploadPhoto ( Stream stream, string localPath, string caption, string categoryId ) : Task |
Uploads the photo.
|
Метод | Описание | |
---|---|---|
RegisterForNotifications ( ) : void |
Registers the signed in user on the device for push notifications
|
|
TryGetServiceFault ( string serializedContent ) : |
public CreateCategory ( string categoryName ) : Task |
||
categoryName | string | The category name. |
Результат | Task |
public DeletePhoto ( |
||
photo | The photo. | |
Результат | System.Threading.Tasks.Task |
public FulfillGold ( string productReceipt ) : Task |
||
productReceipt | string | The product receipt. |
Результат | Task |
public GetAvailableAuthenticationProviders ( ) : List |
||
Результат | List |
public GetHeroImages ( int count ) : Task
|
||
count | int | Number of hero images. |
Результат | Task
|
public GetLeaderboardData ( int mostGoldCategoriesCount, int mostGoldPhotosCount, int mostGoldUsersCount, int mostGivingUsersCount ) : Task |
||
mostGoldCategoriesCount | int | |
mostGoldPhotosCount | int | |
mostGoldUsersCount | int | |
mostGivingUsersCount | int | |
Результат | Task |
public GetPhotoDetails ( string photoId ) : Task |
||
photoId | string | The photo identifier. |
Результат | Task |
public GetPhotosForCategoryId ( string categoryId, string continuationToken = null ) : Task |
||
categoryId | string | The identifier. |
continuationToken | string | Optional. The continuation token. By default, null. |
Результат | Task |
public GetPhotosForCurrentUser ( string continuationToken = null ) : Task |
||
continuationToken | string | Optional. The continuation token. By default, null. |
Результат | Task |
public GetPhotosForUser ( |
||
user | The user. | |
continuationToken | string | Optional. The continuation token. By default, null. |
Результат | Task |
public GetTopCategories ( int categoryThumbnailsCount, string continuationToken = null ) : Task
|
||
categoryThumbnailsCount | int | The number of thumbnails per each category. |
continuationToken | string | Optional. The continuation token. By default, null. |
Результат | Task
|
public PostAnnotation ( |
||
photo | The photo. | |
annotationText | string | The text. |
goldCount | int | The amount of gold being given. |
Результат | Task |
public RemoveAnnotation ( |
||
annotation | The Annotation. | |
Результат | System.Threading.Tasks.Task |
public ReportAnnotation ( |
||
annotation | The annotation to report. | |
Результат | System.Threading.Tasks.Task |
public ReportPhoto ( |
||
photo | The photo to report. | |
reportReason | ReportReason | The reason for the report. |
Результат | System.Threading.Tasks.Task |
public RestoreSignInStatusAsync ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public ServiceClient ( IAuthenticationHandler authenticationHandler ) : System | ||
authenticationHandler | IAuthenticationHandler | The authentication handler. |
Результат | System |
public SignInAsync ( MobileServiceAuthenticationProvider provider ) : System.Threading.Tasks.Task | ||
provider | MobileServiceAuthenticationProvider | The provider. |
Результат | System.Threading.Tasks.Task |
public SignOutAsync ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public UpdatePhoto ( |
||
photo | The photo. | |
Результат | System.Threading.Tasks.Task |
public UpdateUserProfilePhoto ( |
||
photo | The new profile photo | |
Результат | Task |
public UploadPhoto ( Stream stream, string localPath, string caption, string categoryId ) : Task |
||
stream | Stream | The memory stream. |
localPath | string | The local path. |
caption | string | The caption. |
categoryId | string | The id of the assocaited category. |
Результат | Task |