ViewTreeObserver.UnregisterFrameCommitCallback(IRunnable) 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.
Attempts to remove the given callback from the list of pending frame complete callbacks.
[Android.Runtime.Register("unregisterFrameCommitCallback", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)]
public bool UnregisterFrameCommitCallback (Java.Lang.IRunnable callback);
[<Android.Runtime.Register("unregisterFrameCommitCallback", "(Ljava/lang/Runnable;)Z", "", ApiSince=29)>]
member this.UnregisterFrameCommitCallback : Java.Lang.IRunnable -> bool
Parameters
- callback
- IRunnable
The callback to remove
Returns
Whether or not the callback was removed. If this returns true the callback will not be invoked. If false is returned then the callback was either never added or may already be pending execution and was unable to be removed
- Attributes
Remarks
Attempts to remove the given callback from the list of pending frame complete callbacks.
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.