parse

open fun parse(value: Any, defaultProjectionFormat: Video.ProjectionFormat): Video.ProjectionFormat

Matches the given value to list of known projection format names.

Return

defaultProjectionFormat or reference to the matching video format.

Parameters

value

the value to be matches.

defaultProjectionFormat

the value that will be returned if the given value does not match any of the known projection format names.


open fun parse(value: Any): Video.ProjectionFormat

Matches the given value to list of known projection format names.

Return

null or reference to the matching projection format.

Parameters

value

the value to be matches.