Udostępnij za pośrednictwem


AppOpsManager.FinishProxyOp(String, Int32, String, String) Method

Definition

Report that an application is no longer performing an operation that had previously been started with #startProxyOp(String, int, String, String, String).

[Android.Runtime.Register("finishProxyOp", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "GetFinishProxyOp_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=31)]
public virtual void FinishProxyOp (string op, int proxiedUid, string proxiedPackageName, string? proxiedAttributionTag);
[<Android.Runtime.Register("finishProxyOp", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "GetFinishProxyOp_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member FinishProxyOp : string * int * string * string -> unit
override this.FinishProxyOp : string * int * string * string -> unit

Parameters

op
String

The operation which was started

proxiedUid
Int32

The proxied appp's UID

proxiedPackageName
String

The proxied appp's package name

proxiedAttributionTag
String

The proxied appp's attribution tag or null for default attribution

Attributes

Remarks

Report that an application is no longer performing an operation that had previously been started with #startProxyOp(String, int, String, String, String). There is no validation of input or result; the parameters supplied here must be the exact same ones previously passed in when starting the operation.

Java documentation for android.app.AppOpsManager.finishProxyOp(java.lang.String, int, java.lang.String, java.lang.String).

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