RestrictionsManager.NotifyPermissionResponse 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
被限制提供者召喚,負責回應一個申請。
[Android.Runtime.Register("notifyPermissionResponse", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "GetNotifyPermissionResponse_Ljava_lang_String_Landroid_os_PersistableBundle_Handler")]
public virtual void NotifyPermissionResponse(string? packageName, Android.OS.PersistableBundle? response);
[<Android.Runtime.Register("notifyPermissionResponse", "(Ljava/lang/String;Landroid/os/PersistableBundle;)V", "GetNotifyPermissionResponse_Ljava_lang_String_Landroid_os_PersistableBundle_Handler")>]
abstract member NotifyPermissionResponse : string * Android.OS.PersistableBundle -> unit
override this.NotifyPermissionResponse : string * Android.OS.PersistableBundle -> unit
參數
- packageName
- String
應用程式將回應送達。 不可為空值。
- response
- PersistableBundle
包含回應狀態、請求 ID 及其他資訊的套件。 不可為空值。
- 屬性
例外狀況
如果缺少任何必要的參數。
備註
被限制提供者召喚,負責回應一個申請。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。