Definition at line 23 of file SessionState.java.
◆ SessionState() [1/3]
com.freerdp.freerdpcore.application.SessionState.SessionState |
( |
Parcel |
parcel | ) |
|
|
inline |
Definition at line 43 of file SessionState.java.
44 {
45 instance = parcel.readLong();
46 bookmark = parcel.readParcelable(null);
47 openUri = parcel.readParcelable(null);
48
49 Bitmap bitmap = parcel.readParcelable(null);
50 surface = new BitmapDrawable(bitmap);
51 }
◆ SessionState() [2/3]
com.freerdp.freerdpcore.application.SessionState.SessionState |
( |
long |
instance, |
|
|
BookmarkBase |
bookmark |
|
) |
| |
|
inline |
Definition at line 53 of file SessionState.java.
54 {
55 this.instance = instance;
56 this.bookmark = bookmark;
57 this.openUri = null;
58 this.uiEventListener = null;
59 }
◆ SessionState() [3/3]
com.freerdp.freerdpcore.application.SessionState.SessionState |
( |
long |
instance, |
|
|
Uri |
openUri |
|
) |
| |
|
inline |
Definition at line 61 of file SessionState.java.
62 {
63 this.instance = instance;
64 this.bookmark = null;
65 this.openUri = openUri;
66 this.uiEventListener = null;
67 }
◆ connect()
void com.freerdp.freerdpcore.application.SessionState.connect |
( |
Context |
context | ) |
|
|
inline |
Definition at line 69 of file SessionState.java.
70 {
71 if (bookmark != null)
72 {
73 LibFreeRDP.setConnectionInfo(context, instance, bookmark);
74 }
75 else
76 {
77 LibFreeRDP.setConnectionInfo(context, instance, openUri);
78 }
79 LibFreeRDP.connect(instance);
80 }
◆ describeContents()
int com.freerdp.freerdpcore.application.SessionState.describeContents |
( |
| ) |
|
|
inline |
◆ getBookmark()
BookmarkBase com.freerdp.freerdpcore.application.SessionState.getBookmark |
( |
| ) |
|
|
inline |
◆ getInstance()
long com.freerdp.freerdpcore.application.SessionState.getInstance |
( |
| ) |
|
|
inline |
◆ getOpenUri()
Uri com.freerdp.freerdpcore.application.SessionState.getOpenUri |
( |
| ) |
|
|
inline |
◆ getSurface()
BitmapDrawable com.freerdp.freerdpcore.application.SessionState.getSurface |
( |
| ) |
|
|
inline |
◆ getUIEventListener()
LibFreeRDP.UIEventListener com.freerdp.freerdpcore.application.SessionState.getUIEventListener |
( |
| ) |
|
|
inline |
◆ setSurface()
void com.freerdp.freerdpcore.application.SessionState.setSurface |
( |
BitmapDrawable |
surface | ) |
|
|
inline |
◆ setUIEventListener()
void com.freerdp.freerdpcore.application.SessionState.setUIEventListener |
( |
LibFreeRDP.UIEventListener |
uiEventListener | ) |
|
|
inline |
Definition at line 102 of file SessionState.java.
103 {
104 this.uiEventListener = uiEventListener;
105 }
◆ writeToParcel()
void com.freerdp.freerdpcore.application.SessionState.writeToParcel |
( |
Parcel |
out, |
|
|
int |
flags |
|
) |
| |
|
inline |
Definition at line 122 of file SessionState.java.
123 {
124 out.writeLong(instance);
125 out.writeParcelable(bookmark, flags);
126 out.writeParcelable(openUri, flags);
127 out.writeParcelable(surface.getBitmap(), flags);
128 }
◆ CREATOR
final Parcelable.Creator<SessionState> com.freerdp.freerdpcore.application.SessionState.CREATOR |
|
static |
Initial value:=
new Parcelable.Creator<SessionState>() {
public SessionState createFromParcel(Parcel in)
{
return new SessionState(in);
}
{
}
}
Definition at line 25 of file SessionState.java.
26 {
27 public SessionState createFromParcel(Parcel in)
28 {
29 return new SessionState(in);
30 }
31
32 @Override public SessionState[] newArray(int size)
33 {
34 return new SessionState[size];
35 }
36 };
The documentation for this class was generated from the following file: