語言

ContextWrapper.UnbindService(IServiceConnection) 方法

定義

斷開應用程式服務。

[Android.Runtime.Register("unbindService", "(Landroid/content/ServiceConnection;)V", "GetUnbindService_Landroid_content_ServiceConnection_Handler")]
public override void UnbindService(Android.Content.IServiceConnection? conn);
[<Android.Runtime.Register("unbindService", "(Landroid/content/ServiceConnection;)V", "GetUnbindService_Landroid_content_ServiceConnection_Handler")>]
override this.UnbindService : Android.Content.IServiceConnection -> unit

參數

conn
IServiceConnection

先前提供給 bindService() 的連接介面。 此參數不得為空值。

屬性

備註

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

適用於