ContentCaptureContext.ForLocusId(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 ContentCaptureContext 与给定 id关联的帮助程序。
[Android.Runtime.Register("forLocusId", "(Ljava/lang/String;)Landroid/view/contentcapture/ContentCaptureContext;", "", ApiSince=29)]
public static Android.Views.ContentCaptures.ContentCaptureContext ForLocusId(string id);
[<Android.Runtime.Register("forLocusId", "(Ljava/lang/String;)Landroid/view/contentcapture/ContentCaptureContext;", "", ApiSince=29)>]
static member ForLocusId : string -> Android.Views.ContentCaptures.ContentCaptureContext
参数
- id
- String
与新上下文关联的标识符。
返回
与 . 关联的 id上下文。
- 特性
注解
创建 ContentCaptureContext 与给定 id关联的帮助程序。
Java文档android.view.contentcapture.ContentCaptureContext.forLocusId(java.lang.String)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。