Gjsify LogoGjsify Logo

The requirements for setting an avatar on a particular protocol.

record

Hierarchy

  • AvatarRequirements

Index

Constructors

  • new AvatarRequirements(supportedMimeTypes: string[], minimumWidth: number, minimumHeight: number, recommendedWidth: number, recommendedHeight: number, maximumWidth: number, maximumHeight: number, maximumBytes: number): AvatarRequirements
  • Parameters

    • supportedMimeTypes: string[]

      An array of supported MIME types (e.g. "image/jpeg") Clients MAY assume that the first type in this array is preferred

    • minimumWidth: number

      The minimum width in pixels of an avatar, which MAY be 0

    • minimumHeight: number

      The minimum height in pixels of an avatar, which MAY be 0

    • recommendedWidth: number

      The recommended width in pixels of an avatar, or 0 if there is no preferred width.

    • recommendedHeight: number

      The recommended height in pixels of an avatar, or 0 if there is no preferred height

    • maximumWidth: number

      The maximum width in pixels of an avatar on this protocol, or 0 if there is no limit.

    • maximumHeight: number

      The maximum height in pixels of an avatar, or 0 if there is no limit.

    • maximumBytes: number

      he maximum size in bytes of an avatar, or 0 if there is no limit.

    Returns AvatarRequirements

Properties

maximumBytes: number

he maximum size in bytes of an avatar, or 0 if there is no limit.

field
maximumHeight: number

The maximum height in pixels of an avatar, or 0 if there is no limit.

field
maximumWidth: number

The maximum width in pixels of an avatar on this protocol, or 0 if there is no limit.

field
minimumHeight: number

The minimum height in pixels of an avatar, which MAY be 0

field
minimumWidth: number

The minimum width in pixels of an avatar, which MAY be 0

field
recommendedHeight: number

The recommended height in pixels of an avatar, or 0 if there is no preferred height

field
recommendedWidth: number

The recommended width in pixels of an avatar, or 0 if there is no preferred width.

field
supportedMimeTypes: string[]

An array of supported MIME types (e.g. "image/jpeg") Clients MAY assume that the first type in this array is preferred

field
name: string

Methods

  • new(supportedMimeTypes: string[], minimumWidth: number, minimumHeight: number, recommendedWidth: number, recommendedHeight: number, maximumWidth: number, maximumHeight: number, maximumBytes: number): AvatarRequirements
  • Parameters

    • supportedMimeTypes: string[]

      An array of supported MIME types (e.g. "image/jpeg") Clients MAY assume that the first type in this array is preferred

    • minimumWidth: number

      The minimum width in pixels of an avatar, which MAY be 0

    • minimumHeight: number

      The minimum height in pixels of an avatar, which MAY be 0

    • recommendedWidth: number

      The recommended width in pixels of an avatar, or 0 if there is no preferred width.

    • recommendedHeight: number

      The recommended height in pixels of an avatar, or 0 if there is no preferred height

    • maximumWidth: number

      The maximum width in pixels of an avatar on this protocol, or 0 if there is no limit.

    • maximumHeight: number

      The maximum height in pixels of an avatar, or 0 if there is no limit.

    • maximumBytes: number

      he maximum size in bytes of an avatar, or 0 if there is no limit.

    Returns AvatarRequirements

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