메소드 | 설명 | |
---|---|---|
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.
|
|
GetTopCategories ( int categoryThumbnailsCount, string continuationToken = null ) : Task
|
Retrieves top categories with thumbnails.
|
|
PhotoDummyService ( ) : System |
Intialize static sample data for Categories, Users, Photos, Annotations and Leaderboards for using dummy service.
|
|
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. The user is not actively taken to a login page.
|
|
SignInAsync ( MobileServiceAuthenticationProvider provider ) : System.Threading.Tasks.Task |
Signs the user in.
|
|
SignOutAsync ( ) : System.Threading.Tasks.Task |
Signs the user out.
|
|
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.
|
메소드 | 설명 | |
---|---|---|
GetWaitTime ( ) : System.TimeSpan | ||
InitAnnotations ( ) : void | ||
InitCategories ( ) : void | ||
InitLeaderboardData ( ) : void | ||
InitPhotoStreams ( ) : void | ||
InitSampleUsers ( ) : void | ||
InitTopCategories ( ) : void | ||
InitUser ( ) : void | ||
SimulateWaitAndError ( ) : System.Threading.Tasks.Task |
Simulates an error in every second call. Can be disabled by setting IsErrorSimulationEnabled variable to false.
|
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. | |
리턴 | System.Threading.Tasks.Task |
public ReportPhoto ( |
||
photo | The photo. | |
reportReason | ReportReason | The reason for the report. |
리턴 | System.Threading.Tasks.Task |
public RestoreSignInStatusAsync ( ) : System.Threading.Tasks.Task | ||
리턴 | System.Threading.Tasks.Task |
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 |