Skip to main content

OH_ArkWebHttpBodyStream_GetPosition

Function OH_ArkWebHttpBodyStream_GetPosition 

Source
pub unsafe extern "C" fn OH_ArkWebHttpBodyStream_GetPosition(
    httpBodyStream: *const ArkWeb_HttpBodyStream,
) -> u64
Available on crate features api-11 and api-12 only.
Expand description

Get the current position of the data stream.

§Arguments

  • httpBodyStream - The ArkWeb_HttpBodyStream.

§Returns

  • The current position of data stream. 0 if httpBodyStream is invalid.

Required System Capabilities: SystemCapability.Web.Webview.Core

Available since API-level: 12