sdk仓合入c api

Signed-off-by: fjc1203206387 <fanjiacheng2@h-partners.com>
This commit is contained in:
fjc1203206387
2026-07-31 14:44:20 +08:00
committed by xxthadsl
parent c6f7777041
commit 8a5dbbaec0
+5 -6
View File
@@ -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 nonnull 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.