Skip to main content
Version: 21 Aug 2024

StreamConfigurationUtility

NameSpace: Android

Public Methods

bool Contains

public static bool Contains(
this NativeArray< StreamConfiguration > configs,
in StreamConfiguration config
)

Parameters

TypeNameDescription
this NativeArray< StreamConfiguration >configs
in StreamConfigurationconfig

bool TryFindLargestConfigurationMatchingFormat

public static bool TryFindLargestConfigurationMatchingFormat(
this NativeArray< StreamConfiguration > configs,
MediaFormat format,
out StreamConfiguration outConfig
)

Parameters

TypeNameDescription
this NativeArray< StreamConfiguration >configs
MediaFormatformat
out StreamConfigurationoutConfig

bool TryFindSmallestConfigurationMatchingFormat

public static bool TryFindSmallestConfigurationMatchingFormat(
this NativeArray< StreamConfiguration > configs,
MediaFormat format,
out StreamConfiguration outConfig
)

Parameters

TypeNameDescription
this NativeArray< StreamConfiguration >configs
MediaFormatformat
out StreamConfigurationoutConfig