語言

IsolatedService.OnBind(Intent) 方法

定義

警告

deprecated

握把會綁定於 IsolatedService。

[Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "GetOnBind_Landroid_content_Intent_Handler", ApiSince=35)]
[System.Obsolete("deprecated")]
public override Android.OS.IBinder? OnBind(Android.Content.Intent intent);
[<Android.Runtime.Register("onBind", "(Landroid/content/Intent;)Landroid/os/IBinder;", "GetOnBind_Landroid_content_Intent_Handler", ApiSince=35)>]
[<System.Obsolete("deprecated")>]
override this.OnBind : Android.Content.Intent -> Android.OS.IBinder

參數

intent
Intent

用於綁定此服務的意圖,依據賦予 android.content.Context#bindService Context.bindService。 請注意,當時隨意圖附帶的任何額外內容將<><>不會在此處顯示。

傳回

平台用來與服務溝通的資料夾,或 null 是該資料夾尚未建立時。

屬性

備註

握把會綁定於 IsolatedService。

Java 文件 android.adservices.ondevicepersonalization.IsolatedService.onBind(android.content.Intent)。

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

適用於