newInstance

public static synchronized GiniCapture.Builder newInstance(Context context)

Configure and create a new instance using the returned Builder.

Return

a new Builder

Parameters

context

Android context


public static synchronized GiniCapture.Builder newInstance()

Deprecated

Configure and create a new instance using the returned Builder.

Return

a new Builder

Deprecated

Please use newInstance which allows instance recreation without having to call cleanup first.

Throws

when an instance already exists. Call cleanup before trying to create a new instance