PhoneNumberUtils.GetNumberFromIntent(Intent, Context) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從意圖中提取電話號碼。
[Android.Runtime.Register("getNumberFromIntent", "(Landroid/content/Intent;Landroid/content/Context;)Ljava/lang/String;", "")]
public static string? GetNumberFromIntent(Android.Content.Intent? intent, Android.Content.Context? context);
[<Android.Runtime.Register("getNumberFromIntent", "(Landroid/content/Intent;Landroid/content/Context;)Ljava/lang/String;", "")>]
static member GetNumberFromIntent : Android.Content.Intent * Android.Content.Context -> string
參數
- intent
- Intent
意圖是取得 的數字
- context
- Context
資料庫存取的上下文
傳回
意向者會撥打的電話號碼,或 null 是找不到該號碼時。
- 屬性
備註
從意圖中提取電話號碼。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。