A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/android/reference/com/google/android/gms/location/GeofencingRequest below:

GeofencingRequest | Google Play services

GeofencingRequest

Stay organized with collections Save and categorize content based on your preferences.

Nested Class Summary Constant Summary Inherited Constant Summary From interface android.os.Parcelable int CONTENTS_FILE_DESCRIPTOR int PARCELABLE_WRITE_RETURN_VALUE Field Summary Public Method Summary Inherited Method Summary From class java.lang.Object Object

clone()

boolean void

finalize()

final Class<?>

getClass()

int

hashCode()

final void

notify()

final void

notifyAll()

String

toString()

final void

wait(long arg0, int arg1)

final void

wait(long arg0)

final void

wait()

From interface android.os.Parcelable abstract int

describeContents()

abstract void writeToParcel

(

Parcel

arg0, int arg1)

Constants public static final int INITIAL_TRIGGER_DWELL

A flag indicating that geofencing service should trigger Geofence.GEOFENCE_TRANSITION_DWELL notification at the moment when the geofence is added and if the device is already inside that geofence for some time.

Constant Value: 4

public static final int INITIAL_TRIGGER_ENTER

A flag indicating that geofencing service should trigger Geofence.GEOFENCE_TRANSITION_ENTER notification at the moment when the geofence is added and if the device is already inside that geofence.

Constant Value: 1

public static final int INITIAL_TRIGGER_EXIT

A flag indicating that geofencing service should trigger Geofence.GEOFENCE_TRANSITION_EXIT notification at the moment when the geofence is added and if the device is already outside that geofence.

Constant Value: 2

Fields Public Methods public List<Geofence> getGeofences ()

Gets the list of geofences to be monitored.

Returns public int getInitialTrigger ()

Gets the triggering behavior at the moment when the geofences are added.

public void writeToParcel (Parcel dest, int flags)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`GeofencingRequest` specifies a list of geographical areas (geofences) to monitor and how related notifications should be delivered."],["You can define the initial triggering behavior for notifications, such as when a device enters, exits, or dwells within a geofence."],["Use `GeofencingClient.addGeofences()` to start monitoring the specified geofences."],["The `GeofencingRequest` object is built using a `GeofencingRequest.Builder` and includes details about the geofences and initial trigger conditions."],["It provides methods for retrieving the list of geofences and the initial trigger behavior."]]],["`GeofencingRequest` specifies geofences to monitor and how notifications are reported. Key actions include obtaining the geofence list via `getGeofences()` and determining initial trigger behavior using `getInitialTrigger()`. The class supports `INITIAL_TRIGGER_ENTER`, `INITIAL_TRIGGER_EXIT`, and `INITIAL_TRIGGER_DWELL` for defining notification triggers when geofences are added, based on the device's current location. `GeofencingRequest` also provides `writeToParcel` to write to a parcel and uses a builder `GeofencingRequest.Builder` to create itself.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4