toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
exoplayer2
switch theme
search in API
exoplayer2
/
com.brightcove.player.config
/
AllocatorConfig
/
Builder
Builder
open
class
Builder
The AllocatorConfig Builder.
Members
Constructors
Builder
Link copied to clipboard
constructor
(
)
Instantiates a new AllocatorConfig.Builder.
Functions
build
Link copied to clipboard
open
fun
build
(
)
:
AllocatorConfig
Builds the AllocatorConfig.
set
Individual
Allocation
Size
Link copied to clipboard
open
fun
setIndividualAllocationSize
(
individualAllocationSize
:
Int
)
:
AllocatorConfig.Builder
Sets the length of each individual Allocation.
set
Initial
Allocation
Count
Link copied to clipboard
open
fun
setInitialAllocationCount
(
initialAllocationCount
:
Int
)
:
AllocatorConfig.Builder
Sets the number of allocations to create up front.
set
Trim
On
Reset
Link copied to clipboard
open
fun
setTrimOnReset
(
trimOnReset
:
Boolean
)
:
AllocatorConfig.Builder
Sets whether memory is freed when the allocator is reset.