MTLDrawable.AddPresentedHandler(Action<IMTLDrawable>) 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.
Causes the provided block
to be run after the drawable is displayed.
[Foundation.Export("addPresentedHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddPresentedHandler (Action<Metal.IMTLDrawable> block);
abstract member AddPresentedHandler : Action<Metal.IMTLDrawable> -> unit
override this.AddPresentedHandler : Action<Metal.IMTLDrawable> -> unit
Parameters
- block
- Action<IMTLDrawable>
The code that will be called after the drawable is displayed.
- Attributes