ServiceLoader.LoadInstalled(Class) Method

Definition

Creates a new service loader for the given service type, using the extension class loader.

[Android.Runtime.Register("loadInstalled", "(Ljava/lang/Class;)Ljava/util/ServiceLoader;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "S" })]
public static Java.Util.ServiceLoader? LoadInstalled (Java.Lang.Class? service);
[<Android.Runtime.Register("loadInstalled", "(Ljava/lang/Class;)Ljava/util/ServiceLoader;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "S" })>]
static member LoadInstalled : Java.Lang.Class -> Java.Util.ServiceLoader

Parameters

service
Class

The interface or abstract class representing the service

Returns

ServiceLoader

A new service loader

Attributes

Remarks

Java documentation for java.util.ServiceLoader.loadInstalled(java.lang.Class<S>).

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