Demonstrates defining a function that is implemented by a native callback in the host application.