FlashChat and iPhone SDK
Hi
I joined same chat room from iPhone client and Flash Client. (using flashchat demo and realtime obj c demo)
How can I send data from iPhone Client to Flash Chat Demo ?
Flash uses to get:
Xcode to send (also get)?
I joined same chat room from iPhone client and Flash Client. (using flashchat demo and realtime obj c demo)
How can I send data from iPhone Client to Flash Chat Demo ?
Flash uses to get:
case ChatEvent.TYPE: debug("actor"+mActorNo+" got Photon Event: custom!"); debug("=> actor who sent message:"+(event as ChatEvent).getActorNo()); debug("=> message:"+(event as ChatEvent).getMessage()); printChatLine("actor"+(event as ChatEvent).getActorNo(), (event as ChatEvent).getMessage()); break;
Xcode to send (also get)?
[m_pLitePeer opCustom..... or any else ???
0
Comments
-
There is a sample in the iOS (iPhone) SDK that also uses raise event. Please have a look at it.
Our objC developer is on well deserved vacation for this week.0 -
Hi. Back from vacation now.
Sending:
You can use PhotonPeer::opCustom() therefor, but it will be simpler to just use LitePeer::opRaiseEvent().
Receiving:
You will receive events in PhotonListener::eventAction().0