Added in API level 21

android.media.projection

Classes

MediaProjection A token granting applications the ability to capture screen contents and/or record system audio. 
MediaProjection.Callback Callbacks for the projection session. 
MediaProjectionConfig Configure the MediaProjection session requested from MediaProjectionManager#createScreenCaptureIntent(MediaProjectionConfig)
MediaProjectionManager Manages the retrieval of certain types of MediaProjection tokens.