Versions in this module Expand all Collapse all v0 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const BufferCacheUpdateTagCacheBuffers + const BufferCacheUpdateTagForgetBuffers + const DescriptorIBufferOwner + const DescriptorIBufferSubscriber + const DescriptorIBufferSubscription + const MethodIBufferOwnerOnBufferReleased + const MethodIBufferSubscriberOnBufferCacheUpdate + const MethodIBufferSubscriberOnComplete + const MethodIBufferSubscriberOnError + const MethodIBufferSubscriberOnNext + const MethodIBufferSubscriberOnSubscribe + const MethodIBufferSubscriptionCancel + const MethodIBufferSubscriptionRequest + const TransactionIBufferOwnerOnBufferReleased + const TransactionIBufferSubscriberOnBufferCacheUpdate + const TransactionIBufferSubscriberOnComplete + const TransactionIBufferSubscriberOnError + const TransactionIBufferSubscriberOnNext + const TransactionIBufferSubscriberOnSubscribe + const TransactionIBufferSubscriptionCancel + const TransactionIBufferSubscriptionRequest + type BufferAttachment struct + Buffer *common.HardwareBuffer + Owner IBufferOwner + func (s *BufferAttachment) MarshalParcel(p *parcel.Parcel) error + func (s *BufferAttachment) UnmarshalParcel(p *parcel.Parcel) error + type BufferCacheUpdate struct + CacheBuffers BufferCacheUpdateCacheBuffers + ForgetBuffers BufferCacheUpdateForgetBuffers + Tag int32 + func (u *BufferCacheUpdate) GetCacheBuffers() (BufferCacheUpdateCacheBuffers, bool) + func (u *BufferCacheUpdate) GetForgetBuffers() (BufferCacheUpdateForgetBuffers, bool) + func (u *BufferCacheUpdate) MarshalParcel(p *parcel.Parcel) error + func (u *BufferCacheUpdate) SetCacheBuffers(v BufferCacheUpdateCacheBuffers) + func (u *BufferCacheUpdate) SetForgetBuffers(v BufferCacheUpdateForgetBuffers) + func (u *BufferCacheUpdate) UnmarshalParcel(p *parcel.Parcel) error + type BufferCacheUpdateCacheBuffers struct + Attachments []BufferAttachment + func (s *BufferCacheUpdateCacheBuffers) MarshalParcel(p *parcel.Parcel) error + func (s *BufferCacheUpdateCacheBuffers) UnmarshalParcel(p *parcel.Parcel) error + type BufferCacheUpdateForgetBuffers struct + BufferIds []int64 + func (s *BufferCacheUpdateForgetBuffers) MarshalParcel(p *parcel.Parcel) error + func (s *BufferCacheUpdateForgetBuffers) UnmarshalParcel(p *parcel.Parcel) error + type BufferOwnerProxy struct + Remote binder.IBinder + func NewBufferOwnerProxy(remote binder.IBinder) *BufferOwnerProxy + func (p *BufferOwnerProxy) AsBinder() binder.IBinder + func (p *BufferOwnerProxy) OnBufferReleased(ctx context.Context, bufferId int64, releaseFence *int32) error + type BufferOwnerStub struct + Impl IBufferOwner + Transport binder.VersionAwareTransport + func (s *BufferOwnerStub) Descriptor() string + func (s *BufferOwnerStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type BufferSubscriberProxy struct + Remote binder.IBinder + func NewBufferSubscriberProxy(remote binder.IBinder) *BufferSubscriberProxy + func (p *BufferSubscriberProxy) AsBinder() binder.IBinder + func (p *BufferSubscriberProxy) OnBufferCacheUpdate(ctx context.Context, update BufferCacheUpdate) error + func (p *BufferSubscriberProxy) OnComplete(ctx context.Context) error + func (p *BufferSubscriberProxy) OnError(ctx context.Context) error + func (p *BufferSubscriberProxy) OnNext(ctx context.Context, frame Frame) error + func (p *BufferSubscriberProxy) OnSubscribe(ctx context.Context, subscription IBufferSubscription) error + type BufferSubscriberStub struct + Impl IBufferSubscriber + Transport binder.VersionAwareTransport + func (s *BufferSubscriberStub) Descriptor() string + func (s *BufferSubscriberStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type BufferSubscriptionProxy struct + Remote binder.IBinder + func NewBufferSubscriptionProxy(remote binder.IBinder) *BufferSubscriptionProxy + func (p *BufferSubscriptionProxy) AsBinder() binder.IBinder + func (p *BufferSubscriptionProxy) Cancel(ctx context.Context) error + func (p *BufferSubscriptionProxy) Request(ctx context.Context, n int64) error + type BufferSubscriptionStub struct + Impl IBufferSubscription + Transport binder.VersionAwareTransport + func (s *BufferSubscriptionStub) Descriptor() string + func (s *BufferSubscriptionStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type Frame struct + BufferId int64 + Fence int32 + PresentTimeNs int64 + func (s *Frame) MarshalParcel(p *parcel.Parcel) error + func (s *Frame) UnmarshalParcel(p *parcel.Parcel) error + type IBufferOwner interface + AsBinder func() binder.IBinder + OnBufferReleased func(ctx context.Context, bufferId int64, releaseFence *int32) error + func NewBufferOwnerStub(impl IBufferOwnerServer) IBufferOwner + type IBufferOwnerServer interface + OnBufferReleased func(ctx context.Context, bufferId int64, releaseFence *int32) error + type IBufferSubscriber interface + AsBinder func() binder.IBinder + OnBufferCacheUpdate func(ctx context.Context, update BufferCacheUpdate) error + OnComplete func(ctx context.Context) error + OnError func(ctx context.Context) error + OnNext func(ctx context.Context, frame Frame) error + OnSubscribe func(ctx context.Context, subscription IBufferSubscription) error + func NewBufferSubscriberStub(impl IBufferSubscriberServer) IBufferSubscriber + type IBufferSubscriberServer interface + OnBufferCacheUpdate func(ctx context.Context, update BufferCacheUpdate) error + OnComplete func(ctx context.Context) error + OnError func(ctx context.Context) error + OnNext func(ctx context.Context, frame Frame) error + OnSubscribe func(ctx context.Context, subscription IBufferSubscription) error + type IBufferSubscription interface + AsBinder func() binder.IBinder + Cancel func(ctx context.Context) error + Request func(ctx context.Context, n int64) error + func NewBufferSubscriptionStub(impl IBufferSubscriptionServer) IBufferSubscription + type IBufferSubscriptionServer interface + Cancel func(ctx context.Context) error + Request func(ctx context.Context, n int64) error