/// <summary>
 /// Uploads user picture. Accepted picture formats are .png, .gif and .jpeg and picture will be resized to maximal 150x150 dimensions
 /// </summary>
 /// <param name="stream">Image stream</param>
 /// <returns>true if image is successfully uploaded, false otherwise</returns>
 public async Task <bool> UploadUserPicture(Stream imageStream)
 {
     return(await Countly.UploadUserPicture(imageStream));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Uploads user picture. Accepted picture formats are .png, .gif and .jpeg and picture will be resized to maximal 150x150 dimensions
 /// </summary>
 /// <param name="stream">Image stream</param>
 /// <param name="callback">true if image is successfully uploaded, false otherwise</param>
 public void UploadUserPicture(Stream imageStream, Action <bool> callback)
 {
     Countly.UploadUserPicture(imageStream, callback);
 }