Back to Exoplayer

Allocator.AllocationNode (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/upstream/Allocator.AllocationNode.html

latest1.3 KB
Original Source

Package com.google.android.exoplayer2.upstream

Interface Allocator.AllocationNode


public static interfaceAllocator.AllocationNode

A node in a chain of Allocations.

Method Summary

All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description | | --- | --- | --- | | Allocation | getAllocation() | Returns the Allocation associated to this chain node. | | Allocator.AllocationNode | next() | Returns the next chain node, or null if this is the last node in the chain. |

Method Detail

- 

getAllocation

[Allocation](Allocation.html "class in com.google.android.exoplayer2.upstream")getAllocation()

Returns the Allocation associated to this chain node.

- 

next

@Nullable[Allocator.AllocationNode](Allocator.AllocationNode.html "interface in com.google.android.exoplayer2.upstream")next()

Returns the next chain node, or null if this is the last node in the chain.