@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
50 lines (49 loc) • 1.72 kB
TypeScript
import { Parameter, AudioEncoding } from "./../index";
export interface SoundActionPlaySoundInterface {
encoding?: AudioEncoding;
mix?: boolean;
repeat?: boolean;
sampleSize?: number;
samplingRate?: number;
sound: string;
soundChannels?: number;
synchronous?: boolean;
volume?: number;
}
export declare class SoundActionPlaySound implements SoundActionPlaySoundInterface, Parameter {
encoding?: AudioEncoding;
mix?: boolean;
repeat?: boolean;
sampleSize?: number;
samplingRate?: number;
sound: string;
soundChannels?: number;
synchronous?: boolean;
volume?: number;
constructor(data: any);
static getEncodingDefault(): AudioEncoding;
static getEncodingDescription(): string;
static getMixDefault(): boolean;
static getMixDescription(): string;
static getRepeatDefault(): boolean;
static getRepeatDescription(): string;
static getSampleSizeDefault(): number;
static getSampleSizeDescription(): string;
static getSampleSizeMin(): number;
static getSamplingRateDefault(): number;
static getSamplingRateDescription(): string;
static getSamplingRateMin(): number;
static getSoundDescription(): string;
static getSoundChannelsDefault(): number;
static getSoundChannelsDescription(): string;
static getSoundChannelsMin(): number;
static getSynchronousDefault(): boolean;
static getSynchronousDescription(): string;
static getVolumeDefault(): number;
static getVolumeDescription(): string;
static getVolumeMin(): number;
static getVolumeMax(): number;
static fromJson(data: any): SoundActionPlaySound;
toJson(): any;
clone(): SoundActionPlaySound;
}