語言

MockPackageManager.ClearInstantAppCookie 方法

定義

拋出 UnsupportedOperationException。 在測試中覆寫此方法以清除即時應用程式 Cookie。

[Android.Runtime.Register("clearInstantAppCookie", "()V", "GetClearInstantAppCookieHandler", ApiSince=26)]
public override void ClearInstantAppCookie();
[<Android.Runtime.Register("clearInstantAppCookie", "()V", "GetClearInstantAppCookieHandler", ApiSince=26)>]
override this.ClearInstantAppCookie : unit -> unit
屬性

備註

Java 文件 android.test.mock.MockPackageManager.clearInstantAppCookie()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於