RecentData

constructor()

Allocate a new RecentData.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new RecentData using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(displayName: String?, description: String?, mimeType: String?, appName: String?, appExec: String?, isPrivate: Boolean)

Allocate a new RecentData.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

displayName

a UTF-8 encoded string, containing the name of the recently used resource to be displayed, or null;

description

a UTF-8 encoded string, containing a short description of the resource, or null;

mimeType

the MIME type of the resource;

appName

the name of the application that is registering this recently used resource;

appExec

command line used to launch this resource; may contain the “\%f” and “\%u” escape characters which will be expanded to the resource file path and URI respectively when the command line is retrieved;

isPrivate

whether this resource should be displayed only by the applications that have registered it or not.


constructor(displayName: String?, description: String?, mimeType: String?, appName: String?, appExec: String?, isPrivate: Boolean, scope: <Error class: unknown class>)

Allocate a new RecentData using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

displayName

a UTF-8 encoded string, containing the name of the recently used resource to be displayed, or null;

description

a UTF-8 encoded string, containing a short description of the resource, or null;

mimeType

the MIME type of the resource;

appName

the name of the application that is registering this recently used resource;

appExec

command line used to launch this resource; may contain the “\%f” and “\%u” escape characters which will be expanded to the resource file path and URI respectively when the command line is retrieved;

isPrivate

whether this resource should be displayed only by the applications that have registered it or not.

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)