public class DbxUserAccountRequests
extends java.lang.Object
Constructor and Description |
---|
DbxUserAccountRequests(DbxRawClientV2 client) |
Modifier and Type | Method and Description |
---|---|
SetProfilePhotoResult |
setProfilePhoto(PhotoSourceArg photo)
Sets a user's profile photo.
|
public DbxUserAccountRequests(DbxRawClientV2 client)
public SetProfilePhotoResult setProfilePhoto(PhotoSourceArg photo) throws SetProfilePhotoErrorException, DbxException
photo
- Image to set as the user's new profile photo. Must not be
null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.SetProfilePhotoErrorException
DbxException