Share via


PackageManager.GetSharedLibraries Method

Definition

Overloads

GetSharedLibraries(PackageInstallReason)

Get a list of shared libraries on the device.

GetSharedLibraries(PackageManager+PackageInfoFlags)

GetSharedLibraries(PackageInstallReason)

Get a list of shared libraries on the device.

[Android.Runtime.Register("getSharedLibraries", "(I)Ljava/util/List;", "GetGetSharedLibraries_IHandler", ApiSince=26)]
public abstract System.Collections.Generic.IList<Android.Content.PM.SharedLibraryInfo> GetSharedLibraries (Android.Content.PM.PackageInstallReason flags);
[<Android.Runtime.Register("getSharedLibraries", "(I)Ljava/util/List;", "GetGetSharedLibraries_IHandler", ApiSince=26)>]
abstract member GetSharedLibraries : Android.Content.PM.PackageInstallReason -> System.Collections.Generic.IList<Android.Content.PM.SharedLibraryInfo>

Parameters

flags
PackageInstallReason

To filter the libraries to return.

Returns

The shared library list.

Attributes

Remarks

Get a list of shared libraries on the device.

Use #getSharedLibraries(PackageInfoFlags) when long flags are needed.

Java documentation for android.content.pm.PackageManager.getSharedLibraries(int).

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

GetSharedLibraries(PackageManager+PackageInfoFlags)

[Android.Runtime.Register("getSharedLibraries", "(Landroid/content/pm/PackageManager$PackageInfoFlags;)Ljava/util/List;", "GetGetSharedLibraries_Landroid_content_pm_PackageManager_PackageInfoFlags_Handler", ApiSince=33)]
public virtual System.Collections.Generic.IList<Android.Content.PM.SharedLibraryInfo> GetSharedLibraries (Android.Content.PM.PackageManager.PackageInfoFlags flags);
[<Android.Runtime.Register("getSharedLibraries", "(Landroid/content/pm/PackageManager$PackageInfoFlags;)Ljava/util/List;", "GetGetSharedLibraries_Landroid_content_pm_PackageManager_PackageInfoFlags_Handler", ApiSince=33)>]
abstract member GetSharedLibraries : Android.Content.PM.PackageManager.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.SharedLibraryInfo>
override this.GetSharedLibraries : Android.Content.PM.PackageManager.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.SharedLibraryInfo>

Parameters

Returns

Attributes

Applies to