Sdílet prostřednictvím


DocumentsProvider.EjectRoot(String) Method

Definition

Ejects the root.

[Android.Runtime.Register("ejectRoot", "(Ljava/lang/String;)V", "GetEjectRoot_Ljava_lang_String_Handler", ApiSince=26)]
public virtual void EjectRoot (string? rootId);
[<Android.Runtime.Register("ejectRoot", "(Ljava/lang/String;)V", "GetEjectRoot_Ljava_lang_String_Handler", ApiSince=26)>]
abstract member EjectRoot : string -> unit
override this.EjectRoot : string -> unit

Parameters

rootId
String

the root to be ejected.

Attributes

Remarks

Ejects the root. Throws IllegalStateException if ejection failed.

Java documentation for android.provider.DocumentsProvider.ejectRoot(java.lang.String).

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