App-extension have many type, you can find from Apple developer site.
Custom keyboard also an extension type..
Types of App Extensions
Share
By providing more sharing options, iOS 8 and OS X enable your app to share photos, videos, websites, and other content with users on social networks and...