class Android::Manifest::IntentFilter::Data

intent-filter data class

Attributes

host[R]

@return [String]

mime_type[R]

@return [String]

path[R]

@return [String]

path_pattern[R]

@return [String]

path_prefix[R]

@return [String]

port[R]

@return [String]

scheme[R]

@return [String]

type[R]

@return [String]

Public Class Methods

new(elem) click to toggle source
# File lib/android/manifest.rb, line 297
def initialize(elem)
  @type = 'data'
  @host = elem.attributes['host']
  @mime_type = elem.attributes['mimeType']
  @path = elem.attributes['path']
  @path_pattern = elem.attributes['pathPattern']
  @path_prefix = elem.attributes['pathPrefix']
  @port = elem.attributes['port']
  @scheme = elem.attributes['scheme']
end