AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Static Public Member Functions | List of all members
alexaClientSDK::bluetoothImplementations::blueZ::PairingAgent Class Reference

#include <PairingAgent.h>

Inheritance diagram for alexaClientSDK::bluetoothImplementations::blueZ::PairingAgent:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::bluetoothImplementations::blueZ::PairingAgent:
Collaboration graph
[legend]

Public Member Functions

virtual ~PairingAgent ()
 Destructor. More...
 
- Public Member Functions inherited from alexaClientSDK::bluetoothImplementations::blueZ::DBusObject< PairingAgent >
virtual ~DBusObject ()=default
 
- Public Member Functions inherited from alexaClientSDK::bluetoothImplementations::blueZ::DBusObjectBase
virtual ~DBusObjectBase ()
 
bool registerWithDBus ()
 
void unregisterObject ()
 

Static Public Member Functions

static std::unique_ptr< PairingAgentcreate (std::shared_ptr< DBusConnection > connection)
 

Additional Inherited Members

- Public Types inherited from alexaClientSDK::bluetoothImplementations::blueZ::DBusObject< PairingAgent >
using commandHandler_t = void(PairingAgent ::*)(GVariant *parameters, GDBusMethodInvocation *invocation)
 
- Protected Member Functions inherited from alexaClientSDK::bluetoothImplementations::blueZ::DBusObject< PairingAgent >
 DBusObject (std::shared_ptr< DBusConnection > connection, std::string xmlInterfaceIntrospection, std::string objectPath, std::unordered_map< std::string, commandHandler_t > methodMap)
 
- Protected Member Functions inherited from alexaClientSDK::bluetoothImplementations::blueZ::DBusObjectBase
 DBusObjectBase (std::shared_ptr< DBusConnection > connection, const std::string &xmlInterfaceIntrospection, const std::string &objectPath, GDBusInterfaceMethodCallFunc methodCallFunc)
 
void onMethodCalledInternal (const char *methodName)
 

Detailed Description

A DBus object to handle pairing requests from BlueZ. This implementation by default automatically authorizes all pairing requests.

Constructor & Destructor Documentation

◆ ~PairingAgent()

virtual alexaClientSDK::bluetoothImplementations::blueZ::PairingAgent::~PairingAgent ( )
virtual

Destructor.

Member Function Documentation

◆ create()

static std::unique_ptr<PairingAgent> alexaClientSDK::bluetoothImplementations::blueZ::PairingAgent::create ( std::shared_ptr< DBusConnection connection)
static

Creates an instance of the PairingAgent.

Parameters
connectionA DBusConnection object.
Returns
An instance of the PairingAgent if successful, else a nullptr.

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0