SdkInitProvider

public final class SdkInitProvider extends ContentProvider

ContentsProviders are initialized and called directly after the application’s object is created. This class creates an instance ofJacquardManagerImpland makes sure that it is accessible viaJacquardManagerwhen the application is launched.

Constructors

Name Description
public SdkInitProvider()

Methods

onCreate

public boolean onCreate()

ReturnValue

Name Description
boolean

query

public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)

Parameters

Name Description
Uri uri
String[] projection
String selection
String[] selectionArgs
String sortOrder

ReturnValue

Name Description
Cursor

getType

public String getType(Uri uri)

Parameters

Name Description
Uri uri

ReturnValue

Name Description
String

insert

public Uri insert(Uri uri, ContentValues values)

Parameters

Name Description
Uri uri
ContentValues values

ReturnValue

Name Description
Uri

delete

public int delete(Uri uri, String selection, String[] selectionArgs)

Parameters

Name Description
Uri uri
String selection
String[] selectionArgs

ReturnValue

Name Description
int

update

public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs)

Parameters

Name Description
Uri uri
ContentValues values
String selection
String[] selectionArgs

ReturnValue

Name Description
int