Code Monkey home page Code Monkey logo

xapi-samples's Introduction

Handy samples for xAPI UI Extensions and Macros published

This repo can get you quickly ramp up with CE programmability and xAPI, with examples for:

New to xAPI UI Extensions and Macros?

  • check the QuickStart Guide to learn to load Controls and Macros to your device,
  • take a DevNet Tutorial from the xAPI track (intro to xAPI and creating custom UI Extensions)

Don't have a CE device at hand to mess up with?

Going Futher Once you're done browsing the examples in this repo, here are a few suggestions

T-Shell Tips for developers

Simply SSH to your Collaboration Device and run the commands below:

Listen to events

The 'xfeedback' commands let you see all events fired on your device. This is very useful to investigate possibilities, and take shortcut without going through the whole documentation at times.

# Listen to all notifications (events, status, commands)
xfeedback register /
# Listen to UI Extensions events
xfeedback register /Event/UserInterface/Extensions
# Stop listening
xfeedback deregisterall

Send messages

Sending messages lets you craft custom APIs, by coming up with your own protocols, aka, Event Driven Architectures. One code will send a serialized message, the other code will capture the message and decode it.

# Listen to messages
xfeedback register /Event/Message/Send
# Send message
xCommand Message Send Text: "This is random text"

Check the message Macro for an example in JavaScript.

xapi-samples's People

Contributors

objectisadvantag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xapi-samples's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.