语言

View.IsImportantForContentCapture 属性

定义

根据内容捕获时显式设置 #setImportantForContentCapture(int) 的值和启发式 #IMPORTANT_FOR_CONTENT_CAPTURE_AUTO值,提示 Android 系统是否将此视图视为重要的内容捕获。

public bool IsImportantForContentCapture { [Android.Runtime.Register("isImportantForContentCapture", "()Z", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isImportantForContentCapture", "()Z", "", ApiSince=30)>]
member this.IsImportantForContentCapture : bool

属性值

视图是否被视为对内容捕获很重要。

特性

注解

根据内容捕获时显式设置 #setImportantForContentCapture(int) 的值和启发式 #IMPORTANT_FOR_CONTENT_CAPTURE_AUTO值,提示 Android 系统是否将此视图视为重要的内容捕获。

有关内容捕获的详细信息,请参阅 ContentCaptureManager 。

Java文档android.view.View.isImportantForContentCapture()。

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

适用于