View.ImportantForContentCapture 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得判斷此視圖是否對內容擷取重要性的方式。
public virtual int ImportantForContentCapture { [Android.Runtime.Register("getImportantForContentCapture", "()I", "GetGetImportantForContentCaptureHandler", ApiSince=30)] get; [Android.Runtime.Register("setImportantForContentCapture", "(I)V", "GetSetImportantForContentCapture_IHandler", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getImportantForContentCapture", "()I", "GetGetImportantForContentCaptureHandler", ApiSince=30)>]
[<set: Android.Runtime.Register("setImportantForContentCapture", "(I)V", "GetSetImportantForContentCapture_IHandler", ApiSince=30)>]
member this.ImportantForContentCapture : int with get, set
屬性值
#IMPORTANT_FOR_CONTENT_CAPTURE_AUTO 預設值,或是傳遞給 #setImportantForContentCapture(int)。
- 屬性
備註
財產取得者文件:
取得判斷此視圖是否對內容擷取重要性的方式。
更多關於此模式的資訊請參見#setImportantForContentCapture(int)#isImportantForContentCapture()。
Java 文件 android.view.View.getImportantForContentCapture()。
屬性設定文件:
設定判斷此視圖是否被視為內容擷取重要性的模式。
平台會自動決定自動填充的重要性,但你可以用這個方法自訂行為。 通常,提供文字的視圖應標記為 #IMPORTANT_FOR_CONTENT_CAPTURE_YES。
Java 文件 android.view.View.setImportantForContentCapture(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。