VirtualDeviceManager.IVirtualDeviceListener.OnVirtualDeviceCreated Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called whenever a new virtual device has been added to the system.
[Android.Runtime.Register("onVirtualDeviceCreated", "(I)V", "GetOnVirtualDeviceCreated_IHandler:Android.Companion.Virtual.VirtualDeviceManager/IVirtualDeviceListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual void OnVirtualDeviceCreated (int deviceId);
[<Android.Runtime.Register("onVirtualDeviceCreated", "(I)V", "GetOnVirtualDeviceCreated_IHandler:Android.Companion.Virtual.VirtualDeviceManager/IVirtualDeviceListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member OnVirtualDeviceCreated : int -> unit
override this.OnVirtualDeviceCreated : int -> unit
Parameters
- deviceId
- Int32
The id of the virtual device that was added.
- Attributes
Remarks
Called whenever a new virtual device has been added to the system. Use VirtualDeviceManager#getVirtualDevice(int)
to get more information about the device.
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.