react-native-star-io10
Version:
react-native-star-io10 is a library for supporting application development for Star Micronics devices.
22 lines (17 loc) • 425 B
text/typescript
export class DriveOneTimeSoundParameter {
private _source: string;
private _volume: number = -1;
get source(): string {
return this._source;
}
get volume(): number {
return this._volume;
}
constructor(source: string) {
this._source = source;
}
setVolume(volume: number): DriveOneTimeSoundParameter {
this._volume = volume;
return this;
}
}