CallLog.Calls Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the recent calls.
[Android.Runtime.Register("android/provider/CallLog$Calls", DoNotGenerateAcw=true)]
public class CallLog.Calls : Java.Lang.Object
[<Android.Runtime.Register("android/provider/CallLog$Calls", DoNotGenerateAcw=true)>]
type CallLog.Calls = class
inherit Object
- Inheritance
- Attributes
Remarks
Contains the recent calls.
Note: If you want to query the call log and limit the results to a single value, you should append the #LIMIT_PARAM_KEY
parameter to the content URI. For example:
{@code
getContentResolver().query(
Calls.CONTENT_URI.buildUpon().appendQueryParameter(LIMIT_PARAM_KEY, "1")
.build(),
null, null, null, null);
}
The call log provider enforces strict SQL grammar, so you CANNOT append "LIMIT" to the SQL query as below:
{@code
getContentResolver().query(Calls.CONTENT_URI, null, "LIMIT 1", null, null);
}
Java documentation for android.provider.CallLog.Calls
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
CallLog.Calls() | |
CallLog.Calls(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
AutoMissedEmergencyCall |
Value for |
AutoMissedMaximumDialing |
Value for |
AutoMissedMaximumRinging |
Value for |
BlockReason |
Where the |
BlockReasonBlockedNumber |
Value for |
BlockReasonCallScreeningService |
Value for |
BlockReasonDirectToVoicemail |
Value for |
BlockReasonNotBlocked |
Value for |
BlockReasonNotInContacts |
Value for |
BlockReasonPayPhone |
Value for |
BlockReasonRestrictedNumber |
Value for |
BlockReasonUnknownNumber |
Value for |
CachedFormattedNumber |
The cached phone number, formatted with formatting rules based on the country the user was in when the call was made or received. |
CachedLookupUri |
The cached URI to look up the contact associated with the phone number, if it exists. |
CachedMatchedNumber |
The cached phone number of the contact which matches this entry, if it exists. |
CachedName |
The cached name associated with the phone number, if it exists. |
CachedNormalizedNumber |
The cached normalized(E164) version of the phone number, if it exists. |
CachedNumberLabel |
The cached number label, for a custom number type, associated with the phone number, if it exists. |
CachedNumberType |
The cached number type (Home, Work, etc) associated with the phone number, if it exists. |
CachedPhotoId |
The cached photo id of the picture associated with the phone number, if it exists. |
CachedPhotoUri |
The cached photo URI of the picture associated with the phone number, if it exists. |
CallScreeningAppName |
The name of the app which blocked a call. |
CallScreeningComponentName |
The ComponentName of the CallScreeningService which blocked this call. |
ComposerPhotoUri |
A reference to the picture that was sent via call composer. |
ContentItemType |
The MIME type of a |
ContentType |
The MIME type of |
CountryIso |
The ISO 3166-1 two letters country code of the country where the user received or made the call. |
DataUsage |
The data usage of the call in bytes. |
Date |
The date the call occured, in milliseconds since the epoch |
DefaultSortOrder |
The default sort order for this table |
Duration |
The duration of the call in seconds |
ExtraCallTypeFilter |
An optional extra used with |
Features |
Bit-mask describing features of the call (e. |
FeaturesAssistedDialingUsed |
Indicates the call underwent Assisted Dialing. |
FeaturesHdCall |
Call was HD. |
FeaturesPulledExternally |
Call was pulled externally. |
FeaturesRtt |
Call was on RTT at some point |
FeaturesVideo |
Call had video. |
FeaturesVolte |
Call was VoLTE |
FeaturesWifi |
Call was WIFI call. |
GeocodedLocation |
A geocoded location for the number associated with this call. |
IsRead |
Whether this item has been read or otherwise consumed by the user. |
LastModified |
The date the row is last inserted, updated, or marked as deleted, in milliseconds since the epoch. |
LimitParamKey |
Query parameter used to limit the number of call logs returned. |
Location |
A reference to the location that was sent via call composer. |
MissedReason |
Where the |
MissedReasonNotMissed |
Value for |
New |
Whether or not the call has been acknowledged |
Number |
The phone number as the user entered it. |
NumberPresentation |
The number presenting rules set by the network. |
OffsetParamKey |
Query parameter used to specify the starting record to return. |
PhoneAccountComponentName |
The component name of the account used to place or receive the call; in string form. |
PhoneAccountId |
The identifier for the account used to place or receive the call. |
PostDialDigits |
The post-dial portion of a dialed number, including any digits dialed after a
|
PresentationAllowed |
Obsolete.
Number is allowed to display for caller id. |
PresentationPayphone |
Obsolete.
Number is a pay phone. |
PresentationRestricted |
Obsolete.
Number is blocked by user. |
PresentationUnavailable |
Obsolete.
Number is unavailable. |
PresentationUnknown |
Obsolete.
Number is not specified or unknown by network. |
Priority |
The priority of the call, as delivered via call composer. |
PriorityNormal |
Obsolete.
Used as a value in the |
PriorityUrgent |
Obsolete.
Used as a value in the |
Subject |
The subject of the call, as delivered via call composer. |
Transcription |
Transcription of the call or voicemail entry. |
Type |
The type of the call (incoming, outgoing or missed). |
UserMissedCallFiltersTimeout |
When |
UserMissedCallScreeningServiceSilenced |
When |
UserMissedDndMode |
When |
UserMissedLowRingVolume |
When |
UserMissedNoAnswer |
When |
UserMissedNoVibrate |
When |
UserMissedShortRing |
When |
ViaNumber |
For an incoming call, the secondary line number the call was received via. |
VoicemailUri |
URI of the voicemail entry. |
Properties
Class |
Returns the runtime class of this |
ContentFilterUri |
The content:// style URL for filtering this table on phone numbers |
ContentUri |
The content:// style URL for this table |
ContentUriWithVoicemail |
Content uri used to access call log entries, including voicemail records. |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PeerReference | (Inherited from Object) |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Methods
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
GetLastOutgoingCall(Context) |
Query the call log database for the last dialed number. |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |