irkit / android-sdk Goto Github PK
View Code? Open in Web Editor NEWIRKit SDK for Android
License: Apache License 2.0
IRKit SDK for Android
License: Apache License 2.0
@Override
protected void onResume() {
super.onResume();
IRKit irkit = IRKit.sharedInstance();
// ローカルネットワーク内のIRKit検索を開始
// Start for discovering IRKit in local network
// 開始搜尋區域網路內的IRKit
irkit.startServiceDiscovery();
// Wi-Fi接続状態の変化を監視して、Wi-Fiが有効になった際に
// IRKit検索を開始し、Wi-Fiが無効になった際に検索を停止する
// Monitoring Wi-Fi state, Start for discovery IRKit
// when Wi-Fi Connected, Stop when Wi-Fi Disconnect.
// 監控Wi-Fi的連接狀況,Wi-Fi連接時開始搜索IRKit,Wi-Fi
// 斷掉時停止搜索。
irkit.registerWifiStateChangeListener();
// clientkeyを取得していない場合は取得する
// Get clientkey if do not have one.
// 假如還沒拿到clientkey就拿一個
irkit.registerClient();
}
@Override
protected void onPause() {
super.onPause();
IRKit irkit = IRKit.sharedInstance();
// ローカルネットワーク内のIRKit検索を停止
// Stop for discovering IRKit in local network
// 停止搜尋區域網路內的IRKit
irkit.stopServiceDiscovery();
// Wi-Fi状態の変化の監視をやめる
// Stop for monitoring Wi-Fi State
// 停止監視Wi-Fi狀態
irkit.unregisterWifiStateChangeListener();
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.