Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IBufferQueueModuleFactory

interface IBufferQueueModuleFactory
Extends com.amazon.apmf.IStandard This is Factory interface for BufferQueue module

Methods

createBufferQueue()

IBufferQueue* createBufferQueue(out com.amazon.apmf.Uuid* writerPassword)
Factory method for creating an empty bufferqueue.

Parameters

writerPassword (out)
com.amazon.apmf.Uuid* — Required for attaching to the bufferQueue as writer.

Returns

IBufferQueue* IBufferQueue

getBufferQueueFromUuid()

IBufferQueue* getBufferQueueFromUuid(com.amazon.apmf.Uuid id)
Factory method for getting IBufferQueue object from Uuid. This method must be used by queue subscribers to get IBufferQueue object which they can use to attach as writers OR readers of the queue. Note: Subscribers of the queue should get Uuid of the queue from queue creators. Throws an exception if there is no queue associated with the passed Uuid

Parameters

id
com.amazon.apmf.Uuid — Required pass the Uuid to get its corresponding IBufferQueue

Returns

IBufferQueue* IBufferQueue object associated with the passed Uuid
Last modified on October 29, 2026