AppOpsManager.FinishProxyOp(String, Int32, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.