Package | Description |
---|---|
oracle.wsc.android.session |
Session API.
|
Modifier and Type | Method and Description |
---|---|
static WSCSession.Builder |
WSCSession.Builder.create(URI webSocketURI)
Creates a new
WSCSession.Builder . |
WSCSession.Builder |
WSCSession.Builder.withConnectionCallback(WSCSession.ConnectionCallback value)
With connection callback listener.
|
WSCSession.Builder |
WSCSession.Builder.withContext(Object context)
With android application Context.
|
WSCSession.Builder |
WSCSession.Builder.withDeviceToken(String token)
With device token obtained from GCM.
|
WSCSession.Builder |
WSCSession.Builder.withExtHeaders(Map value)
With extension headers which will be sent as part of session connect.
|
WSCSession.Builder |
WSCSession.Builder.withHibernationHandler(HibernationHandler handler)
With hibernation handler.
|
WSCSession.Builder |
WSCSession.Builder.withHttpContext(HttpContext value)
With HTTP context.
|
WSCSession.Builder |
WSCSession.Builder.withIceServerConfig(IceServerConfig config)
With ICE server configuration.
|
WSCSession.Builder |
WSCSession.Builder.withObserver(WSCSession.Observer value)
With observer.
|
WSCSession.Builder |
WSCSession.Builder.withPackage(Package value)
With package.
|
WSCSession.Builder |
WSCSession.Builder.withProperty(String name,
Object value)
With property that allows configuration of various internal behaviors.
|
WSCSession.Builder |
WSCSession.Builder.withServiceAuthHandler(ServiceAuthHandler handler)
With service authentication handler.
|
WSCSession.Builder |
WSCSession.Builder.withSessionId(String value)
With session id.
|
WSCSession.Builder |
WSCSession.Builder.withStateInfo(String stateInfo)
With a StateInfo configuration.
|
WSCSession.Builder |
WSCSession.Builder.withUserName(String value)
With username which will be sent with the session connect message.
|