Method for getting interface_orientation