java.lang.Object | |
↳ | com.hvt.horizonSDK.HorizonSDK |
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
.
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
You need to call this only once in your app's lifetime.
After the SDK has been initialized, you can create aHVTCamera
instance.context | the application context |
---|---|
apiKey | the API key for this app |