ot::Spinel::Buffer::SetFrameRemovedCallback() method
Sets the FrameRemoved callback and its context. Subsequent calls to this method will overwrite the previous callback and its context.
Arguments
aFrameRemovedCallback
Callback invoked when a frame is removed from buffer.
aFrameRemovedContext
A pointer to arbitrary context used with frame removed callback.