Skip to main content

OH_CommonEvent_GetLongArrayFromParameters

Function OH_CommonEvent_GetLongArrayFromParameters 

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

Get long array data from parameters data by key.

§Arguments

  • para - Indicates the parameters data.

  • key - Indicates the key.

  • array - Indicates the long array.

§Returns

  • Returns the length of the array.

Available since API-level: 12