- 
                    
                    
- All Implemented Interfaces:
 
public class Streem.Companion 
- 
                
                    
                    
- 
                                
                            
                                
Field Summary
Fields Modifier and Type Field Description private final StringEXTRA_EXIT_CODEprivate final StringEXTRA_JOINED_CALL_TIMEprivate final StringEXTRA_ERRORprivate final StringEXIT_CODE_HELPprivate final StringEXIT_CODE_EXITprivate final StringEXIT_CODE_CALL_REJECTEDprivate final StringEXIT_CODE_NOT_ANSWEREDprivate final StringEXIT_CODE_CANCELEDprivate final StringEXIT_CODE_ERRORpublic final static Streem.CompanionINSTANCE 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Streemget()Returns the shared Streem instance. final Streeminitialize(Streem.Configuration configuration)Initializes the Streem SDK. final Unitshutdown()Shuts down the Streem SDK. final StringgetEXTRA_EXIT_CODE()Exit code (as a string) from the Streem experience. final StringgetEXTRA_JOINED_CALL_TIME()The time that the user taps the Join Now button in the Lobby final StringgetEXTRA_ERROR()A Serialized Throwable that may be returned if there is an error after starting the Streem experience. final StringgetEXIT_CODE_HELP()The user exited the Streem experience using the "Help" button. final StringgetEXIT_CODE_EXIT()The user exited the Streem experience using the "Exit" button. final StringgetEXIT_CODE_CALL_REJECTED()The call did not connect because it was rejected by the remote user. final StringgetEXIT_CODE_NOT_ANSWERED()The call was not answered within the timeout period. final StringgetEXIT_CODE_CANCELED()The call was ended by the local user before the remote user answered. final StringgetEXIT_CODE_ERROR()There was an unexpected error. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
get
final Streem get()
Returns the shared Streem instance. Streem.initialize MUST have been called before calling this method.
 
- 
                                        
initialize
final Streem initialize(Streem.Configuration configuration)
Initializes the Streem SDK. Should be called in the Application's
onCreatemethod. 
- 
                                        
getEXTRA_EXIT_CODE
final String getEXTRA_EXIT_CODE()
Exit code (as a string) from the Streem experience.
 
- 
                                        
getEXTRA_JOINED_CALL_TIME
final String getEXTRA_JOINED_CALL_TIME()
The time that the user taps the Join Now button in the Lobby
 
- 
                                        
getEXTRA_ERROR
final String getEXTRA_ERROR()
A Serialized Throwable that may be returned if there is an error after starting the Streem experience.
 
- 
                                        
getEXIT_CODE_HELP
final String getEXIT_CODE_HELP()
The user exited the Streem experience using the "Help" button.
 
- 
                                        
getEXIT_CODE_EXIT
final String getEXIT_CODE_EXIT()
The user exited the Streem experience using the "Exit" button.
 
- 
                                        
getEXIT_CODE_CALL_REJECTED
final String getEXIT_CODE_CALL_REJECTED()
The call did not connect because it was rejected by the remote user.
 
- 
                                        
getEXIT_CODE_NOT_ANSWERED
final String getEXIT_CODE_NOT_ANSWERED()
The call was not answered within the timeout period.
 
- 
                                        
getEXIT_CODE_CANCELED
final String getEXIT_CODE_CANCELED()
The call was ended by the local user before the remote user answered.
 
- 
                                        
getEXIT_CODE_ERROR
final String getEXIT_CODE_ERROR()
There was an unexpected error.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -