Skip to main content

OH_CommonEvent_GetIntArrayFromParameters

Function OH_CommonEvent_GetIntArrayFromParameters 

Source
pub unsafe extern "C" fn OH_CommonEvent_GetIntArrayFromParameters(
    para: *const CommonEvent_Parameters,
    key: *const c_char,
    array: *mut *mut c_int,
) -> i32
Available on crate features commonevent and api-12 only.
Expand description

Get int array data from parameters data by key.

§Arguments

  • para - Indicates the parameters data.

  • key - Indicates the key.

  • array - Indicates the int array.

§Returns

  • Returns the length of the array.

Available since API-level: 12