How to use the goprocam.constants.Hero3Status.Charging function in goprocam

To help you get started, we’ve selected a few goprocam examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github KonradIT / gopro-py-api / examples / hero3_tests.py View on Github external
gpCam.infoCamera("model_name")
print(gpCam.getStatus(constants.Hero3Status.SpotMeter))
print(gpCam.getStatus(constants.Hero3Status.TimeLapseInterval))
print(gpCam.getStatus(constants.Hero3Status.FOV))
print(gpCam.getStatus(constants.Hero3Status.Beep))
print(gpCam.getStatus(constants.Hero3Status.LED))
print(gpCam.getStatus(constants.Hero3Status.AutoOff))
print(gpCam.getStatus(constants.Hero3Status.VideoRes))
print(gpCam.getStatus(constants.Hero3Status.FPS))
print(gpCam.getStatus(constants.Hero3Status.Loop))
print(gpCam.getStatus(constants.Hero3Status.WhiteBalance))
print(gpCam.getStatus(constants.Hero3Status.IsRecording))
print(gpCam.getStatus(constants.Hero3Status.PicRes))
print(gpCam.getStatus(constants.Hero3Status.TimeRecordedMins))
print(gpCam.getStatus(constants.Hero3Status.TimeRecordedSecs))
print(gpCam.getStatus(constants.Hero3Status.Charging))
print(gpCam.getStatus(constants.Hero3Status.PicturesTaken))
print(gpCam.getStatus(constants.Hero3Status.VideoRemaining))
print(gpCam.getStatus(constants.Hero3Status.VideosTaken))
github KonradIT / gopro-py-api / goprocam / GoProCamera.py View on Github external
return "1080p"
                if value == "04":
                    return "1440p"
                if value == "05":
                    return "2.7K"
                if value == "06":
                    return "2.7K Cinema"
                if value == "07":
                    return "4K"
                if value == "08":
                    return "4K Cinema"
                if value == "09":
                    return "1080p SuperView"
                if value == "0a":
                    return "720p SuperView"
            if param == constants.Hero3Status.Charging:
                if value == "3":
                    return "NO"
                if value == "4":
                    return "YES"
            if param == constants.Hero3Status.Protune:
                if value == "4":
                    return "OFF"
                if value == "6":
                    return "ON"