Telemetry.hx 626 B

123456789101112131415
  1. package flash.utils;
  2. @:require(flash11_2) extern class Telemetry extends flash.events.EventDispatcher {
  3. var bufferLength : UInt;
  4. var connected(default,null) : Bool;
  5. function new() : Void;
  6. function enableMetric(metric : String, enable : Bool) : Void;
  7. function flush() : Void;
  8. function isMetricEnabled(metric : String) : Bool;
  9. function registerMethod(functionId : String, f : Dynamic) : Void;
  10. function sendMetric(metric : String, value : Dynamic) : Void;
  11. function sendSpanMetric(metric : String, startMarker : Float) : Void;
  12. static var marker(default,null) : Float;
  13. static var telemetry(default,null) : Telemetry;
  14. }