(self, basestation, camera)
return self.TriggerAndHandleEvent(basestation, trigger, callback)
This function causes the camera to record a fullframe snapshot.
        The presignedFullFrameSnapshotUrl url is returned.
        Use DownloadSnapshot() to download the actual image file.
This function causes the camera to record a fullframe snapshot.
        The presignedFullFrameSnapshotUrl url is returned.
        Use DownloadSnapshot() to download the actual image file.
This function causes the camera to record a fullframe snapshot . The presignedFullFrameSnapshotUrl url is returned . Use DownloadSnapshot () to download the actual image file .
def TriggerFullFrameSnapshot(self, basestation, camera):
        """
        This function causes the camera to record a fullframe snapshot.
        The presignedFullFrameSnapshotUrl url is returned.
        Use DownloadSnapshot() to download the actual image file.
        """
        def trigger(self):
            self.request.post("https://my.arlo.com/hmsweb/users/devices/fullFrameSnapshot", {"to":camera.get("parentId"),"from":self.user_id+"_web","resource":"cameras/"+camera.get("deviceId"),"action":"set","publishResponse":True,"transId":self.genTransId(),"properties":{"activityState":"fullFrameSnapshot"}}, headers={"xcloudId":camera.get("xCloudId")})

        def callback(self, event):
            if event.get("from") == basestation.get("deviceId") and event.get("resource") == "cameras/"+camera.get("deviceId") and event.get("action") == "fullFrameSnapshotAvailable":
                return event.get("properties", {}).get("presignedFullFrameSnapshotUrl")
            return None

        return self.TriggerAndHandleEvent(basestation, trigger, callback)
def TriggerFullFrameSnapshot ( self , basestation , camera ) : def trigger ( self ) : self . request . post ( "https://my.arlo.com/hmsweb/users/devices/fullFrameSnapshot" , { "to" : camera . get ( "parentId" ) , "from" : self . user_id + "_web" , "resource" : "cameras/" + camera . get ( "deviceId" ) , "action" : "set" , "publishResponse" : True , "transId" : self . genTransId ( ) , "properties" : { "activityState" : "fullFrameSnapshot" } } , headers = { "xcloudId" : camera . get ( "xCloudId" ) } ) def callback ( self , event ) : if event . get ( "from" ) == basestation . get ( "deviceId" ) and event . get ( "resource" ) == "cameras/" + camera . get ( "deviceId" ) and event . get ( "action" ) == "fullFrameSnapshotAvailable" : return event . get ( "properties" , { } ) . get ( "presignedFullFrameSnapshotUrl" ) return None return self . TriggerAndHandleEvent ( basestation , trigger , callback )