How native method works in output activities like get text or screen scraping?

How native method works in output activities like get text or screen scraping? What exactly happens when screen is scraped using native method?