OH_NativeXComponent_SetExpectedFrameRateRange

Function OH_NativeXComponent_SetExpectedFrameRateRange 

Source
pub unsafe extern "C" fn OH_NativeXComponent_SetExpectedFrameRateRange(
    component: *mut OH_NativeXComponent,
    range: *mut OH_NativeXComponent_ExpectedRateRange,
) -> i32
Available on crate feature api-11 only.
Expand description

Set the Expected FrameRateRange.

§Arguments

  • component - Indicates the pointer to this OH_NativeXComponent instance.

  • range - Indicates the pointer to a expected rate range.

§Returns

  • Returns the status code of the execution.

Available since API-level: 11

Version: 1.0