com.belladati.sdk.user.UserInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-api Show documentation
Show all versions of sdk-api Show documentation
The BellaDati SDK allows accessing a BellaDati server from 3rd-party applications using Java. This project contains the SDK's interface definitions.
package com.belladati.sdk.user;
import java.io.IOException;
import com.belladati.sdk.util.ResourceInfo;
/**
* Information object about a BellaDati user. To retrieve user details, call
* {@link #loadDetails()}.
*
* @author Chris Hennigfeld
*/
public interface UserInfo extends ResourceInfo {
/**
* Returns the user's full display name.
*
* @return the user's full display name
*/
String getName();
/**
* Loads the associated user's profile image. The Java type of the image
* being returned depends on the implementation.
*
* @return the associated user's profile image
* @throws IOException if no image exists or it cannot be loaded
*/
Object loadImage() throws IOException;
}