AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::sdkInterfaces::PowerResourceManagerInterface::PowerResourceId Class Reference

#include <PowerResourceManagerInterface.h>

Public Member Functions

std::string getResourceId () const
 
 PowerResourceId (const std::string &resourceId)
 Constructor. More...
 

Detailed Description

New APIs to support refcount and acquire with timeout. Use the below new APIs - create(), acquire(), release() and close() if you need refcounting or autorelease timeout support for your component.

Warning
Do not mix and match new and legacy APIs Class PowerResourceId used to represent a power resource

Constructor & Destructor Documentation

◆ PowerResourceId()

alexaClientSDK::avsCommon::sdkInterfaces::PowerResourceManagerInterface::PowerResourceId::PowerResourceId ( const std::string &  resourceId)
inline

Constructor.

Member Function Documentation

◆ getResourceId()

std::string alexaClientSDK::avsCommon::sdkInterfaces::PowerResourceManagerInterface::PowerResourceId::getResourceId ( ) const
inline

Getter for the resourceId string member

Returns
resourceId string member

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