Skip to content

Commit

Permalink
整形
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmae committed Feb 5, 2017
1 parent 699364c commit 51a074b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ dependencies {
}
```

## Documents

I described Javadoc comments. Please refer to it for more information.
- Javadoc in Japanese
- https://ohmae.github.io/mmupnp/javadoc/

### Initialize and Start
```
ControlPoint cp = new ControlPoint();
Expand All @@ -67,7 +61,6 @@ NetworkInterface ni = NetworkInterface.getByName("eth0");
ControlPoint cp = new ControlPoint(ni);
```


### M-SEARCH
Call ControlPoint#search() or ControlPoint#search(String).
```
Expand All @@ -78,7 +71,6 @@ cp.search("upnp:rootdevice"); // To use specific ST. In this case "upnp:rootdevi
```
These methods send one M-SEARCH packet to all interfaces.


### Invoke Action
For example, to invoke "Browse" (ContentDirectory) action...
```
Expand Down Expand Up @@ -126,6 +118,12 @@ cp.terminate();
It is not possible to re-initialize.
When you want to reset, try again from the constructor call.

### Documents

I described Javadoc comments. Please refer to it for more information.
- Javadoc in Japanese
- https://ohmae.github.io/mmupnp/javadoc/

## Author
大前 良介 (OHMAE Ryosuke)
http://www.mm2d.net/
Expand Down

0 comments on commit 51a074b

Please sign in to comment.