Back to Filament

isProtectedContentSupported

docs/android/dokka/filament-android/com.google.android.filament/-swap-chain/is-protected-content-supported.md

1.75.0823 B
Original Source

//filament-android/com.google.android.filament/SwapChain/isProtectedContentSupported

isProtectedContentSupported

[main]
open fun isProtectedContentSupported(engine: Engine): Boolean

Return whether createSwapChain supports the CONFIG_PROTECTED_CONTENT flag. The default implementation returns false.

Return

true if CONFIG_PROTECTED_CONTENT is supported, false otherwise.

Parameters

main

engineA reference to the filament Engine

See also

SwapChainFlags