MlKit

public class MlKit extends Object

Public entry point to manually initialize ML Kit.

Public Method Summary

static void
initialize(Context context)
Initializes ML Kit with the given context.

Inherited Method Summary

Public Methods

public static void initialize (Context context)

Initializes ML Kit with the given context.

It is only necessary to call this method if you disable the content provider declared in the manifest. Under normal circumstances the content provider will automatically initialize ML Kit at application startup.

Parameters
context a Context used to initialize ML Kit. This does not have to be the application context itself.