PreviewCallback

constructor(onCreated: (surface: Surface, width: Int, height: Int) -> Unit, onChanged: (width: Int, height: Int) -> Unit, onDestroyed: () -> Unit)