Skip to main content

OH_CommonEvent_GetAbortCommonEvent

Function OH_CommonEvent_GetAbortCommonEvent 

Source
pub unsafe extern "C" fn OH_CommonEvent_GetAbortCommonEvent(
    subscriber: *const CommonEvent_Subscriber,
) -> bool
Available on crate features commonevent and api-12 and api-18 only.
Expand description

Check an event by a subscriber whether it is aborted.

§Arguments

  • subscriber - Indicates the subscriber.

§Returns

  • Returns the result of check, true means aborted.

Available since API-level: 18