screenshot: add auto rotation set and get API