Share via


DisplayManager.IDisplayListener.OnDisplayAdded(Int32) Method

Definition

Called whenever a logical display has been added to the system.

[Android.Runtime.Register("onDisplayAdded", "(I)V", "GetOnDisplayAdded_IHandler:Android.Hardware.Display.DisplayManager/IDisplayListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnDisplayAdded (int displayId);
[<Android.Runtime.Register("onDisplayAdded", "(I)V", "GetOnDisplayAdded_IHandler:Android.Hardware.Display.DisplayManager/IDisplayListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDisplayAdded : int -> unit

Parameters

displayId
Int32

The id of the logical display that was added.

Attributes

Remarks

Called whenever a logical display has been added to the system. Use DisplayManager#getDisplay to get more information about the display.

Java documentation for android.hardware.display.DisplayManager.DisplayListener.onDisplayAdded(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