Files
NativeScript/nativescript-core/fps-meter/fps-native.d.ts
2020-01-17 15:12:28 +02:00

30 lines
551 B
TypeScript

/**
* @module "fps-meter/fps-native"
*/ /** */
/**
* An utility class used to measure frames per second.
*/
export class FPSCallback {
/**
* Initializes a new instance of FPSCallback class.
*/
constructor(onFrame: (currentTimeMillis: number) => void);
/**
* Starts the frame per seconds measurement.
*/
start(): void;
/**
* Stops the frame per seconds measurement.
*/
stop(): void;
/**
* Gets if the current instance of FPSCallback is running.
*/
running: boolean;
}