InterfaceDefinition

@Serializable
data class InterfaceDefinition(val type: String, val kind: Int, val name: String? = null, val required: Boolean? = false, val uri: String, val namespace: String, val nativeType: String, val capabilities: InterfaceDefinition.CapabilityDefinition? = null) : IGenericDefinition, ImportedDefinition

A data class representing an interface definition in a Wrap ABI.

Constructors

Link copied to clipboard
constructor(type: String, kind: Int, name: String? = null, required: Boolean? = false, uri: String, namespace: String, nativeType: String, capabilities: InterfaceDefinition.CapabilityDefinition? = null)

Types

Link copied to clipboard
@Serializable
data class CapabilityDefinition(val getImplementations: InterfaceDefinition.CapabilityDefinition.GetImplementations? = null)

A data class representing a capability definition in an interface definition in a Wrap ABI.

Properties

Link copied to clipboard

A list of capability definitions for the interface definition.

Link copied to clipboard
open override val kind: Int

The kind of the interface definition.

Link copied to clipboard
open override val name: String? = null

The name of the interface definition.

Link copied to clipboard
open override val namespace: String

The namespace of the interface definition.

Link copied to clipboard
open override val nativeType: String

The native type of the interface definition.

Link copied to clipboard
open override val required: Boolean? = false

A boolean indicating whether the interface definition is required.

Link copied to clipboard
open override val type: String

The type of the interface definition.

Link copied to clipboard
open override val uri: String

The URI of the interface definition.