Lines Matching refs:key
245 * @brief Check whether the parameters contains a key.
248 * @param key Indicates the key of parameter.
252 bool OH_CommonEvent_HasKeyInParameters(const CommonEvent_Parameters* para, const char* key);
255 * @brief Get int data from parameters data by key.
258 * @param key Indicates the key of parameters data.
260 * @return Returns the int data of the key in the parameters.
263 int OH_CommonEvent_GetIntFromParameters(const CommonEvent_Parameters* para, const char* key, const int defaultValue);
266 * @brief Get int array data from parameters data by key.
269 * @param key Indicates the key of parameters data.
274 int32_t OH_CommonEvent_GetIntArrayFromParameters(const CommonEvent_Parameters* para, const char* key, int** array);
277 * @brief Get long data from parameters data by key.
280 * @param key Indicates the key of parameters data.
282 * @return Returns the long data of the key in the parameters.
285 long OH_CommonEvent_GetLongFromParameters(const CommonEvent_Parameters* para, const char* key, const long defaultValue);
288 * @brief Get long array data from parameters data by key.
291 * @param key Indicates the key of parameters data.
296 int32_t OH_CommonEvent_GetLongArrayFromParameters(const CommonEvent_Parameters* para, const char* key, long** array);
299 * @brief Get bool data from parameters data by key.
302 * @param key Indicates the key of parameters data.
304 * @return Returns the bool data of the key in the parameters.
307 bool OH_CommonEvent_GetBoolFromParameters(const CommonEvent_Parameters* para, const char* key, const bool defaultValue);
310 * @brief Get bool array data from parameters data by key.
313 * @param key Indicates the key of parameters data.
318 int32_t OH_CommonEvent_GetBoolArrayFromParameters(const CommonEvent_Parameters* para, const char* key, bool** array);
321 * @brief Get char data from parameters data by key.
324 * @param key Indicates the key of parameters data.
326 * @return Returns the char data of the key in the parameters.
329 char OH_CommonEvent_GetCharFromParameters(const CommonEvent_Parameters* para, const char* key, const char defaultValue);
332 * @brief Get char array data from parameters data by key.
335 * @param key Indicates the key of parameters data.
340 int32_t OH_CommonEvent_GetCharArrayFromParameters(const CommonEvent_Parameters* para, const char* key, char** array);
343 * @brief Get double data from parameters data by key.
346 * @param key Indicates the key of parameters data.
348 * @return Returns the double data of the key in the parameters.
351 double OH_CommonEvent_GetDoubleFromParameters(const CommonEvent_Parameters* para, const char* key,
355 * @brief Get double array data from parameters data by key.
358 * @param key Indicates the key of parameters data.
363 int32_t OH_CommonEvent_GetDoubleArrayFromParameters(const CommonEvent_Parameters* para, const char* key,