Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KodiIntrospect

Wrapper class for Kodi's JSONRPC.Introspect metadata response.

Hierarchy

  • KodiIntrospect

Implements

Index

Constructors

constructor

Properties

Optional id

id: string | number

jsonrpc

jsonrpc: "2.0"

result

Private Optional validator

validator: Validator

Methods

Optional describeMethod

Optional describeNotification

Optional describeType

Optional listMethods

  • listMethods(): string[]
  • listMethods(group: false): string[]
  • listMethods(group: true): Record<string, string[]>
  • listMethods(group: boolean): string[] | Record<string, string[]>

Optional validateSchema

  • validateSchema(input: any, schema: JsonSchema, throwError?: boolean): boolean
  • Method to validate an input by it's accompanying schema.

    Parameters

    • input: any
    • schema: JsonSchema
    • Optional throwError: boolean

    Returns boolean

Optional version

  • version(): string

Generated using TypeDoc