public class DefaultAllowSessionRenderOrResize extends java.lang.Object implements AllowSessionRenderOrResize
AllowSessionRenderOrResizethat allows owner and non-owner sessions to render service-side views, but only owner sessions to resize them.
|Constructor and Description|
|Modifier and Type||Method and Description|
Determines if a non-owner collaboration session can render the service-side view; this is
Determines if a non-owner collaboration session can resize the service-side view; this is
public boolean allowRender(java.util.UUID sessionId, java.lang.String viewName)
In other words, normally the client application of
collaboration participants re-renders the views. To change
this default behavior so that the client displays a copy
of the view from the owner session, implement this method
so that it will return
public boolean allowResize(java.util.UUID sessionId, java.lang.String viewName)
In other words, the size of the view on the collaboration host normally
determines the size of the view on the service, and consequently the size
of the view for the collaboration participants. If you want to change
this default behavior so that when a given collaboration participant
resizes the view on the client, the service-side view is also resized,
implement this method so that it will return
© 2010 - 2018 Calgary Scientific Inc. All Rights Reserved.
This documentation shall not wholly or in part, in any form or by any means, electronic, mechanical, including photocopying, be reproduced or transmitted without the authorized, written consent of Calgary Scientific.