Share via


AppOpsManager.FinishOp Method

Definition

Overloads

FinishOp(String, Int32, String)

This member is deprecated.

FinishOp(String, Int32, String, String)

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

FinishOp(String, Int32, String)

This member is deprecated.

[Android.Runtime.Register("finishOp", "(Ljava/lang/String;ILjava/lang/String;)V", "GetFinishOp_Ljava_lang_String_ILjava_lang_String_Handler")]
public virtual void FinishOp (string op, int uid, string packageName);
[<Android.Runtime.Register("finishOp", "(Ljava/lang/String;ILjava/lang/String;)V", "GetFinishOp_Ljava_lang_String_ILjava_lang_String_Handler")>]
abstract member FinishOp : string * int * string -> unit
override this.FinishOp : string * int * string -> unit

Parameters

op
String
uid
Int32
packageName
String
Attributes

Remarks

This member is deprecated. Use #finishOp(String, int, String, String) instead

Java documentation for android.app.AppOpsManager.finishOp(java.lang.String, int, 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

FinishOp(String, Int32, String, String)

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

[Android.Runtime.Register("finishOp", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "GetFinishOp_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)]
public virtual void FinishOp (string op, int uid, string packageName, string? attributionTag);
[<Android.Runtime.Register("finishOp", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "GetFinishOp_Ljava_lang_String_ILjava_lang_String_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member FinishOp : string * int * string * string -> unit
override this.FinishOp : string * int * string * string -> unit

Parameters

op
String
uid
Int32
packageName
String
attributionTag
String
Attributes

Remarks

Report that an application is no longer performing an operation that had previously been started with #startOp(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.finishOp(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