#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
use super::OH_NativeXComponent;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_ExpectedRateRange {
pub min: i32,
pub max: i32,
pub expected: i32,
}
extern "C" {
pub fn OH_NativeXComponent_SetExpectedFrameRateRange(
component: *mut OH_NativeXComponent,
range: *mut OH_NativeXComponent_ExpectedRateRange,
) -> i32;
}
extern "C" {
pub fn OH_NativeXComponent_RegisterOnFrameCallback(
component: *mut OH_NativeXComponent,
callback: ::core::option::Option<
unsafe extern "C" fn(
component: *mut OH_NativeXComponent,
timestamp: u64,
targetTimestamp: u64,
),
>,
) -> i32;
}
extern "C" {
pub fn OH_NativeXComponent_UnregisterOnFrameCallback(
component: *mut OH_NativeXComponent,
) -> i32;
}