mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +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:22](https://github.com/LuanRT/YouTube.js/blob/e1650e12979e68b9546bc63989f86b651960a10a/src/utils/Utils.ts#L22)
|
|
|
|
## Methods
|
|
|
|
### load()
|
|
|
|
> `static` **load**(`platform`): `void`
|
|
|
|
#### Parameters
|
|
|
|
• **platform**: [`PlatformShim`](../namespaces/Types/interfaces/PlatformShim.md)
|
|
|
|
#### Returns
|
|
|
|
`void`
|
|
|
|
#### Defined in
|
|
|
|
[src/utils/Utils.ts:18](https://github.com/LuanRT/YouTube.js/blob/e1650e12979e68b9546bc63989f86b651960a10a/src/utils/Utils.ts#L18)
|