Table of Contents

Delegate MainLoop.OnRequestPermissionsResultEventHandler

Namespace
Godot
Assembly
GodotSharp.dll

Represents the method that handles the OnRequestPermissionsResult event of a MainLoop class.

public delegate void MainLoop.OnRequestPermissionsResultEventHandler(string permission, bool granted)

Parameters

permission string
Represents the method that handles the event of a class.
granted bool
Represents the method that handles the event of a class.

Constructors

OnRequestPermissionsResultEventHandler(object, IntPtr)

public OnRequestPermissionsResultEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(string, bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(string permission, bool granted, AsyncCallback callback, object @object)

Parameters

permission string
granted bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(string, bool)

public virtual void Invoke(string permission, bool granted)

Parameters

permission string
granted bool