API Reference › Globals › AutoQualityAdapter
# Class: AutoQualityAdapter
# Hierarchy
-
↳ AutoQualityAdapter
# Implemented by
# Index
# Constructors
# Methods
# Constructors
# constructor
+ new AutoQualityAdapter(pixotron
: Pixotron): AutoQualityAdapter
Inherited from QualityAdapter.constructor
Defined in packages/typings/pixotron.ts:76
Parameters:
Name | Type |
---|---|
pixotron | Pixotron |
Returns: AutoQualityAdapter
# Methods
# addQuality
▸ addQuality(qualitySetting
: any): void
Defined in packages/typings/pixotron.ts:85
Parameters:
Name | Type |
---|---|
qualitySetting | any |
Returns: void
# onQualityChange
▸ onQualityChange(callback
: any): void
Inherited from QualityAdapter.onQualityChange
Defined in packages/typings/pixotron.ts:80
Parameters:
Name | Type |
---|---|
callback | any |
Returns: void
# setDesiredFps
▸ setDesiredFps(desiredFps
: number): void
Defined in packages/typings/pixotron.ts:87
Parameters:
Name | Type |
---|---|
desiredFps | number |
Returns: void