Udostępnij za pośrednictwem


ContentProvider.AttachInfo(Context, ProviderInfo) Method

Definition

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

[Android.Runtime.Register("attachInfo", "(Landroid/content/Context;Landroid/content/pm/ProviderInfo;)V", "GetAttachInfo_Landroid_content_Context_Landroid_content_pm_ProviderInfo_Handler")]
public virtual void AttachInfo (Android.Content.Context? context, Android.Content.PM.ProviderInfo? info);
[<Android.Runtime.Register("attachInfo", "(Landroid/content/Context;Landroid/content/pm/ProviderInfo;)V", "GetAttachInfo_Landroid_content_Context_Landroid_content_pm_ProviderInfo_Handler")>]
abstract member AttachInfo : Android.Content.Context * Android.Content.PM.ProviderInfo -> unit
override this.AttachInfo : Android.Content.Context * Android.Content.PM.ProviderInfo -> unit

Parameters

context
Context

The context this provider is running in

info
ProviderInfo

Registered information about this content provider

Attributes

Remarks

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

Java documentation for android.content.ContentProvider.attachInfo(android.content.Context, android.content.pm.ProviderInfo).

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.

Applies to