Compartilhar via


PackageManager.GetSharedLibraries Método

Definição

Sobrecargas

GetSharedLibraries(PackageInstallReason)

Obtenha uma lista de bibliotecas compartilhadas no dispositivo.

GetSharedLibraries(PackageManager+PackageInfoFlags)

GetSharedLibraries(PackageInstallReason)

Obtenha uma lista de bibliotecas compartilhadas no dispositivo.

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

Parâmetros

flags
PackageInstallReason

Para filtrar as bibliotecas a serem retornadas.

Retornos

A lista de bibliotecas compartilhadas.

Atributos

Comentários

Obtenha uma lista de bibliotecas compartilhadas no dispositivo.

Use #getSharedLibraries(PackageInfoFlags) quando sinalizadores longos são necessários.

Documentação Java para android.content.pm.PackageManager.getSharedLibraries(int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a

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>

Parâmetros

Retornos

Atributos

Aplica-se a