Language

AttributionSource.Builder.SetPackageName(String) Method

Definition

The package that is accessing the permission protected data.

[Android.Runtime.Register("setPackageName", "(Ljava/lang/String;)Landroid/content/AttributionSource$Builder;", "", ApiSince=31)]
public Android.Content.AttributionSource.Builder SetPackageName(string? value);
[<Android.Runtime.Register("setPackageName", "(Ljava/lang/String;)Landroid/content/AttributionSource$Builder;", "", ApiSince=31)>]
member this.SetPackageName : string -> Android.Content.AttributionSource.Builder

Parameters

value
String

This value may be null .

Returns

This value cannot be null .

Attributes

Remarks

The package that is accessing the permission protected data.

Java documentation for android.content.AttributionSource.Builder.setPackageName(java.lang.String).

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