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)
UserControllerBuildercontext in interface UserControllerBuildercontext - Must not be null.public UserControllerBuilder userId(java.lang.String userId)
UserControllerBuilderuserId in interface UserControllerBuilderuserId - Must not be null.public UserControllerBuilder applicationKey(java.lang.String applicationKey)
UserControllerBuilderapplicationKey in interface UserControllerBuilderapplicationKey - Must not be null.public UserControllerBuilder environmentHost(java.lang.String environmentHost)
UserControllerBuilderenvironmentHost in interface UserControllerBuilderenvironmentHost - Must not be null.public UserControllerBuilder callbackHandler(CallbackHandler callbackHandler)
UserControllerBuildercallbackHandler in interface UserControllerBuildercallbackHandler - Must not be null.public UserController build()
UserControllerBuilderbuild in interface UserControllerBuilderCopyright 2016, Sinch AB