isMainDisplay

open fun isMainDisplay(@NonNull configuration: @NonNull Configuration): Boolean

Returns whether the given Configuration represents the main display.

Return

true if the configuration is for the main display, false otherwise

Parameters

configuration

the Configuration to query