Skip to main content

OH_CommonEvent_GetBundleNameFromRcvData

Function OH_CommonEvent_GetBundleNameFromRcvData 

Source
pub unsafe extern "C" fn OH_CommonEvent_GetBundleNameFromRcvData(
    rcvData: *const CommonEvent_RcvData,
) -> *const c_char
Available on crate features commonevent and api-12 only.
Expand description

Get event bundlename from callback data.

§Arguments

  • rcvData - Indicates the callback data.

§Returns

  • Returns the event of bundlename, default is null.

Available since API-level: 12