IT. Expert System.

Android Reference

VoicemailContract


android.provider

Class VoicemailContract



  • public class VoicemailContract
    extends Object
    The contract between the voicemail provider and applications. Contains definitions for the supported URIs and columns.

    The content providers exposes two tables through this interface:

    • Voicemails table: This stores the actual voicemail records. The columns and URIs for accessing this table are defined by the VoicemailContract.Voicemails class.
    • Status table: This provides a way for the voicemail source application to convey its current state to the system. The columns and URIS for accessing this table are defined by the VoicemailContract.Status class.

    The minimum permission needed to access this content provider is Manifest.permission#ADD_VOICEMAIL

    Voicemails are inserted by what is called as a "voicemail source" application, which is responsible for syncing voicemail data between a remote server and the local voicemail content provider. "voicemail source" application should always set the PARAM_KEY_SOURCE_PACKAGE in the URI to identify its package.

    In addition to the ContentObserver notifications the voicemail provider also generates broadcast intents to notify change for applications that are not active and therefore cannot listen to ContentObserver notifications. Broadcast intents with following actions are generated:

    • Field Detail

      • PARAM_KEY_SOURCE_PACKAGE

        public static final String PARAM_KEY_SOURCE_PACKAGE
        Parameter key used in the URI to specify the voicemail source package name.

        This field must be set in all requests that originate from a voicemail source.

        See Also:
        Constant Field Values
      • ACTION_NEW_VOICEMAIL

        public static final String ACTION_NEW_VOICEMAIL
        Broadcast intent when a new voicemail record is inserted.
        See Also:
        Constant Field Values
      • ACTION_FETCH_VOICEMAIL

        public static final String ACTION_FETCH_VOICEMAIL
        Broadcast intent to request a voicemail source to fetch voicemail content of a specific voicemail from the remote server. The voicemail to fetch is specified by the data uri of the intent.

        All voicemail sources are expected to handle this event. After storing the content the application should also set VoicemailContract.Voicemails.HAS_CONTENT to 1;

        See Also:
        Constant Field Values
      • SOURCE_PACKAGE_FIELD

        public static final String SOURCE_PACKAGE_FIELD
        Name of the source package field, which must be same across all voicemail related tables. This is an internal field.
        See Also:
        Constant Field Values


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 596 / . Delta: 0.02718 с