Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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
PRO

May 22, 2019
Tweet

Transcript

  1. (PPHMF*03FDBQBU-*/&

  2. %BJTVLF4IJNJ[V -*/&$PSQPSBUJPO 6*5 'SPOUFOE%FW &OHJOFFSJOH.BOBHFS 1SPEVDU.BOBHFS 5XJUUFS!UPSJ@KQ

  3. IUUQTCMPHHPPHMFUFDIOPMPHZEFWFMPQFSTUIJOHTXFBOOPVODFEJP

  4. None
  5. (PPHMF"TTJTUBOU %VQMFYPOUIFXFC *OUFSBDUJWF$BOWBT -PDBM)PNF4%, (PPHMF4FBSDI .JOJ"QQ (PPHMFDSBXMFSXJUIMBUFTUDISPNF $ISPNF 1SPKFDUGVHV 1FSDFQUJPOUPPMLJU

    1FSGPSNBODF 4FDVSJUZ1SJWBDZ -JHIUIPVTF ".1
  6. (PPHMF"TTJTUBOU %VQMFYPOUIFXFC *OUFSBDUJWF$BOWBT -PDBM)PNF4%, (PPHMF4FBSDI .JOJ"QQ (PPHMFDSBXMFSXJUIMBUFTUDISPNF $ISPNF 1SPKFDUGVHV 1FSGPSNBODF

    4FDVSJUZ1SJWBDZ -JHIUIPVTF 1FSDFQUJPOUPPMLJU ".1
  7. *OUFSBDUJWF$BOWBT IUUQTEFWFMPQFSTHPPHMFDPNBDUJPOT JOUFSBDUJWFDBOWBT

  8. IUUQTEFWFMPQFSTHPPHMFDPNBDUJPOTJOUFSBDUJWFDBOWBT

  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
  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>
  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');
  12. -JNJUBUJPOT w DPPLJF❌ w MPDBMTUPSBHF❌ w DBNFSB❌ w HFPMPDBUJPO❌ w

    QPQVQ BMFSU DPOpSN ❌ w YNMIUUQSFRVFTU❌ w .#NFNPSZ w /PTVQQPSU)-4
  13. 4JNVMBUPS

  14. 1FSDFQUJPO5PPMLJU IUUQTQFSDFQUJPOUPPMLJUEFW IUUQTXFCEFWQFSDFQUJPOUPPMLJU

  15. %FUFDUEBUBXJUIVTFS`T EFWJDFDBNFSB w #BSDPEF w 23$PEF w *NBHF w (FPMPDBUJPO

  16. None
  17. %FNP"QQ IUUQTJPQFSDFQUJPOUPPMLJUEFW

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

    FaceDetector().detect(img); const barcode = await new BarcodeDetector().detect(img);
  20. QSPKGVHV w $MPTFDBQBCJMJUZHBQ CFUXFFOUIFXFCBOE OBUJWF w DSCVHDPN RQSPKGVHV w IUUQCJUMZOFXGVHV

    SFRVFTU
  21. IUUQTEFWFMPQFSTHPPHMFDPN IUUQTXFCEFW

  22. l#VJMEJOHBNPSFIFMQGVM (PPHMFGPSFWFSZPOFz

  23. 5IBOLZPV