public class ConnectionResult
extends java.lang.Object
implements android.os.Parcelable
CloudStorage connection result| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ConnectionResult> |
CREATOR |
| Constructor and Description |
|---|
ConnectionResult(boolean connected,
CloudStorage cloudStorage,
java.lang.String accountName)
Creates instance of event
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.String |
getAccountName() |
CloudStorage |
getCloudStorage() |
boolean |
isConnected() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static android.os.Parcelable.Creator<ConnectionResult> CREATOR
public ConnectionResult(boolean connected,
CloudStorage cloudStorage,
java.lang.String accountName)
connected - true if storage connected, else - otherwisecloudStorage - CloudStorageaccountName - CloudStorage account namepublic boolean isConnected()
true if CloudStorage successfully connected, false - otherwisepublic CloudStorage getCloudStorage()
CloudStoragepublic java.lang.String getAccountName()
CloudStorage account namepublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable