Android.Provider.DocumentsProvider.IsChildDocument Method
Test if a document is descendant (child, grandchild, etc) from the given parent.

Syntax

[Android.Runtime.Register("isChildDocument", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsChildDocument_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual bool IsChildDocument (string parentDocumentId, string documentId)

Parameters

parentDocumentId
parent to verify against.
documentId
child to verify.

Returns

Documentation for this section has not yet been entered.

Remarks

Test if a document is descendant (child, grandchild, etc) from the given parent. For example, providers must implement this to support Android.Content.Intent.ActionOpenDocumentTree. You should avoid making network requests to keep this request fast.

[Android Documentation]

Requirements

Namespace: Android.Provider
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0