public class AndroidSupport
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Blueprint |
createBlueprint(android.content.Context context)
Creates new
Blueprint . |
static Blueprint |
createBlueprint(android.content.Context context,
RuntimeConfiguration runtimeConfig)
Creates new
Blueprint with custom runtime parameters. |
public static Blueprint createBlueprint(android.content.Context context)
Blueprint
.
This utility function will unpack IDLive Face assets and create a new Blueprint
instance that uses them.
context
- Android's context objectjava.lang.NullPointerException
- if context
is nullIDLiveFaceException
- if any error occured during assets extractionBlueprint(String)
public static Blueprint createBlueprint(android.content.Context context, RuntimeConfiguration runtimeConfig)
Blueprint
with custom runtime parameters.
This utility function will unpack IDLive Face assets and create a new Blueprint
instance that uses them.
context
- Android's context objectruntimeConfig
- runtime configurationjava.lang.NullPointerException
- if any of the parameters is nullIDLiveFaceException
- if any error occured during assets extraction or if the runtime
configuration contains invalid valuesBlueprint(String, RuntimeConfiguration)