PackageManager.GetSharedLibraries 方法

定义

重载

GetSharedLibraries(PackageInstallReason)

获取设备上的共享库列表。

GetSharedLibraries(PackageManager+PackageInfoFlags)

GetSharedLibraries(PackageInstallReason)

获取设备上的共享库列表。

[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>

参数

flags
PackageInstallReason

筛选要返回的库。

返回

共享库列表。

属性

注解

获取设备上的共享库列表。

需要长标志时使用 #getSharedLibraries(PackageInfoFlags)

适用于 . 的 android.content.pm.PackageManager.getSharedLibraries(int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

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>

参数

返回

属性

适用于