summaryrefslogtreecommitdiff
path: root/desktop/node_modules/@xhayper/discord-rpc/dist/structures/CertifiedDevice.d.ts
blob: ec477dfc3554c7bd3711d73eae166f39bbc8c1d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import type { Client } from "../Client";
import { Base } from "./Base";
export declare enum DeviceType {
    AUDIO_INPUT = "audioinput",
    AUDIO_OUTPUT = "audiooutput",
    VIDEO_INPUT = "videoinput"
}
export interface Vendor {
    /**
     * name of the vendor
     */
    name: string;
    /**
     * url for the vendor
     */
    url: string;
}
export interface Model {
    /**
     * name of the model
     */
    name: string;
    /**
     * url for the model
     */
    url: string;
}
export declare class CertifiedDevice extends Base {
    /**
     * the type of device
     */
    type: DeviceType;
    /**
     * the device's Windows UUID
     */
    id: string;
    /**
     * the hardware vendor
     */
    vendor: Vendor;
    /**
     * the model of the product
     */
    model: Model;
    /**
     * UUIDs of related devices
     */
    related: string[];
    /**
     * if the device's native echo cancellation is enabled
     */
    echo_cancellation?: boolean;
    /**
     * if the device's native noise suppression is enabled
     */
    noise_suppression?: boolean;
    /**
     * if the device's native automatic gain control is enabled
     */
    automatic_gain_control?: boolean;
    /**
     * if the device is hardware muted
     */
    hardware_mute?: boolean;
    constructor(client: Client, props: Record<string, any>);
}