 
 extension ViewController: AVLiveQueryDelegate {
     
-}
+    func liveQuery(_ liveQuery: AVLiveQuery, objectDidCreate object: Any) {
+        
+        assert(self.isShowFileCallbackAlert == false)
+        
+        self.showAlert(title: "Object Did Create", message: "\(object)")
+    }
+    
+    func liveQuery(_ liveQuery: AVLiveQuery, objectDidDelete object: Any) {
+        
+        assert(self.isShowFileCallbackAlert == false)
+        
+        self.showAlert(title: "Object Did Delete", message: "\(object)")
+    }
+    
+}

        AVInstallation.default().deviceToken = UUID().uuidString
    }
    
    func liveQuerySubscribe() {
        self.liveQuery.subscribe { (succeeded: Bool, error: Error?) in
            
            guard succeeded else {

        case 2:
            self.changeDeviceToken()
        case 3:
            self.liveQuerySubscribeFile()
        case 4:
            self.createFile()
        case 5:
            let alert: UIAlertController = UIAlertController(title: "Input", message: "objectId of deleting file", preferredStyle: .alert)
            
            alert.addTextField(configurationHandler: { _ in })
            alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
            alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { [weak alert] _ in
                
                if let text: String = alert?.textFields?.first?.text {
                    
                   self.deleteFile(with: text)
                }
            }))
            
            self.present(alert, animated: true, completion: nil)
        case 6:
            self.liveQueryUnsubscribeFile()
        default:
            fatalError()
        }
