RecognitionService.Callback.CallingAttributionSource 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得呼叫應用程式的權限身份。
public virtual Android.Content.AttributionSource CallingAttributionSource { [Android.Runtime.Register("getCallingAttributionSource", "()Landroid/content/AttributionSource;", "GetGetCallingAttributionSourceHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getCallingAttributionSource", "()Landroid/content/AttributionSource;", "GetGetCallingAttributionSourceHandler", ApiSince=31)>]
member this.CallingAttributionSource : Android.Content.AttributionSource
屬性值
呼叫應用程式的權限身份。
- 屬性
備註
取得呼叫應用程式的權限身份。 如果你想將麥克風存取權歸因於呼叫應用程式,可以透過 建立歸因上下文 android.content.Context#createContext(android.content.ContextParams) ,並將此身份傳給 android.content.ContextParams.Builder#setNextAttributionSource(AttributionSource)。
Java 文件 android.speech.RecognitionService.Callback.getCallingAttributionSource()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。