Netless

Netless

  • JavaScript
  • Android
  • iOS
  • Server
  • FAQ
  • GitHub
  • πŸ‡¨πŸ‡³ δΈ­ζ–‡

β€ΊQuick start

Overview

  • Introduction
  • Open source
  • Version history

Quick start

  • Overview
  • Client integration
  • Initialization
  • Create Room
  • Join room

Features

  • Doc-conversion & replay
  • State management
  • Tools
  • Perspective operation
  • Whiteboard operation
  • Custom event
  • Scene management
  • Big class read-only
  • Replay

Upgrade

  • 2.0 v2migration

Initialization

Before initializing the SDK, please make sure that you have completed registering the account to obtain tokens and integrate the installation package. For details, see Integration Client.

Adding UI code

  • We use Android XML to describe the UI view. Modify activity_main.xml to the following content. You can see that the entire view is filled by a whiteboard page. This page implementation (com.herewhite.sdk.WhiteBroadView) is provided by the White Android SDK.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".MainActivity">

    <com.herewhite.sdk.WhiteBroadView
        android:id="@+id/white"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:visibility="visible" />

</LinearLayout>

εˆε§‹εŒ– SDK


import com.herewhite.sdk.*;
import com.herewhite.sdk.domain.*;

...
WhiteBroadView whiteBroadView = findViewById(R.id.white);
WhiteSdk whiteSdk = new WhiteSdk(whiteBroadView this, new WhiteSdkConfiguration(DeviceType.touch, 10, 0.1));
Last updated on 1/14/2020 by 伍双
← Client integrationCreate Room β†’
  • Adding UI code
  • εˆε§‹εŒ– SDK
Netless
Let's interactive.
Product
ConsoleHomepageDemoGithub
Company
Join usServicePrivacy
Contact
support@netless.linkCommunity
Copyright Β© 2020 Netless