public final class

UrbanAirshipProvider

extends ContentProvider
java.lang.Object
   ↳ android.content.ContentProvider
     ↳ com.urbanairship.UrbanAirshipProvider

Class Overview

Manages access to Urban Airship Preferences and Rich Push Message data.

Summary

Constants
String DELETE_ACTION The database delete action that is appended to notification Uri's so we have more information about what changed in the database.
String INSERT_ACTION The database insert action that is appended to notification Uri's so we have more information about what changed in the database.
String KEYS_DELIMITER The key that defines the keys delimiter.
String UPDATE_ACTION The database update action that is appended to notification Uri's so we have more information about what changed in the database.
[Expand]
Inherited Constants
From interface android.content.ComponentCallbacks2
Public Constructors
UrbanAirshipProvider()
Public Methods
int bulkInsert(Uri uri, ContentValues[] values)
int delete(Uri uri, String selection, String[] selectionArgs)
static String getAuthorityString()
Get the package's authority string.
static Uri getPreferencesContentUri()
Creates the preferences URI.
static Uri getRichPushContentUri()
Creates the rich push content URI.
String getType(Uri uri)
Uri insert(Uri uri, ContentValues values)
boolean onCreate()
Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
void shutdown()
int update(Uri uri, ContentValues values, String selection, String[] selectionArgs)
[Expand]
Inherited Methods
From class android.content.ContentProvider
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2

Constants

public static final String DELETE_ACTION

The database delete action that is appended to notification Uri's so we have more information about what changed in the database.

Constant Value: "delete"

public static final String INSERT_ACTION

The database insert action that is appended to notification Uri's so we have more information about what changed in the database.

Constant Value: "insert"

public static final String KEYS_DELIMITER

The key that defines the keys delimiter.

Constant Value: "|"

public static final String UPDATE_ACTION

The database update action that is appended to notification Uri's so we have more information about what changed in the database.

Constant Value: "update"

Public Constructors

public UrbanAirshipProvider ()

Public Methods

public int bulkInsert (Uri uri, ContentValues[] values)

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

public static String getAuthorityString ()

Get the package's authority string.

Returns
  • The authority string.

public static Uri getPreferencesContentUri ()

Creates the preferences URI.

Returns
  • The preferences URI.

public static Uri getRichPushContentUri ()

Creates the rich push content URI.

Returns
  • The rich push content URI.

public String getType (Uri uri)

public Uri insert (Uri uri, ContentValues values)

public boolean onCreate ()

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

public void shutdown ()

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