SearchRecentSuggestionsProvider SearchRecentSuggestionsProvider Class

Definition

This superclass can be used to create a simple search suggestions provider for your application.

[Android.Runtime.Register("android/content/SearchRecentSuggestionsProvider", ApiSince=1, DoNotGenerateAcw=true)]
public class SearchRecentSuggestionsProvider : Android.Content.ContentProvider
type SearchRecentSuggestionsProvider = class
    inherit ContentProvider
Inheritance
SearchRecentSuggestionsProviderSearchRecentSuggestionsProvider
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

SearchRecentSuggestionsProvider() SearchRecentSuggestionsProvider()
SearchRecentSuggestionsProvider(IntPtr, JniHandleOwnership) SearchRecentSuggestionsProvider(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

CallingPackage CallingPackage

Return the package name of the caller that initiated the request being processed on the current thread.

(Inherited from ContentProvider)
Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Context Context

Retrieves the Context this provider is running in.

(Inherited from ContentProvider)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
IsTemporary IsTemporary

Returns true if this instance is a temporary content provider.

(Inherited from ContentProvider)
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
PeerReference PeerReference Inherited from Object
ReadPermission ReadPermission

Return the name of the permission required for read-only access to this content provider.

(Inherited from ContentProvider)
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

WritePermission WritePermission

Return the name of the permission required for read/write access to this content provider.

(Inherited from ContentProvider)

Methods

ApplyBatch(IList<ContentProviderOperation>) ApplyBatch(IList<ContentProviderOperation>) Inherited from ContentProvider
AttachInfo(Context, ProviderInfo) AttachInfo(Context, ProviderInfo)

After being instantiated, this is called to tell the content provider about itself.

(Inherited from ContentProvider)
BulkInsert(Uri, ContentValues[]) BulkInsert(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 Insert(Uri, ContentValues) on each of them.

(Inherited from ContentProvider)
Call(String, String, Bundle) Call(String, String, Bundle)

Call a provider-defined method.

(Inherited from ContentProvider)
Canonicalize(Uri) Canonicalize(Uri)

Implement this to support canonicalization of URIs that refer to your content provider.

(Inherited from ContentProvider)
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
Delete(Uri, String, String[]) Delete(Uri, String, String[])

This method is provided for use by the ContentResolver.

Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Dump(FileDescriptor, PrintWriter, String[]) Dump(FileDescriptor, PrintWriter, String[])

Print the Provider's state into the given stream.

(Inherited from ContentProvider)
DumpAsync(FileDescriptor, PrintWriter, String[]) DumpAsync(FileDescriptor, PrintWriter, String[]) Inherited from ContentProvider
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetPathPermissions() GetPathPermissions()

Return the path-based permissions required for read and/or write access to this content provider.

(Inherited from ContentProvider)
GetStreamTypes(Uri, String) GetStreamTypes(Uri, String)

Called by a client to determine the types of data streams that this content provider supports for the given URI.

(Inherited from ContentProvider)
GetType(Uri) GetType(Uri)

This method is provided for use by the ContentResolver.

Insert(Uri, ContentValues) Insert(Uri, ContentValues)

This method is provided for use by the ContentResolver.

JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
OnConfigurationChanged(Configuration) OnConfigurationChanged(Configuration)

Called by the system when the device configuration changes while your component is running.

(Inherited from ContentProvider)
OnCreate() OnCreate()

This method is provided for use by the ContentResolver.

OnLowMemory() OnLowMemory()

This is called when the overall system is running low on memory, and actively running processes should trim their memory usage.

(Inherited from ContentProvider)
OnTrimMemory(TrimMemory) 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.

(Inherited from ContentProvider)
OpenAssetFile(Uri, String) OpenAssetFile(Uri, String)

This is like OpenFile(Uri, String), but can be implemented by providers that need to be able to return sub-sections of files, often assets inside of their .apk.

(Inherited from ContentProvider)
OpenAssetFile(Uri, String, CancellationSignal) OpenAssetFile(Uri, String, CancellationSignal)

This is like OpenFile(Uri, String), but can be implemented by providers that need to be able to return sub-sections of files, often assets inside of their .apk.

(Inherited from ContentProvider)
OpenFile(Uri, String) OpenFile(Uri, String)

Override this to handle requests to open a file blob.

(Inherited from ContentProvider)
OpenFile(Uri, String, CancellationSignal) OpenFile(Uri, String, CancellationSignal)

Override this to handle requests to open a file blob.

(Inherited from ContentProvider)
OpenFileHelper(Uri, String) OpenFileHelper(Uri, String)

Convenience for subclasses that wish to implement OpenFile(Uri, String) by looking up a column named "_data" at the given URI.

(Inherited from ContentProvider)
OpenPipeHelper(Uri, String, Bundle, Object, ContentProvider+IPipeDataWriter) OpenPipeHelper(Uri, String, Bundle, Object, ContentProvider+IPipeDataWriter) Inherited from ContentProvider
OpenTypedAssetFile(Uri, String, Bundle) OpenTypedAssetFile(Uri, String, Bundle)

Called by a client to open a read-only stream containing data of a particular MIME type.

(Inherited from ContentProvider)
OpenTypedAssetFile(Uri, String, Bundle, CancellationSignal) OpenTypedAssetFile(Uri, String, Bundle, CancellationSignal)

Called by a client to open a read-only stream containing data of a particular MIME type.

(Inherited from ContentProvider)
Query(Uri, String[], Bundle, CancellationSignal) Query(Uri, String[], Bundle, CancellationSignal) Inherited from ContentProvider
Query(Uri, String[], String, String[], String) Query(Uri, String[], String, String[], String)

This method is provided for use by the ContentResolver.

Query(Uri, String[], String, String[], String, CancellationSignal) Query(Uri, String[], String, String[], String, CancellationSignal)

Implement this to handle query requests from clients with support for cancellation.

(Inherited from ContentProvider)
Refresh(Uri, Bundle, CancellationSignal) Refresh(Uri, Bundle, CancellationSignal) Inherited from ContentProvider
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetPathPermissions(PathPermission[]) SetPathPermissions(PathPermission[])

Change the path-based permission required to read and/or write data in the content provider.

(Inherited from ContentProvider)
SetReadPermission(String) SetReadPermission(String) Inherited from ContentProvider
SetupSuggestions(String, DatabaseMode) SetupSuggestions(String, DatabaseMode)

In order to use this class, you must extend it, and call this setup function from your constructor.

SetWritePermission(String) SetWritePermission(String) Inherited from ContentProvider
Shutdown() Shutdown()

Implement this to shut down the ContentProvider instance.

(Inherited from ContentProvider)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
Uncanonicalize(Uri) Uncanonicalize(Uri)

Remove canonicalization from canonical URIs previously returned by Canonicalize(Uri).

(Inherited from ContentProvider)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Update(Uri, ContentValues, String, String[]) Update(Uri, ContentValues, String, String[])

This method is provided for use by the ContentResolver.

Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to