public final class Device extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
shareUrl(String url,
String title,
String text)
Let the user select to share the given url to a device specific list of apps.
|
static void |
vibrate(int... vibrationPattern)
Let the device vibrate with the given pattern.
|
public static void vibrate(int... vibrationPattern)
vibrationPattern - The pattern is built as follows: length, pause, length, pause etc.public static void shareUrl(String url, String title, String text)
url - The url that should be shared.title - A title that may be displayed.text - A description that may be displayed.Copyright © 2020 XDEV Software Corp.. All rights reserved.