ContentCaptureSession.ContentCaptureVersion 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此時段啟用內容擷取版本。
public abstract Android.Views.ContentCaptures.ContentCaptureSessionVersion ContentCaptureVersion { [Android.Runtime.Register("getContentCaptureVersion", "()I", "GetGetContentCaptureVersionHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getContentCaptureVersion", "()I", "GetGetContentCaptureVersionHandler", ApiSince=37)>]
member this.ContentCaptureVersion : Android.Views.ContentCaptures.ContentCaptureSessionVersion
屬性值
啟用版本,VERSION_1或VERSION_2。 若回傳版本未VERSION_1,則呼叫版本 1 的方法為 no-ops;若返回版本未被VERSION_2,則呼叫 Version 2 方法為 no-ops。 Value 為下列之一: Version1; Version2
- 屬性
備註
此時段啟用內容擷取版本。
ContentCaptureSession 提供兩個版本:VERSION_1(利用 ViewStructure 進行舊有事件式擷取)和 VERSION_2(更精簡、以緩衝區為基礎的擷取,專注於文字與邊界框)。
回傳版本由協調此 ContentCaptureSession 的系統情報服務決定。
Android 參考資料。android.view.contentcapture.ContentCaptureSession.getContentCaptureVersion
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。