public class RemonSingleFactory
extends java.lang.Object
Constructor and Description |
---|
RemonSingleFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close Remon object.
|
void |
connectChannel(java.lang.String name)
Same as Remon.connectChannel () method
|
void |
createChannel() |
void |
createChannel(java.lang.String name) |
void |
createRemon(android.content.Context ctx,
Config config,
RemonObserver observer)
Create a Remon object.
|
void |
enableLocalVideo(boolean enable) |
void |
enableRemoteVideo(boolean enable) |
void |
getRemon() |
RemonContext |
getRemonContext() |
java.lang.String |
getRoomId() |
RemonState |
getState()
Can check the current state of the Remon object
|
void |
searchChannels(java.lang.String channelId)
Same as Remon.á…ŸsearchChannels() method
|
void |
sendMessage(java.lang.String msg)
Same as Remon.sendMessage() method
|
void |
sendMessage(java.lang.String code,
java.lang.String msg) |
void |
setMicMute(boolean mute)
Turn your microphone off / on so that the other person can hear or not hear you
|
void |
showLocalVideo()
Same as Remon.showLocalVideo() method
|
void |
softClose() |
void |
switchCamera() |
void |
viewChannel(java.lang.String name) |
public void createRemon(android.content.Context ctx, Config config, RemonObserver observer) throws RemonException
ctx
- config
- observer
- RemonException
public RemonState getState()
public RemonContext getRemonContext()
public void getRemon()
public void connectChannel(java.lang.String name)
name
- public void createChannel(java.lang.String name)
public void createChannel()
public void viewChannel(java.lang.String name)
public void showLocalVideo()
public void enableLocalVideo(boolean enable)
public void enableRemoteVideo(boolean enable)
public void searchChannels(java.lang.String channelId)
public void sendMessage(java.lang.String msg)
public void sendMessage(java.lang.String code, java.lang.String msg)
public void setMicMute(boolean mute)
mute
- public void switchCamera()
public java.lang.String getRoomId()
public void close()
public void softClose()