Hi ,
We have a set of pods like WebCamera, SimpleChat, Roster,
Note etc. These pod classes support some UI functionalities and
have some minimal default UI with them . We are fully aware that
users might want to build their own pods. All these pod classes
have their sharedModels underlying them. These sharedModels handle
sending messages to the server and receiving them and maintaining
the state of the pods.
For e.g. SimpleChat has SimpleChatModel , Note has NoteModel
, Roster uses the UserManager as its model and so on.
You can use the shared Models to build your own pods and own
UI's . The shared models have some basic API's like for chat , It
has history , sending messages to everyone or only to owners,
guests , presenters etc.
If you want to have new features to the model, you can just
subclass the model. Then based on the model, you can build your own
UI's fresh and new.
If you look at the SimpleChatExample in the examples folder,
you will see it just uses the SimpleChatModel and builds a Chat UI
based on a TextInput, TextArea and Buttons and it doesn't use our
SimpleChat pod at all.
Lastly, if you think the pod UI or the pod class we provided
servs your purpose, then you can just use it like in the
DefaultPods example and if you just need minor changes, you can
subclass the pod class itself and then use it.
Hope this helps.
Thanks
Hironmay Basu