create

fun create(activityContext: Context, settings: MiSnapSettings): MiSnapController

Factory method for creating a MiSnapController instance.

Parameters

activityContext

NOTE: This must be an Activity's Context, not an Application's Context.

settings

The configuration object to use on the session.

Throws

If the combination of settings can't resolve into a valid instance.