public class Beta
extends java.lang.Object
Constructor and Description |
---|
Beta() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canEnableManagedPush(android.content.Context context)
Provides a way to check whether Sinch Managed Push functionality is available on this device for this
application.
|
static ManagedPush |
createManagedPush(SinchClient client)
Returns an instance of
ManagedPush that manages registration of push tokens that
enables Sinch Managed Push functionality and allows to receive incoming call via push notifications. |
static void |
setMediaHandoverConfig(SinchClient client,
MediaHandoverConfig config)
Provides a way to override default timeouts governing media handover behavior and call auto-disconnection.
|
public static void setMediaHandoverConfig(SinchClient client, MediaHandoverConfig config)
config
- sets the configurations (timeouts and other settings).client
- reference to Sinch Client, when API is finalized, this reference is to be removed.public static boolean canEnableManagedPush(android.content.Context context)
context
- application context for which availability of necessary system services is checked.public static ManagedPush createManagedPush(SinchClient client) throws java.lang.IllegalThreadStateException
ManagedPush
that manages registration of push tokens that
enables Sinch Managed Push functionality and allows to receive incoming call via push notifications.
All ManagedPush
related callbacks are executed on the thread MangedPush was created on.client
- reference to Sinch Client, when API is finalized, this reference is to be removed.java.lang.IllegalThreadStateException
- if there is no looper associated with the current thread.Copyright 2016, Sinch AB