public class SensorsDataContentProvider
extends android.content.ContentProvider
构造器和说明 |
---|
SensorsDataContentProvider() |
限定符和类型 | 方法和说明 |
---|---|
int |
bulkInsert(android.net.Uri uri,
android.content.ContentValues[] values) |
int |
delete(android.net.Uri uri,
java.lang.String selection,
java.lang.String[] selectionArgs) |
java.lang.String |
getType(android.net.Uri uri) |
android.net.Uri |
insert(android.net.Uri uri,
android.content.ContentValues values) |
boolean |
onCreate() |
android.database.Cursor |
query(android.net.Uri uri,
java.lang.String[] projection,
java.lang.String selection,
java.lang.String[] selectionArgs,
java.lang.String sortOrder) |
int |
update(android.net.Uri uri,
android.content.ContentValues values,
java.lang.String selection,
java.lang.String[] selectionArgs) |
applyBatch, applyBatch, attachInfo, call, call, canonicalize, clearCallingIdentity, delete, dump, getCallingAttributionSource, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getWritePermission, insert, isTemporary, onCallingPackageChanged, onConfigurationChanged, onLowMemory, onTrimMemory, openAssetFile, openAssetFile, openFile, openFile, openFileHelper, openPipeHelper, openTypedAssetFile, openTypedAssetFile, query, query, refresh, requireContext, restoreCallingIdentity, setPathPermissions, setReadPermission, setWritePermission, shutdown, uncanonicalize, update
public boolean onCreate()
onCreate
在类中 android.content.ContentProvider
public int delete(android.net.Uri uri, java.lang.String selection, java.lang.String[] selectionArgs)
delete
在类中 android.content.ContentProvider
public java.lang.String getType(android.net.Uri uri)
getType
在类中 android.content.ContentProvider
public android.net.Uri insert(android.net.Uri uri, android.content.ContentValues values)
insert
在类中 android.content.ContentProvider
public int bulkInsert(android.net.Uri uri, android.content.ContentValues[] values)
bulkInsert
在类中 android.content.ContentProvider
public android.database.Cursor query(android.net.Uri uri, java.lang.String[] projection, java.lang.String selection, java.lang.String[] selectionArgs, java.lang.String sortOrder)
query
在类中 android.content.ContentProvider
public int update(android.net.Uri uri, android.content.ContentValues values, java.lang.String selection, java.lang.String[] selectionArgs)
update
在类中 android.content.ContentProvider