Gjsify LogoGjsify Logo

The GstStructure object. Most fields are private.

record

Hierarchy

  • Structure

Index

Constructors

Properties

fields: GLib.Array
gstReserved: object
name: number
parentRefcount: number
type: GType<unknown>
name: string

Methods

  • fixateFieldBoolean(fieldName: string, target: boolean): boolean
  • fixateFieldNearestDouble(fieldName: string, target: number): boolean
  • fixateFieldNearestFraction(fieldName: string, targetNumerator: number, targetDenominator: number): boolean
  • Parameters

    • fieldName: string
    • targetNumerator: number
    • targetDenominator: number

    Returns boolean

  • fixateFieldNearestInt(fieldName: string, target: number): boolean
  • fixateFieldString(fieldName: string, target: string): boolean
  • free(): void
  • getBoolean(fieldname: string): [boolean, boolean]
  • getClockTime(fieldname: string, value: any): boolean
  • getDate(fieldname: string, value: GLib.Date): boolean
  • getDouble(fieldname: string): [boolean, number]
  • getEnum(fieldname: string, enumtype: GType<unknown>): [boolean, number]
  • getFieldType(fieldname: string): GType<unknown>
  • getFourcc(fieldname: string): [boolean, number]
  • getFraction(fieldname: string): [boolean, number, number]
  • getInt(fieldname: string): [boolean, number]
  • getName(): string
  • getNameId(): number
  • getString(fieldname: string): string
  • getUint(fieldname: string): [boolean, number]
  • getValue(fieldname: string): any
  • hasField(fieldname: string): boolean
  • hasFieldTyped(fieldname: string, type: GType<unknown>): boolean
  • hasName(name: string): boolean
  • idGetValue(field: number): any
  • idHasField(field: number): boolean
  • idHasFieldTyped(field: number, type: GType<unknown>): boolean
  • idSetValue(field: number, value: any): void
  • nFields(): number
  • nthFieldName(index: number): string
  • removeAllFields(): void
  • removeField(fieldname: string): void
  • setName(name: string): void
  • setParentRefcount(): number
  • setValue(fieldname: string, value: any): void
  • toString(): string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method