AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include "CertifiedSender/SQLiteMessageStorage.h"
#include <SQLiteStorage/SQLiteUtils.h>
#include <SQLiteStorage/SQLiteStatement.h>
#include <AVSCommon/Utils/File/FileUtils.h>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <fstream>
Namespaces | |
alexaClientSDK | |
Whether or not curl logs should be emitted. | |
alexaClientSDK::certifiedSender | |
Macros | |
#define | LX(event) alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event) |
Functions | |
static const std::string | alexaClientSDK::certifiedSender::TAG ("SQLiteMessageStorage") |
String to identify log entries originating from this file. More... | |
Variables | |
static const std::string | alexaClientSDK::certifiedSender::CERTIFIED_SENDER_CONFIGURATION_ROOT_KEY = "certifiedSender" |
The key in our config file to find the root of settings for this Capability Agent. More... | |
static const std::string | alexaClientSDK::certifiedSender::CERTIFIED_SENDER_DB_FILE_PATH_KEY = "databaseFilePath" |
The key in our config file to find the database file path. More... | |
static const std::string | alexaClientSDK::certifiedSender::MESSAGES_TABLE_NAME = "messages_with_uri" |
The name of the alerts table. More... | |
static const std::string | alexaClientSDK::certifiedSender::DATABASE_COLUMN_ID_NAME = "id" |
The name of the 'id' field we will use as the primary key in our tables. More... | |
static const std::string | alexaClientSDK::certifiedSender::DATABASE_COLUMN_MESSAGE_TEXT_NAME = "message_text" |
The name of the 'message_text' field we will use as the primary key in our tables. More... | |
static const std::string | alexaClientSDK::certifiedSender::DATABASE_COLUMN_URI = "uri" |
The name of the 'uriPathExtension' field corresponding to the uri path extension of the message. More... | |
static const std::string | alexaClientSDK::certifiedSender::DATABASE_COLUMN_TIMESTAMP = "timestamp" |
The name of the 'timestamp' field is the creation time of the message. More... | |
static const std::string | alexaClientSDK::certifiedSender::DATABASE_MESSAGE_SIZE_LIMIT = "25" |
The limit for the load() from the storage, it should be equal to CERTIFIED_SENDER_QUEUE_SIZE_WARN_LIMIT. More... | |
static const std::string | alexaClientSDK::certifiedSender::DATABASE_MESSAGE_AGE_LIMIT = "5 minutes" |
The age limit of the message that can stay in the database. More... | |
static const std::string | alexaClientSDK::certifiedSender::CREATE_MESSAGES_TABLE_SQL_STRING |
The SQL string to create the alerts table. More... | |
#define LX | ( | event | ) | alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event) |
Create a LogEntry using this file's TAG and the specified event string.
The | event string for this LogEntry . |
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0