Skip to main content

OH_UdsFileUri_SetFileUri

Function OH_UdsFileUri_SetFileUri 

Source
pub unsafe extern "C" fn OH_UdsFileUri_SetFileUri(
    pThis: *mut OH_UdsFileUri,
    fileUri: *const c_char,
) -> c_int
Available on crate feature api-13 only.
Expand description

Set file uri to the OH_UdsFileUri.

§Arguments

  • pThis - Represents a pointer to an instance of OH_UdsFileUri.

  • fileUri - Represents a new file uri string.

§Returns

  • Returns the status code of the execution. See [Udmf_ErrCode]. [UDMF_E_OK] success. [UDMF_E_INVALID_PARAM] The error code for common invalid args. OH_UdsFileUri Udmf_ErrCode

Available since API-level: 13