ViewTreeObserver.AddOnSystemGestureExclusionRectsChangedListener 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.
Add a listener to be notified when the tree's <em>transformed</em> gesture exclusion rects change.
[Android.Runtime.Register("addOnSystemGestureExclusionRectsChangedListener", "(Ljava/util/function/Consumer;)V", "", ApiSince=29)]
public void AddOnSystemGestureExclusionRectsChangedListener (Java.Util.Functions.IConsumer listener);
[<Android.Runtime.Register("addOnSystemGestureExclusionRectsChangedListener", "(Ljava/util/function/Consumer;)V", "", ApiSince=29)>]
member this.AddOnSystemGestureExclusionRectsChangedListener : Java.Util.Functions.IConsumer -> unit
Parameters
- listener
- IConsumer
listener to add
- Attributes
Remarks
Add a listener to be notified when the tree's <em>transformed</em> gesture exclusion rects change. This could be the result of an animation or other layout change, or a view calling View#setSystemGestureExclusionRects(List)
.
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.