libresound_js_libs
    Preparing search index...

    Class Helpers

    Index

    Constructors

    Methods

    • Parameters

      • obj: {
            controls: (
                | {
                    hintText?: string;
                    id: string;
                    initial?: string;
                    label?: string;
                    maxWidth?: number;
                    onChanged?: $InferOuterFunctionType<
                        ZodTuple<readonly [ZodString], null>,
                        ZodVoid,
                    >;
                    type: "textInput";
                }
                | {
                    elements: [string?, string?, ...unknown[]][];
                    id: string;
                    initial: string;
                    onChanged?: $InferOuterFunctionType<
                        ZodTuple<readonly [ZodString], null>,
                        ZodVoid,
                    >;
                    type: "selectInput";
                }
                | {
                    elements: [string?, string?, ...unknown[]][];
                    id: string;
                    initial: string;
                    onChanged?: $InferOuterFunctionType<
                        ZodTuple<readonly [ZodString], null>,
                        ZodVoid,
                    >;
                    type: "radioGroupInput";
                }
                | {
                    id: string;
                    initial: boolean;
                    onChanged?: $InferOuterFunctionType<
                        ZodTuple<readonly [ZodBoolean], null>,
                        ZodVoid,
                    >;
                    text?: string;
                    type: "checkboxInput" | "switchInput";
                }
                | { fontSize?: number; text: string; type: "text" }
                | { height?: number; type: "space"; width?: number }
            )[];
            props?: Record<string, any>;
        }

      Returns {
          controls: (
              | {
                  hintText?: string;
                  id: string;
                  initial?: string;
                  label?: string;
                  maxWidth?: number;
                  onChanged?: $InferOuterFunctionType<
                      ZodTuple<readonly [ZodString], null>,
                      ZodVoid,
                  >;
                  type: "textInput";
              }
              | {
                  elements: [string?, string?, ...unknown[]][];
                  id: string;
                  initial: string;
                  onChanged?: $InferOuterFunctionType<
                      ZodTuple<readonly [ZodString], null>,
                      ZodVoid,
                  >;
                  type: "selectInput";
              }
              | {
                  elements: [string?, string?, ...unknown[]][];
                  id: string;
                  initial: string;
                  onChanged?: $InferOuterFunctionType<
                      ZodTuple<readonly [ZodString], null>,
                      ZodVoid,
                  >;
                  type: "radioGroupInput";
              }
              | {
                  id: string;
                  initial: boolean;
                  onChanged?: $InferOuterFunctionType<
                      ZodTuple<readonly [ZodBoolean], null>,
                      ZodVoid,
                  >;
                  text?: string;
                  type: "checkboxInput" | "switchInput";
              }
              | { fontSize?: number; text: string; type: "text" }
              | { height?: number; type: "space"; width?: number }
          )[];
          props?: Record<string, any>;
          type: "controls";
      }

    • Parameters

      • downloadId: string
      • name: string

      Returns {
          id: string;
          onDataReceived: $InferOuterFunctionType<
              ZodTuple<readonly [ZodNumber, ZodNumber], null>,
              ZodVoid,
          >;
      }

    • Parameters

      • itemlist: { id: string; subtitle: string; thumbnailUrl: string; title: string }[]

      Returns {
          itemlist: {
              id: string;
              subtitle: string;
              thumbnailUrl: string;
              title: string;
          }[];
          listType: ListType;
          rowsCount: number;
      }

    • Parameters

      • itemlist: { id: string; subtitle: string; thumbnailUrl: string; title: string }[]

      Returns {
          itemlist: {
              id: string;
              subtitle: string;
              thumbnailUrl: string;
              title: string;
          }[];
          listType: ListType;
          rowsCount: number;
      }

    • Parameters

      • obj: {
            actionBtn?: {
                callbackArgs: string[];
                callbackName: string;
                icon?: IconName;
                text: string;
            };
            header?: {
                actionBtn?: {
                    callbackArgs: string[];
                    callbackName: string;
                    icon?: IconName;
                    text: string;
                };
                subtitle?: string;
                thumbnailUrl?: string;
                title: string;
            };
            props?: Record<string, any>;
            sectionlist: {
                header?: {
                    actionBtn?: {
                        callbackArgs: string[];
                        callbackName: string;
                        icon?: IconName;
                        text: string;
                    };
                    subtitle?: string;
                    title?: string;
                };
                isBigTile?: boolean;
                itemlist: {
                    id: string;
                    subtitle: string;
                    thumbnailUrl: string;
                    title: string;
                }[];
                listType: ListType;
                props?: Record<string, any>;
                rowsCount: number;
            }[];
            title?: string;
        }

      Returns {
          actionBtn?: {
              callbackArgs: string[];
              callbackName: string;
              icon?: IconName;
              text: string;
          };
          header?: {
              actionBtn?: {
                  callbackArgs: string[];
                  callbackName: string;
                  icon?: IconName;
                  text: string;
              };
              subtitle?: string;
              thumbnailUrl?: string;
              title: string;
          };
          props?: Record<string, any>;
          sectionlist: {
              header?: {
                  actionBtn?: {
                      callbackArgs: string[];
                      callbackName: string;
                      icon?: IconName;
                      text: string;
                  };
                  subtitle?: string;
                  title?: string;
              };
              isBigTile?: boolean;
              itemlist: {
                  id: string;
                  subtitle: string;
                  thumbnailUrl: string;
                  title: string;
              }[];
              listType: ListType;
              props?: Record<string, any>;
              rowsCount: number;
          }[];
          title?: string;
          type: "music";
      }