Web - Google IO 2019 Recap at LINE -

Web - Google IO 2019 Recap at LINE -

Google I/O 2019 Recap at LINE
清水 大輔

53850955f15249a1a9dc49df6113e400?s=128

LINE Developers

May 22, 2019
Tweet

Transcript

  1. 4.
  2. 9.

    *NNFSTJWF3FTQPOTF DPOTU\EJBMPHqPX *NNFSTJWF3FTQPOTF^SFRVJSF BDUJPOTPOHPPHMF  DPOTUBQQEJBMPHqPX \EFCVHUSVF^  BQQJOUFOU XFMDPNF

     DPOW \ DPOWBTL 8FMDPNF%PZPVXBOUNFUPDIBOHFDPMPSPSQBVTFTQJOOJOH   :PVDBOBMTPUFMMNFUPBTLZPVMBUFS  DPOWBTL OFX*NNFSTJWF3FTQPOTF \ VSMAIUUQT\pSFCBTF$POpHQSPKFDU*E^pSFCBTFBQQDPNA  ^  ^  IUUQTEFWFMPQFSTHPPHMFDPNBDUJPOTJOUFSBDUJWFDBOWBT
  3. 10.

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device- width,initial-scale=1">

    <title>Interactive Canvas Sample</title> <!-- Load Assistant Canvas CSS and JavaScript --> <link rel="stylesheet" href="https://www.gstatic.com/ assistant/immersivecanvas/css/styles.css"> <script src="https://www.gstatic.com/assistant/ immersivecanvas/js/immersive_canvas_api.js"></script> </head> <body> <div id="view" class="view"> </div> <script src="main.js"></script> </body> </html>
  4. 11.

    "TTJTUBOU$BOWBT"1* // Called by the Interactive Canvas web app once

    it has loaded to register callbacks. const callbacks = { onUpdate(state) { if ('spin' in state) { spin = state.spin; } }, }; assistantCanvas.ready(callbacks); // Sends a text query to the conversational action assistantCanvas.sendTextQuery('instructions');
  5. 12.

    -JNJUBUJPOT w DPPLJF❌ w MPDBMTUPSBHF❌ w DBNFSB❌ w HFPMPDBUJPO❌ w

    QPQVQ BMFSU DPOpSN ❌ w YNMIUUQSFRVFTU❌ w .#NFNPSZ w /PTVQQPSU)-4
  6. 13.
  7. 16.
  8. 18.
  9. 19.

    4IBQF%FUFDUJPO"1* w IUUQTXJDHHJUIVCJPTIBQFEFUFDUJPOBQJ w %FUFDU#BSDPEFBOE'BDFT const face = await new

    FaceDetector().detect(img); const barcode = await new BarcodeDetector().detect(img);
  10. 23.