mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 11:02:10 +00:00
46 lines
870 B
Markdown
46 lines
870 B
Markdown
[youtubei.js](../README.md) / Platform
|
|
|
|
# Class: Platform
|
|
|
|
## Constructors
|
|
|
|
### new Platform()
|
|
|
|
> **new Platform**(): [`Platform`](Platform.md)
|
|
|
|
#### Returns
|
|
|
|
[`Platform`](Platform.md)
|
|
|
|
## Accessors
|
|
|
|
### shim
|
|
|
|
> `get` `static` **shim**(): [`PlatformShim`](../namespaces/Types/interfaces/PlatformShim.md)
|
|
|
|
#### Returns
|
|
|
|
[`PlatformShim`](../namespaces/Types/interfaces/PlatformShim.md)
|
|
|
|
#### Defined in
|
|
|
|
[src/utils/Utils.ts:19](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/utils/Utils.ts#L19)
|
|
|
|
## Methods
|
|
|
|
### load()
|
|
|
|
> `static` **load**(`platform`): `void`
|
|
|
|
#### Parameters
|
|
|
|
• **platform**: [`PlatformShim`](../namespaces/Types/interfaces/PlatformShim.md)
|
|
|
|
#### Returns
|
|
|
|
`void`
|
|
|
|
#### Defined in
|
|
|
|
[src/utils/Utils.ts:16](https://github.com/LuanRT/YouTube.js/blob/e54e499ff553dab51e6d9d1aebc090b50fec29ba/src/utils/Utils.ts#L16)
|