|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CallPeerRenderer
The CallPeerRenderer interface is meant to be implemented by different renderers of CallPeers. Through this interface they would could be updated in order to reflect the current state of the CallPeer.
| Method Summary | |
|---|---|
CallPanel |
getCallPanel()
Returns the parent CallPanel containing this renderer. |
CallPeerAdapter |
getCallPeerAdapter()
Returns the call peer adapter that manages all related listeners. |
CallRenderer |
getCallRenderer()
Returns the parent call renderer. |
Component |
getComponent()
Returns the component associated with this renderer. |
UIVideoHandler |
getVideoHandler()
Returns the video handler associated with this call peer renderer. |
boolean |
isLocalVideoVisible()
Indicates if the local video component is currently visible. |
void |
printDTMFTone(char dtmfChar)
Prints the given DTMG character through this CallPeerRenderer. |
void |
securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent securityStartedEvent)
The handler for the security event received. |
void |
securityOff(CallPeerSecurityOffEvent evt)
Indicates that the security is turned off. |
void |
securityOn(CallPeerSecurityOnEvent evt)
Indicates that the security is turned on. |
void |
securityPending()
Indicates that the security status is pending confirmation. |
void |
securityTimeout(CallPeerSecurityTimeoutEvent evt)
Indicates that the security is timeouted, is not supported by the other end. |
void |
setCallPeerAdapter(CallPeerAdapter adapter)
Sets the call peer adapter that manages all related listeners. |
void |
setErrorReason(String reason)
Sets the reason of a call failure if one occurs. |
void |
setLocalVideoVisible(boolean isVisible)
Shows/hides the local video component. |
void |
setMute(boolean isMute)
Sets the mute property value. |
void |
setOnHold(boolean isOnHold)
Sets the "on hold" property value. |
void |
setPeerImage(byte[] image)
Sets the image of the peer. |
void |
setPeerName(String name)
Sets the name of the peer. |
void |
setPeerState(CallPeerState oldState,
CallPeerState newState,
String stateString)
Sets the state of the contained call peer by specifying the state name. |
void |
setSecurityPanelVisible(boolean isVisible)
Shows/hides the security panel. |
| Method Detail |
|---|
void setPeerName(String name)
name - the name of the peervoid setPeerImage(byte[] image)
image - the image to set
void setPeerState(CallPeerState oldState,
CallPeerState newState,
String stateString)
oldState - the previous state of the peernewState - the new state of the peerstateString - the state of the contained call peervoid setErrorReason(String reason)
reason - the reason of the error to setvoid setMute(boolean isMute)
isMute - indicates if the call with this peer is
mutedvoid setOnHold(boolean isOnHold)
isOnHold - indicates if the call with this peer is put on holdvoid securityOn(CallPeerSecurityOnEvent evt)
evt - Details about the event that caused this message.void securityOff(CallPeerSecurityOffEvent evt)
evt - Details about the event that caused this message.void securityPending()
void securityTimeout(CallPeerSecurityTimeoutEvent evt)
evt - Details about the event that caused this message.void securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent securityStartedEvent)
securityStartedEvent - the security started event receivedvoid setCallPeerAdapter(CallPeerAdapter adapter)
adapter - the call peer adapterCallPeerAdapter getCallPeerAdapter()
void printDTMFTone(char dtmfChar)
dtmfChar - the DTMF char to printCallPanel getCallPanel()
CallRenderer getCallRenderer()
Component getComponent()
void setLocalVideoVisible(boolean isVisible)
isVisible - true to show the local video, false -
otherwiseboolean isLocalVideoVisible()
UIVideoHandler getVideoHandler()
void setSecurityPanelVisible(boolean isVisible)
isVisible - true to show the security panel, false
to hide it
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||