use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class PptResourceCacheActivity method pencil.
public void pencil(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setStrokeColor(new int[] { 99, 99, 99 });
memberState.setCurrentApplianceName(Appliance.PENCIL);
memberState.setStrokeWidth(10);
memberState.setTextSize(10);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class RoomActivity method selector.
public void selector(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setCurrentApplianceName(Appliance.SELECTOR);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class RoomActivity method textArea.
public void textArea(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setStrokeColor(new int[] { 99, 99, 99 });
memberState.setCurrentApplianceName(Appliance.TEXT);
memberState.setStrokeWidth(10);
memberState.setTextSize(10);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class RoomActivity method rectangle.
public void rectangle(MenuItem item) {
logAction();
MemberState memberState = new MemberState();
memberState.setStrokeColor(new int[] { 99, 99, 99 });
memberState.setCurrentApplianceName(Appliance.RECTANGLE);
memberState.setStrokeWidth(10);
memberState.setTextSize(10);
mRoom.setMemberState(memberState);
}
use of com.herewhite.sdk.domain.MemberState in project whiteboard-android by netless-io.
the class RoomTest method testSetMemberState.
public void testSetMemberState() {
MemberState state = new MemberState();
mRoom.setMemberState(state);
verify(mockJsBridgeInterface).callHandler("room.setMemberState", new Object[] { state });
}
Aggregations