PerformanceClassBindings class
Bindings for src/performance_class.h.
Regenerate bindings with dart run ffigen --config ffigen.yaml.
Constructors
- PerformanceClassBindings(DynamicLibrary dynamicLibrary)
-
The symbols are looked up in
dynamicLibrary. -
PerformanceClassBindings.fromLookup(Pointer<
T> lookup<T extends NativeType>(String symbolName) ) -
The symbols are looked up with
lookup.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get_device_info(
) → DeviceInfo - Get device information This function gathers device information for analysis
-
get_performance_class(
) → PerformanceClassResult - Get device performance class This function analyzes the device capabilities and returns a performance classification
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read_average_max_cpu_freq(
int cpu_count) → int - Read CPU frequency information This function reads the maximum CPU frequency from system files
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited