RecognitionService.Callback.CallingAttributionSource Property

Definition

Gets the permission identity of the calling app.

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

Property Value

The permission identity of the calling app.

Attributes

Remarks

Gets the permission identity of the calling app. If you want to attribute the mic access to the calling app you can create an attribution context via android.content.Context#createContext(android.content.ContextParams) and passing this identity to android.content.ContextParams.Builder#setNextAttributionSource(AttributionSource).

Java documentation for android.speech.RecognitionService.Callback.getCallingAttributionSource().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to