The methods of Android.Content.ContentProvider are listed below. For a list of all members, see the ContentProvider Members list.
See Also: Inherited members from Java.Lang.Object
ApplyBatch(IList<ContentProviderOperation>)Documentation for this section has not yet been entered. | ||
AttachInfo(Context, Android.Content.PM.ProviderInfo)After being instantiated, this is called to tell the content provider about itself. | ||
BulkInsert(Android.Net.Uri, ContentValues[])Override this to handle requests to insert a set of new rows, or the default implementation will iterate over the values and call ContentProvider.Insert(Android.Net.Uri, Android.Content.ContentValues) on each of them. | ||
Call(string, string, Android.OS.Bundle)Call a provider-defined method. | ||
Canonicalize(Android.Net.Uri)Implement this to support canonicalization of URIs that refer to your content provider. | ||
abstract | Delete(Android.Net.Uri, string, string[])Implement this to handle requests to delete one or more rows. | |
Dump(Java.IO.FileDescriptor, Java.IO.PrintWriter, string[])Print the Provider's state into the given stream. | ||
DumpAsync(Java.IO.FileDescriptor, Java.IO.PrintWriter, string[])Documentation for this section has not yet been entered. | ||
GetPathPermissions()Return the path-based permissions required for read and/or write access to this content provider. | ||
GetStreamTypes(Android.Net.Uri, string)Called by a client to determine the types of data streams that this content provider supports for the given URI. | ||
abstract | GetType(Android.Net.Uri)Implement this to handle requests for the MIME type of the data at the given URI. | |
abstract | Insert(Android.Net.Uri, ContentValues)Implement this to handle requests to insert a new row. | |
OnConfigurationChanged(Android.Content.Res.Configuration)Called by the system when the device configuration changes while your component is running. | ||
abstract | OnCreate()Implement this to initialize your content provider on startup. | |
OnLowMemory()This is called when the overall system is running low on memory, and actively running processes should trim their memory usage. | ||
OnTrimMemory(TrimMemory)Called when the operating system has determined that it is a good time for a process to trim unneeded memory from its process. | ||
OpenAssetFile(Android.Net.Uri, string)This is like ContentProvider.OpenFile(Android.Net.Uri, System.String), but can be implemented by providers that need to be able to return sub-sections of files, often assets inside of their .apk. | ||
OpenAssetFile(Android.Net.Uri, string, Android.OS.CancellationSignal)This is like ContentProvider.OpenFile(Android.Net.Uri, System.String), but can be implemented by providers that need to be able to return sub-sections of files, often assets inside of their .apk. | ||
OpenFile(Android.Net.Uri, string)Override this to handle requests to open a file blob. | ||
OpenFile(Android.Net.Uri, string, Android.OS.CancellationSignal)Override this to handle requests to open a file blob. | ||
OpenPipeHelper(Android.Net.Uri, string, Android.OS.Bundle, Java.Lang.Object, ContentProvider.IPipeDataWriter)Documentation for this section has not yet been entered. | ||
OpenTypedAssetFile(Android.Net.Uri, string, Android.OS.Bundle)Called by a client to open a read-only stream containing data of a particular MIME type. | ||
OpenTypedAssetFile(Android.Net.Uri, string, Android.OS.Bundle, Android.OS.CancellationSignal)Called by a client to open a read-only stream containing data of a particular MIME type. | ||
abstract | Query(Android.Net.Uri, string[], string, string[], string)Implement this to handle query requests from clients. | |
Query(Android.Net.Uri, string[], string, string[], string, Android.OS.CancellationSignal)Implement this to handle query requests from clients with support for cancellation. | ||
Shutdown()Implement this to shut down the ContentProvider instance. | ||
Uncanonicalize(Android.Net.Uri)Remove canonicalization from canonical URIs previously returned by ContentProvider.Canonicalize(Android.Net.Uri). | ||
abstract | Update(Android.Net.Uri, ContentValues, string, string[])Implement this to handle requests to update one or more rows. |
OpenFileHelper(Android.Net.Uri, string)Convenience for subclasses that wish to implement ContentProvider.OpenFile(Android.Net.Uri, System.String) by looking up a column named "_data" at the given URI. | ||
SetPathPermissions(Android.Content.PM.PathPermission[])Change the path-based permission required to read and/or write data in the content provider. | ||
SetReadPermission(string)Documentation for this section has not yet been entered. | ||
SetWritePermission(string)Documentation for this section has not yet been entered. |