Partager via


VirtualDeviceManager.IVirtualDeviceListener.OnVirtualDeviceClosed Method

Definition

Called whenever a virtual device has been removed from the system.

[Android.Runtime.Register("onVirtualDeviceClosed", "(I)V", "GetOnVirtualDeviceClosed_IHandler:Android.Companion.Virtual.VirtualDeviceManager/IVirtualDeviceListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void OnVirtualDeviceClosed (int deviceId);
[<Android.Runtime.Register("onVirtualDeviceClosed", "(I)V", "GetOnVirtualDeviceClosed_IHandler:Android.Companion.Virtual.VirtualDeviceManager/IVirtualDeviceListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnVirtualDeviceClosed : int -> unit
override this.OnVirtualDeviceClosed : int -> unit

Parameters

deviceId
Int32

The id of the virtual device that was removed.

Attributes

Remarks

Called whenever a virtual device has been removed from the system.

Java documentation for android.companion.virtual.VirtualDeviceManager.VirtualDeviceListener.onVirtualDeviceClosed(int).

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