RxTask

RxJava wrapper APIs for Google Play Services including Kotlin extensions.

Лицензия

Лицензия

Группа

Группа

com.github.niqo01.rxplayservices
Идентификатор

Идентификатор

rx-play-services-task
Последняя версия

Последняя версия

0.4.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

RxTask
RxJava wrapper APIs for Google Play Services including Kotlin extensions.
Ссылка на сайт

Ссылка на сайт

https://github.com/niqo01/RxPlayServices
Система контроля версий

Система контроля версий

https://github.com/niqo01/RxPlayServices

Скачать rx-play-services-task

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.niqo01.rxplayservices/rx-play-services-task/ -->
<dependency>
    <groupId>com.github.niqo01.rxplayservices</groupId>
    <artifactId>rx-play-services-task</artifactId>
    <version>0.4.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.niqo01.rxplayservices/rx-play-services-task/
implementation 'com.github.niqo01.rxplayservices:rx-play-services-task:0.4.0'
// https://jarcasting.com/artifacts/com.github.niqo01.rxplayservices/rx-play-services-task/
implementation ("com.github.niqo01.rxplayservices:rx-play-services-task:0.4.0")
'com.github.niqo01.rxplayservices:rx-play-services-task:aar:0.4.0'
<dependency org="com.github.niqo01.rxplayservices" name="rx-play-services-task" rev="0.4.0">
  <artifact name="rx-play-services-task" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.niqo01.rxplayservices', module='rx-play-services-task', version='0.4.0')
)
libraryDependencies += "com.github.niqo01.rxplayservices" % "rx-play-services-task" % "0.4.0"
[com.github.niqo01.rxplayservices/rx-play-services-task "0.4.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
io.reactivex.rxjava2 : rxjava jar 2.1.6
com.google.android.gms » play-services-base jar 11.6.0
com.android.support » support-annotations jar 27.0.2

Модули Проекта

Данный проект не имеет модулей.

RxTask (DEPRECATED)

RxJava 2 binding API for Google Play Services Task APIs.

RxTask can be use standalone for any Google or Firebase APIs returning Task or, bundled with one of the GoogleAPIs helper project provided.

Download
implementation 'com.github.niqo01.rxplayservices:rx-play-services-task:0.4.0'
Example
    GoogleSignInClient client = GoogleSignIn.getClient(context, options);
    Single<GoogleSignInAccount> silentSignIn = SingleTask.create(() -> client.silentSignIn());
    ...
    Completable revokeAccess = CompletableTask.create(() -> client.revokeAccess());

GoogleAPIs

The following projects leverage RxTask and wrap the new GoogleApi introduced in version 11.6.0.

API Dependency
Auth com.github.niqo01.rxplayservices:rx-play-services-auth:0.4.0
Location com.github.niqo01.rxplayservices:rx-play-services-location:0.4.0
Places com.github.niqo01.rxplayservices:rx-play-services-places:0.4.0
Fitness com.github.niqo01.rxplayservices:rx-play-services-fitness:0.4.0
Wallet com.github.niqo01.rxplayservices:rx-play-services-wallet:0.4.0
Location Example
    RxFusedLocationProviderClient rxClient = new RxFusedLocationProviderClient(context);
    Observable<LocationResult> result = rxClient
            .requestLocationRequestUpdates(LocationRequest.create());

Snapshots

Snapshots of the development version are available in Sonatype's snapshots repository.

License

Copyright (C) 2017 Nicolas Milliard

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Версии библиотеки

Версия
0.4.0
0.3.0
0.2.0
0.1.0