语言

ContextParams.Builder.SetNextAttributionSource(AttributionSource) 方法

定义

设置代表你执行工作的应用的归属源。

[Android.Runtime.Register("setNextAttributionSource", "(Landroid/content/AttributionSource;)Landroid/content/ContextParams$Builder;", "", ApiSince=31)]
public Android.Content.ContextParams.Builder SetNextAttributionSource(Android.Content.AttributionSource? next);
[<Android.Runtime.Register("setNextAttributionSource", "(Landroid/content/AttributionSource;)Landroid/content/ContextParams$Builder;", "", ApiSince=31)>]
member this.SetNextAttributionSource : Android.Content.AttributionSource -> Android.Content.ContextParams.Builder

参数

next
AttributionSource

接收应用的权限标识。 此值可以为 null。

返回

此生成器。 此值不能为 null。

属性

注解

设置代表你执行工作的应用的归属源。

Java文档android.content.ContextParams.Builder.setNextAttributionSource(android.content.AttributionSource)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于