diff --git a/LocationKit/oh_location_type.h b/LocationKit/oh_location_type.h index 9d10d70f1..008037d4b 100644 --- a/LocationKit/oh_location_type.h +++ b/LocationKit/oh_location_type.h @@ -246,14 +246,13 @@ typedef struct Location_Info Location_Info; /** * @brief Indicates whether the location was obtained from the mock location function. * - * @param location [in] Pointer to the location information structure. - * A non-null pointer is required. The pointer can be obtained via {@link Location_InfoCallback}. - * @return Returns whether the location was obtained from the mock location function. - * - true: The location was obtained from the mock location function. - * - false: The location originates from the system's real positioning result. + * @param location - Pointer to the location information structure. + * A non‑null pointer is required. The pointer can be obtained via {@link Location_InfoCallback}. + * @return true if the location was obtained from the mock location function. + * Otherwise, the location originates from the system's real positioning result. * @since 26.0.0 */ -bool OH_LocationInfo_IsFromMock(Location_Info *location); +bool OH_LocationInfo_IsFromMock(Location_Info* location); /** * @brief Obtain basic location information.