语言

SessionConfig.Builder.SetDataNotificationConfig 方法

定义

设置此首选项的数据通知配置。

[Android.Runtime.Register("setDataNotificationConfig", "(Landroid/ranging/DataNotificationConfig;)Landroid/ranging/SessionConfig$Builder;", "", ApiSince=36)]
public Android.Ranging.SessionConfig.Builder SetDataNotificationConfig(Android.Ranging.DataNotificationConfig config);
[<Android.Runtime.Register("setDataNotificationConfig", "(Landroid/ranging/DataNotificationConfig;)Landroid/ranging/SessionConfig$Builder;", "", ApiSince=36)>]
member this.SetDataNotificationConfig : Android.Ranging.DataNotificationConfig -> Android.Ranging.SessionConfig.Builder

参数

config
DataNotificationConfig

要使用的 DataNotificationConfig。 此值不能为 null。

返回

用于链接的生成器实例。 此值不能为 null。

特性

注解

设置此首选项的数据通知配置。

Android 参考。android.ranging.SessionConfig.Builder.setDataNotificationConfig

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

适用于