Android.Test.Mock.MockPackageManager.GetPackageGids Method
Return an array of all of the secondary group-ids that have been assigned to a package.

Syntax

[Android.Runtime.Register("getPackageGids", "(Ljava/lang/String;)[I", "GetGetPackageGids_Ljava_lang_String_Handler")]
public override int[] GetPackageGids (string packageName)

Parameters

packageName
The full name (i.e. com.google.apps.contacts) of the desired package.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:android/content/pm/PackageManager$NameNotFoundException;Href=../../../../reference/android/content/pm/PackageManager.NameNotFoundException.html

Remarks

Return an array of all of the secondary group-ids that have been assigned to a package.

Throws NoType:android/content/pm/PackageManager$NameNotFoundException;Href=../../../../reference/android/content/pm/PackageManager.NameNotFoundException.html if a package with the given name cannot be found on the system.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1