public final class

HorizonSDK

extends Object
java.lang.Object
   ↳ com.hvt.horizonSDK.HorizonSDK

Class Overview

The base class of Horizon SDK.

You just need to call init(Context, String) once.

Some aspects of the SDK can be configured using XML resources. Regarding the styling of the preview, you can read more in HVTView. If you want to change the overlay, read more in setWatermarkEnabled(boolean). If you want to alter the way the crop region is smoothened, read SMOOTH.

Summary

Public Constructors
HorizonSDK()
Public Methods
static void init(Context context, String apiKey)
You need to call this only once in your app's lifetime.
Protected Methods
static boolean initialized()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HorizonSDK ()

Public Methods

public static void init (Context context, String apiKey)

You need to call this only once in your app's lifetime.

After the SDK has been initialized, you can create a HVTCamera instance.

Parameters
context the application context
apiKey the API key for this app

Protected Methods

protected static boolean initialized ()