public class DefaultUserControllerBuilder extends java.lang.Object implements UserControllerBuilder
Constructor and Description |
---|
DefaultUserControllerBuilder() |
Modifier and Type | Method and Description |
---|---|
UserControllerBuilder |
applicationKey(java.lang.String applicationKey)
Sets the application key associated with the UserController.
|
UserController |
build()
Creates the resulting UserController.
|
UserControllerBuilder |
callbackHandler(CallbackHandler callbackHandler)
Sets the callback handler (on a thread with a looper) the UserController will post callbacks on.
|
UserControllerBuilder |
context(android.content.Context context)
Sets the context associated with the UserController.
|
UserControllerBuilder |
environmentHost(java.lang.String environmentHost)
Sets the environment host associated with the UserController.
|
UserControllerBuilder |
userId(java.lang.String userId)
Sets the user id associated with the UserController.
|
public UserControllerBuilder context(android.content.Context context)
UserControllerBuilder
context
in interface UserControllerBuilder
context
- Must not be null.public UserControllerBuilder userId(java.lang.String userId)
UserControllerBuilder
userId
in interface UserControllerBuilder
userId
- Must not be null.public UserControllerBuilder applicationKey(java.lang.String applicationKey)
UserControllerBuilder
applicationKey
in interface UserControllerBuilder
applicationKey
- Must not be null.public UserControllerBuilder environmentHost(java.lang.String environmentHost)
UserControllerBuilder
environmentHost
in interface UserControllerBuilder
environmentHost
- Must not be null.public UserControllerBuilder callbackHandler(CallbackHandler callbackHandler)
UserControllerBuilder
callbackHandler
in interface UserControllerBuilder
callbackHandler
- Must not be null.public UserController build()
UserControllerBuilder
build
in interface UserControllerBuilder
Copyright 2016, Sinch AB