Skip to main content

OH_CommonEvent_AbortCommonEvent

Function OH_CommonEvent_AbortCommonEvent 

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

Abort an ordered event by a subscriber.

§Arguments

  • subscriber - Indicates the subscriber.

§Returns

  • Returns the result of operation, true means succeeded.

Available since API-level: 18